Domain name for API request: clb.intl.tencentcloudapi.com.
This API is used to create, delete, modify, bind, and unbind custom CLB configurations.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: SetCustomizedConfigForLoadBalancer. |
| Version | Yes | String | Common Params. The value used for this API: 2023-04-17. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| OperationType | Yes | String | Operation type. -ADD - DELETE: delete. -UPDATE: Modify -BIND: bind -UNBIND: unbound |
| ConfigId | No | String | This field is required except for creating custom configurations. Example: pz-1234abcd |
| ConfigContent | No | String | Personalized configuration content. This field is required when creating custom configuration or modifying the content of custom configuration. |
| ConfigName | No | String | This field is required when you create or modify the name of a custom configuration. |
| LoadBalancerIds.N | No | Array of String | Load balancing instance ID. This field is required for bind/unbind. |
| Tags.N | No | Array of TagInfo | Tag. |
| Parameter Name | Type | Description |
|---|---|---|
| ConfigId | String | Custom configuration ID, such as pz-1234abcd |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Creating a Personalized Configuration for CLB Instances
https://clb.intl.tencentcloudapi.com/?Action=SetCustomizedConfigForLoadBalancer
&OperationType=ADD
&ConfigContent=client_max_body_size 222M;
&ConfigName=config_test
&<Common request parameters>
{
"Response": {
"ConfigId": "pz-1234abcd",
"RequestId": "83129908-a282-4f9f-8ab-131a3025ba22"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidParameter | Parameter error. |
| InvalidParameter.FormatError | Incorrect parameter format. |
| InvalidParameter.LBIdNotFound | CLB instance ID error. |
| InvalidParameterValue | Parameter value error. |
| InvalidParameterValue.Length | Invalid parameter length. |
| LimitExceeded | The quota limit is exceeded. |
| MissingParameter | Parameters are missing. |
| UnauthorizedOperation | Unauthorized operation. |
フィードバック