Queries the information about zones in a region or a specific zone.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeResolverAvailableZones

The operation that you want to perform. Set the value to DescribeResolverAvailableZones.

Lang String No en

The language.

ResolverRegionId String Yes cn-zhangjiakou

The ID of the region.

AzId String No cn-zhangjiakou-a

The ID of the zone.

Response parameters

Parameter Type Example Description
RequestId String 23268E49-0C3E-4A2C-AB70-B4C7D092470B

The ID of the request.

AvailableZones Array of AvailableZone

The information about each queried zone.

Status String NORMAL

The status of resources in the zone. Valid values:

  • NORMAL: The resources are in a normal state.
  • SOLD_OUT: The resources are sold out.
AzId String cn-zhangjiakou-a

The ID of the zone.

Examples

Sample request

http(s)://pvtz.aliyuncs.com/?Action=DescribeResolverAvailableZones
&Lang=en
&ResolverRegionId=cn-zhangjiakou
&AzId=cn-zhangjiakou-a
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<RequestId>23268E49-0C3E-4A2C-AB70-B4C7D092470B</RequestId>
<AvailableZones>
    <Status>NORMAL</Status>
    <AzId>cn-zhangjiakou-a</AzId>
</AvailableZones>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "23268E49-0C3E-4A2C-AB70-B4C7D092470B",
  "AvailableZones" : [ {
    "Status" : "NORMAL",
    "AzId" : "cn-zhangjiakou-a"
  } ]
}

Error codes

For a list of error codes, visit the API Error Center.