Queries zones in a region.

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 DescribeZones

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

Response parameters

Parameter Type Example Description
RequestId String 593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3

The ID of the request.

Zones Array of Zone

The zones.

LocalName String Hangzhou Zone G

The name of the zone.

ZoneId String cn-hangzhou-g

The ID of the zone.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeZones
&<Common request parameters>

Sample success responses

XML format

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

<DescribeZonesResponse>
    <RequestId>593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3</RequestId>
    <Zones>
        <LocalName>Hangzhou Zone G</LocalName>
        <ZoneId>cn-hangzhou-g</ZoneId>
    </Zones>
</DescribeZonesResponse>

JSON format

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

{
  "RequestId" : "593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3",
  "Zones" : [ {
    "LocalName": "Hangzhou Zone G"
    "ZoneId" : "cn-hangzhou-g"
  } ]
}

Error codes

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