Queries the zones where EDS is available in a region.

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.

ZoneType String No AvailabilityZone

The type of the zone. Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.

Response parameters

Parameter Type Example Description
RequestId String 5BEFE642-A383-4A18-8939-FB7DE4526F65

The ID of the request.

Zones Array of Zone

Details about zones.

ZoneId String cn-hangzhou-h

The ID of the zone.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=DescribeZones
&RegionId=cn-hangzhou
&ZoneType=AvailabilityZone
&<Common request parameters>

Sample responses

XML format

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

<DescribeZonesResponse>
    <RequestId>5BEFE642-A383-4A18-8939-FB7DE4526F65</RequestId>
    <Zones>
        <ZoneId>cn-hangzhou-h</ZoneId>
    </Zones>
</DescribeZonesResponse>

JSON format

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

{
  "RequestId" : "5BEFE642-A383-4A18-8939-FB7DE4526F65",
  "Zones" : [ {
    "ZoneId" : "cn-hangzhou-h"
  } ]
}