Queries zones in a specified region.


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.

RegionId String Yes cn-hangzhou

The ID of the region where you want to query zones. You can call the DescribeRegions operation to query the most recent region list.

Response parameters

Parameter Type Example Description
RequestId String 611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F

The ID of the request.

Zones Array of Zone

The zones that are returned.

LocalName String Hangzhou Zone B

The name of the zone.

ZoneId String cn-hangzhou-b

The ID of the zone.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK

                  <LocalName>Hangzhou Zone B</LocalName>
                  <LocalName>Hangzhou Zone F</LocalName>
                  <LocalName>Hangzhou Zone G</LocalName>
                  <LocalName>Hangzhou Zone H</LocalName>
                  <LocalName>Hangzhou Zone I</LocalName>
                  <LocalName>Hangzhou Zone J</LocalName>
                  <LocalName>Hangzhou Zone K</LocalName>

JSON format

HTTP/1.1 200 OK

  "RequestId" : "6FEA0CF3-D3B9-43E5-A304-D217037876A8",
  "Zones" : {
    "Zone" : [ {
      "ZoneId" : "cn-hangzhou-b",
      "LocalName": "Hangzhou Zone B"
    }, {
      "ZoneId" : "cn-hangzhou-f",
      "LocalName": "Hangzhou Zone F"
    }, {
      "ZoneId" : "cn-hangzhou-g",
      "LocalName": "Hangzhou Zone G"
    }, {
      "ZoneId" : "cn-hangzhou-h",
      "LocalName": "Hangzhou Zone H"
    }, {
      "ZoneId" : "cn-hangzhou-i",
      "LocalName": "Hangzhou Zone I"
    }, {
      "ZoneId" : "cn-hangzhou-j",
      "LocalName": "Hangzhou Zone J"
    }, {
      "ZoneId" : "cn-hangzhou-k",
      "LocalName": "Hangzhou Zone K"
    } ]

Error codes

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