Domain name for API request: teo.tencentcloudapi.com.
This API is used to create 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: CreateLoadBalancing. |
Version | Yes | String | Common Params. The value used for this API: 2022-01-06. |
Region | No | String | Common Params. This parameter is not required for this API. |
ZoneId | Yes | String | Site ID |
Host | Yes | String | Subdomain name |
Type | Yes | String | Proxy mode. Valid values:dns_only : Only DNSproxied : Enable proxy |
OriginId.N | Yes | Array of String | ID of the origin group used |
TTL | No | Integer | Indicates DNS TTL time when Type=dns_only |
Parameter Name | Type | Description |
---|---|---|
LoadBalancingId | String | CLB instance ID |
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: CreateLoadBalancing
<Common request parameters>
{
"OriginId": [
"origin-xxx",
"origin-yyy"
],
"ZoneId": "zone-xxx",
"Host": "test.123.com",
"Type": "dns_only",
"TTL": 123
}
{
"Response": {
"RequestId": "xx",
"LoadBalancingId": "lb-xxx"
}
}
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 |
---|---|
LimitExceeded | The quota limit has been reached. |
Was this page helpful?