You can call this operation to query the regions where Elastic Desktop Service (EDS) is available.

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 DescribeRegions

The operation that you want to perform. Set the value to DescribeRegions.

Response parameters

Parameter Type Example Description
Regions Array of Region

The list of regions.

RegionEndpoint String ecd.cn-hangzhou.aliyuncs.com

The endpoint of the region.

RegionId String cn-hangzhou

The ID of the region.

RequestId String B8D6DCD0-226F-4E64-8768-D24942040101

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=DescribeRegions
&<Common request parameters>

Sample success responses

XML format

<DescribeRegionsResponse>
      <RequestId>B8D6DCD0-226F-4E64-8768-D24942040101</RequestId>
      <Regions>
            <RegionId>cn-hangzhou</RegionId>
            <RegionEndpoint>ecd.cn-hangzhou.aliyuncs.com</RegionEndpoint>
      </Regions>
      <Regions>
            <RegionId>cn-shanghai</RegionId>
            <RegionEndpoint>ecd.cn-shanghai.aliyuncs.com</RegionEndpoint>
      </Regions>
      <Regions>
            <RegionId>cn-beijing</RegionId>
            <RegionEndpoint>ecd.cn-beijing.aliyuncs.com</RegionEndpoint>
      </Regions>
      <Regions>
            <RegionId>cn-shenzhen</RegionId>
            <RegionEndpoint>ecd.cn-shenzhen.aliyuncs.com</RegionEndpoint>
      </Regions>
</DescribeRegionsResponse>

JSON format

{
	"RequestId": "B8D6DCD0-226F-4E64-8768-D24942040101",
	"Regions": [
		{
			"RegionId": "cn-hangzhou",
			"RegionEndpoint": "ecd.cn-hangzhou.aliyuncs.com"
		},
		{
			"RegionId": "cn-shanghai",
			"RegionEndpoint": "ecd.cn-shanghai.aliyuncs.com"
		},
		{
			"RegionId": "cn-beijing",
			"RegionEndpoint": "ecd.cn-beijing.aliyuncs.com"
		},
		{
			"RegionId": "cn-shenzhen",
			"RegionEndpoint": "ecd.cn-shenzhen.aliyuncs.com"
		}
	]
}

Error codes

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