Viewing RDS region and zone information

Last Updated: May 27, 2016

Description

Shows the selectable RDS regions and zones. Before calling the CreateInstance interface, use this interface to view RegionId.

Request parameters

Name Type Required? Description
Action String Yes DescribeRegions

Return parameters

Name Type Description
<Public Return Parameters> - For details, refer to the Appendix.
Regions List<RDSRegion> Returned region list

RDS region

Name Type Description
RegionId String Data center
ZoneId String Zone

Example

  • Request example
  1. https://rds.aliyuncs.com/?Action=DescribeRegions
  2. &<Public Request Parameters>
  • Return example

XML format:

  1. <DescribeRegionsResponse>
  2. <Regions>
  3. <RDSRegion>
  4. <RegionId>cn-hangzhou</RegionId>
  5. <ZoneId>cn-hangzhou-a</RegionId>
  6. </RDSRegion>
  7. <RDSRegion>
  8. <RegionId>cn-hangzhou</RegionId>
  9. <ZoneId>cn-hangzhou-b</ZoneId>
  10. </RDSRegion>
  11. <RDSRegion>
  12. <RegionId>cn-qingdao</RegionId>
  13. <ZoneId>cn-qingdao-a</ZoneId>
  14. </RDSRegion>
  15. <RDSRegion>
  16. <RegionId>cn-beijing</RegionId>
  17. <ZoneId>cn-beijing-a</ZoneId>
  18. </RDSRegion>
  19. <RDSRegion>
  20. <RegionId>cn-hongkong</RegionId>
  21. <ZoneId>cn-hongkong-a</ZoneId>
  22. </RDSRegion>
  23. <RDSRegion>
  24. <RegionId>cn-shenzhen</RegionId>
  25. <ZoneId>cn-shenzhen-a</ZoneId>
  26. </RDSRegion>
  27. </Regions>
  28. <RequestId>A36D9720-7902-42A4-B8B9-014A2135E6C3</RequestId>
  29. </DescribeRegionsResponse>

JSON format:

  1. {
  2. "Regions": {
  3. "RDSRegion": [
  4. {"RegionId": "cn-hangzhou","ZoneId":"cn-hangzhou-a"},
  5. {"RegionId": "cn-hangzhou","ZoneId":"cn-hangzhou-b"},
  6. { "RegionId": "cn-qingdao","ZoneId":"cn-qingdao-b"},
  7. {"RegionId": "cn-beijing","ZoneId": "cn-beijing-a"},
  8. { "RegionId": "cn-hongkong","ZoneId": "cn-hongkong-a"},
  9. {"RegionId": "cn-shenzhen","ZoneId": "cn-shenzhen-a"}
  10. ]
  11. },
  12. "RequestId": "A36D9720-7902-42A4-B8B9-014A2135E6C3"
  13. }
Thank you! We've received your feedback.