DescribeZones

Last Updated: Mar 05, 2018

Description

Query available active/standby zones in the specified region.

Request parameter

Name Type Required Description
Action String Yes

The action to perform. Valid value:

DescribeZones

RegionId String Yes The ID of the region to query.

Response parameter

Name Type Description
RequestId String The ID of the request.
Zones List The list of available zones.
Zones objects
ZoneId String The ID of the active zone.
LocalName String The name of the active zone.
SlaveZones List The list of the standby zones.
SlaveZones objects
ZoneId String The ID of the standby zone.
LocalName String The name of the standby zone.

Example

Request example

  1. https://slb.aliyuncs.com/?Action=DescribeZones
  2. &RegionId=cn-beijing
  3. &<CommonParameters>

Response example

  • XML format

    1. <?xml version="1.0" encoding="UTF-8" ?>
    2. <RequestId>42FBCFB4-D6EF-4A69-A306-46EC5B156AE4</RequestId>
    3. <Zones>
    4. <Zone>
    5. <SlaveZones>
    6. <SlaveZone>
    7. <ZoneId>cn-hangzhou-d</ZoneId>
    8. <LocalName>China North 1 Hangzhou Zone D</LocalName>
    9. </SlaveZone>
    10. </SlaveZones>
    11. <ZoneId>cn-hangzhou-b</ZoneId>
    12. <LocalName>China North 1 Zone B</LocalName>
    13. </Zone>
    14. <Zone>
    15. <SlaveZones>
    16. <SlaveZone>
    17. <ZoneId>cn-hangzhou-e</ZoneId>
    18. <LocalName>China North 1 Zone E</LocalName>
    19. </SlaveZone>
    20. </SlaveZones>
    21. <ZoneId>cn-hangzhou-f</ZoneId>
    22. <LocalName>China North 1 Zone F</LocalName>
    23. </Zone>
    24. </Zones>
  • JSON format

    1. {
    2. "RequestId": "42FBCFB4-D6EF-4A69-A306-46EC5B156AE4",
    3. "Zones": {
    4. "Zone": [
    5. {
    6. "SlaveZones": {
    7. "SlaveZone": [
    8. {
    9. "ZoneId": "cn-hangzhou-d",
    10. "LocalName": "China North 1 Zone D"
    11. }
    12. ]
    13. },
    14. "ZoneId": "cn-hangzhou-b",
    15. "LocalName": "China North 1 Zone B"
    16. },
    17. {
    18. "SlaveZones": {
    19. "SlaveZone": [
    20. {
    21. "ZoneId": "cn-hangzhou-e",
    22. "LocalName": "China North 1 Zone E"
    23. }
    24. ]
    25. },
    26. "ZoneId": "cn-hangzhou-f",
    27. "LocalName": "China North 1 Zone F"
    28. }
    29. ]
    30. }
    31. }
Thank you! We've received your feedback.