Domain name for API request: cynosdb.intl.tencentcloudapi.com.
This API is used to query the information of marketable regional availability zones.
A maximum of 1000 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: DescribeZones. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-07. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-beijing, ap-chengdu, ap-chongqing, ap-guangzhou, ap-hongkong, ap-jakarta, ap-nanjing, ap-seoul, ap-shanghai, ap-shenzhen-fsi, ap-singapore, ap-tokyo, eu-frankfurt, na-ashburn, na-siliconvalley, sa-saopaulo. |
| IncludeVirtualZones | No | Boolean | Whether the virtual zone is contained |
| ShowPermission | No | Boolean | Whether to display all AZs in the region and show user permissions for each availability zone |
| Parameter Name | Type | Description |
|---|---|---|
| RegionSet | Array of SaleRegion | Region information |
| 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. |
View only the availability zones that the user has permission to access.
POST / HTTP/1.1
Host: cynosdb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeZones
<Common request parameters>
{}
{
"Response": {
"RegionSet": [
{
"DbType": "MYSQL",
"Region": "ap-guangzhou",
"RegionId": 100001,
"Modules": [
{
"ModuleName": "is.disable.wan",
"IsDisable": "yes"
}
],
"RegionZh": "Guangzhou",
"ZoneSet": [
{
"PhysicalZone": "ap-guangzhou-3",
"Zone": "ap-guangzhou-3",
"IsSupportServerless": 0,
"ZoneId": 100003,
"IsSupportNormal": 0,
"ZoneZh": "Guangzhou Zone 3",
"HasPermission": true,
"IsWholeRdmaZone": "tcp",
"IsSupportCreateCluster": 1
},
{
"PhysicalZone": "ao-guangzhou-5",
"Zone": "ap-guangzhou-5",
"IsSupportServerless": 0,
"ZoneId": 100004,
"IsSupportNormal": 0,
"ZoneZh": "Guangzhou Zone 5",
"HasPermission": true,
"IsWholeRdmaZone": "whole_rdma",
"IsSupportCreateCluster": 0
}
]
},
{
"DbType": "MYSQL",
"Region": "ap-beijing",
"RegionId": 8,
"Modules": [
{
"ModuleName": "is.disable.wan",
"IsDisable": "no"
}
],
"RegionZh": "Beijing",
"ZoneSet": [
{
"PhysicalZone": "ap-beijing-5",
"Zone": "ap-beijing-5",
"IsSupportServerless": 0,
"ZoneId": 800001,
"IsSupportNormal": 0,
"ZoneZh": "Beijing Zone 5",
"HasPermission": true,
"IsWholeRdmaZone": "whole_rdma",
"IsSupportCreateCluster": 1
}
]
}
],
"RequestId": "8fa5cf5-77db-4e32-90ef-22c71ed95f51"
}
}
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.DatabaseAccessError | Database access failed. Try again later. If the issue persists, contact customer service. |
| InternalError.DbOperationFailed | Query database failed. |
| InternalError.InternalHttpServerError | http request execution error. |
| UnauthorizedOperation.PermissionDenied | CAM authentication failed. |
文档反馈