Domain name for API request: region.intl.tencentcloudapi.com.
This interface (DescribeZones) is used for querying product availability zone information.
A maximum of 50 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: 2022-06-27. |
| Region | No | String | Common Params. This parameter is not required. |
| Product | Yes | String | Name of the product to be queried, such as cvm. for specific value, query the DescribeProducts api. |
| Scene | No | Integer | No input or 0 means no query [optional business allowlist], 1 means query [optional business allowlist]. if this parameter is set to 1, the allowlist will only be queried when no result is found in the business allowlist. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Number of availability zones. |
| ZoneSet | Array of ZoneInfo | Availability zone list 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. |
This example shows you how to query AZ information (Chinese Name of Availability Zone).
POST / HTTP/1.1
Host: region.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeZones
X-TC-Language: zh-CN
<Common request parameters>
{
"Product": "cvm",
"Scene": 1
}{
"Response": {
"TotalCount": 7,
"RequestId": "6c3323bd-c855-49d7-85fb-7d6e0d8e1c55",
"ZoneSet": [
{
"Zone": "ap-beijing-tez-changchun-1",
"ZoneIdMC": null,
"ZoneId": "2100080001",
"ParentZoneName": "Beijing Zone 3",
"ParentZoneId": "800003",
"ParentZone": "ap-beijing-3",
"ZoneState": "AVAILABLE",
"MachineRoomTypeMC": null,
"ZoneType": "edge-zone",
"ZoneName": "Changchun Edge Zone 1"
}
]
}
}
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 | Parameter error. |
| InvalidParameter.ParameterError | Parameter error. |
| UnsupportedOperation | The operation is not supported. |
Feedback