You can call this operation to query the zones where Elastic Desktop Service (EDS) is available 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.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

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

The ID of the request.

Zones Array of Zone

The list of 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
&<Common request parameters>

Sample success responses

XML format

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

JSON format

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

Error codes

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