edit-icon download-icon

DescribeRegions

Last Updated: Apr 13, 2018

Description

Query the list of regions.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: DescribeRegions

Response parameters

Name Type Description
RequestId String The ID of the request.
Regions JSON string

An array of regions.

For more information, see RegionType.

Error codes

See VPC API Error Center.

Examples

Request example

  1. https://vpc.aliyuncs.com/?Action=DescribeRegions
  2. &<CommonParameters>

Response example

XML format

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <DescribeRegionsResponse>
  3. <RequestId>611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F</RequestId>
  4. <Regions>
  5. <Region>
  6. <RegionId>cn-hangzhou </RegionId>
  7. </Region>
  8. <Region>
  9. <RegionId>cn-qingdao</RegionId>
  10. </Region>
  11. </Regions>
  12. </DescribeRegionsResponse>

JSON format

  1. {
  2. "RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
  3. "Regions": {
  4. "Region": [{
  5. "RegionId": "cn-hangzhou "
  6. },
  7. {
  8. "RegionId": "cn-qingdao"
  9. }]
  10. }
  11. }
Thank you! We've received your feedback.