DescribeZones

Last Updated: Aug 22, 2017

Description

Queries data centers available.

Request Methods

Request Parameters

Name Type Required Description
Action String Yes Operation interface name, required parameter.

Value: DescribeZones

RegionId String Yes Region.

Return Parameters

Name Type Description
Public Parameters For details, refer to Public Return Parameters.
Zones List Zones in the region returned in array format. Refer to the table below for details.

Zones

Name Type Description
ZoneId String ID of a specific zone in the region.
LocalName String Chinese name of the zone.
SlaveZones List Information about slave zones returned in array format when the current zone is the master one. Refer to the table below for details.

Slave Zones

Name Type Description
ZoneId String ID of a slave zone.
LocalName String Chinese name of the slave zone.

Example

Request Example

  1. https://slb.aliyuncs.com/
  2. &Action=DescribeZones
  3. &RegionId=cn-beijing
  4. &<Public Request Parameters>

Return Example

  • XML format

    1. <?xml version="1.0" encoding="UTF-8" ?>
    2. <RequestId>A48D35FF-440A-4BC0-A4A2-A9BF69B7E43A</RequestId>
    3. <Zones>
    4. <Zone>
    5. <SlaveZones></SlaveZones>
    6. <ZoneId>cn-beijing-b</ZoneId>
    7. <LocalName> Beijing zone B</LocalName>
    8. </Zone>
    9. </Zones>
  • JSON format

    1. {
    2. "RequestId": "1FF3C0EC-588C-4872-8F86-8D88A652D1E4",
    3. "Zones": {
    4. "Zone": [
    5. {
    6. "ZoneId": "cn-beijing-b",
    7. "LocalName": "Beijing zone B",
    8. "SlaveZones":{
    9. "SlaveZone":[]
    10. }
    11. }
    12. }
    13. ]
    14. }
Thank you! We've received your feedback.