Domain name for API request: teo.tencentcloudapi.com.
This API is used to modify a CLB instance.
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: ModifyLoadBalancing. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
ZoneId | Yes | String | The site ID. |
LoadBalancingId | Yes | String | The load balancer ID. |
Type | Yes | String | The proxy mode. Values:dns_only : Only DNSproxied : Proxied |
OriginGroupId | Yes | String | The ID of the primary origin group. |
BackupOriginGroupId | Yes | String | The ID of the secondary origin group (only available when Type=proxied ). If not specified, it indicates that secondary origins are not used. |
TTL | No | Integer | When Type=dns_only , it indicates the amount of time that DNS records remain in the cache of a DNS server.Value range: 60-86400 (in seconds). If it's not specified, the default value 600 will be used. |
OriginType | No | String | The origin-pull type. Values:normal : Primary/Secondary origin-pulladvanced : Advanced origin-pull (only used when Type=proxied ) |
AdvancedOriginGroups.N | No | Array of AdvancedOriginGroup | Advanced origin-pull configuration. This field is valid when OriginType=advanced .If it is left empty, this configuration is not used. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: teo.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyLoadBalancing
<Common request parameters>
{
"ZoneId": "zone-27q0p0bali16",
"LoadBalancingId": "lb-97c8396e-cb88-4c9c-98d9-38e86463d12e",
"Type": "dns_only",
"OriginGroupId": "orgin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a",
"BackupOriginGroupId": "",
"TTL": 600
}
{
"Response": {
"RequestId": "5e0a2b4e-df6d-4d2a-ac39-1706cbf8a707"
}
}
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 |
---|---|
OperationDenied | Operation denied. |
ResourceNotFound | The resource doesn’t exist. |
Was this page helpful?