Domain name for API request: sqlserver.intl.tencentcloudapi.com.
This API is used to query purchasable regions.
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: DescribeRegions. |
Version | Yes | String | Common Params. The value used for this API: 2018-03-28. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Total number of regions returned |
RegionSet | Array of RegionInfo | Region information array |
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. |
https://sqlserver.intl.tencentcloudapi.com/?Action=DescribeRegions
&<Common request parameters>
{
"Response": {
"RequestId": "9b0beca5-f3ea-44d3-97de-ec8f02effaea",
"TotalCount": 9,
"RegionSet": [
{
"Region": "ap-hongkong",
"RegionName": "Hong Kong (China)",
"RegionId": 5,
"RegionState": "AVAILABLE"
},
{
"Region": "ap-shanghai-fsi",
"RegionName": "Shanghai Finance",
"RegionId": 7,
"RegionState": "AVAILABLE"
},
{
"Region": "ap-shantou",
"RegionName": "Shantou",
"RegionId": 2,
"RegionState": "UNAVAILABLE"
},
{
"Region": "ap-tianjin",
"RegionName": "Tianjin",
"RegionId": 3,
"RegionState": "UNAVAILABLE"
},
{
"Region": "na-toronto",
"RegionName": "North America",
"RegionId": 6,
"RegionState": "UNAVAILABLE"
},
{
"Region": "ap-beijing",
"RegionName": "Beijing",
"RegionId": 8,
"RegionState": "AVAILABLE"
},
{
"Region": "ap-shenzhen-fsi",
"RegionName": "Shenzhen Finance",
"RegionId": 11,
"RegionState": "AVAILABLE"
},
{
"Region": "ap-guangzhou",
"RegionName": "Guangzhou",
"RegionId": 1,
"RegionState": "AVAILABLE"
},
{
"Region": "ap-shanghai",
"RegionName": "Shanghai",
"RegionId": 4,
"RegionState": "AVAILABLE"
}
]
}
}
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.DBError | Database error. |
InternalError.DBError | Database error |
InternalError.SystemError | System error. |
InvalidParameter.InputIllegal | Input error. |
InvalidParameter.ParamsAssertFailed | An error occurred while converting parameter assertion. |
InvalidParameterValue.IllegalRegion | Invalid region. |
UnauthorizedOperation.PermissionDenied | CAM authentication error. |
Was this page helpful?