Domain name for API request: ga2.intl.tencentcloudapi.com.
This API is used to create an acceleration region.
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: CreateAccelerateAreas. |
| Version | Yes | String | Common Params. The value used for this API: 2025-01-15. |
| Region | No | String | Common Params. This parameter is not required. |
| GlobalAcceleratorId | Yes | String | Global acceleration instance ID. |
| AcceleratorAreas.N | Yes | Array of AcceleratorAreas | Acceleration region info. Up to 10 acceleration region groups can be created at a time. |
| Parameter Name | Type | Description |
|---|---|---|
| TaskId | String | Asynchronous task ID. |
| 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. |
POST / HTTP/1.1
Host: ga2.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateAccelerateAreas
<Common request parameters>
{
"GlobalAcceleratorId": "ga-80bzejka",
"AcceleratorAreas": [
{
"AccelerateRegion": "ap-guangzhou",
"Bandwidth": 13
}
]
}
{
"Response": {
"RequestId": "dfbf77c2-5852-4ae3-b44a-fa6a5fd98b23",
"TaskId": "5d1c5e75-a83b-49b4-be26-5bb3d2a376e8"
}
}
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 |
|---|---|
| InvalidParameter.InputRepeat | The input parameter %(key)s in the request has duplicate values. |
| InvalidParameterValue.Range | The value %(value)s of the parameter %(parameter)s must be within the range %(value_range)s. |
| InvalidParameterValue.ThirdAreaListenerPortSegment | Currently, the global acceleration instance does not support configuring listener port ranges for third-party nodes. |
| LimitExceeded | The quota limit is exceeded. |
| UnsupportedOperation.AccelerateRegionRepeat | Acceleration region %(value)s already exists. |
| UnsupportedOperation.ExistAcceptAclPolicy | A default access control policy that permits all traffic through the access channel exists. The current operation is not supported. |
| UnsupportedOperation.ExistDropAcceptAclRule | An access rule with a deny policy is configured. The current operation is not supported. |
| UnsupportedOperation.InstanceStateNotAllowedOperate | Current instance status does not allow this operation. |
| UnsupportedOperation.NotSetCrossBorderType | The global acceleration instance has no cross-border type set. Cross-border acceleration regions or terminal node groups cannot be created. |
| UnsupportedOperation.ThirdAreaHavePortEqualListener | |
| UnsupportedOperation.ThreeNetworksAccelerateAreas | Creation of a triple-network acceleration region is not supported. |
| UnsupportedOperation.UnableCreateThirdPartyNodes | Creation of third-party nodes is not supported. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários