Description

Show 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 more information, see Public parameters.
Regions List<RDSRegion> Returned region list.

RDSRegion

Name Type Description
RegionId String Data center.
ZoneId String Zone.

Request example

https://rds.aliyuncs.com/?Action=DescribeRegions
&<Public Request Parameters>

Response example

XML format

<DescribeRegionsResponse>
 <Regions>
  <RDSRegion>
<RegionId>cn-hangzhou</RegionId>
<ZoneId>cn-hangzhou-a</RegionId>
  </RDSRegion>
  <RDSRegion>
<RegionId>cn-hangzhou</RegionId>
<ZoneId>cn-hangzhou-b</ZoneId>
  </RDSRegion>
  <RDSRegion>
<RegionId>cn-qingdao</RegionId>
<ZoneId>cn-qingdao-a</ZoneId>
</Rdsregion>
  <RDSRegion>
<RegionId>cn-beijing</RegionId>
<ZoneId>cn-beijing-a</ZoneId>
  </RDSRegion>
  <RDSRegion>
<RegionId>cn-hongkong</RegionId>
<ZoneId>cn-hongkong-a</ZoneId>
  </RDSRegion>
  <RDSRegion>
<RegionId>cn-shenzhen</RegionId>
<ZoneId>cn-shenzhen-a</ZoneId>
  </RDSRegion>
</Regions>
<RequestId> </RequestId>
</DescribeRegionsResponse>

JSON format


    "Regions": {
      "RDSRegion": [
        {"RegionId": "cn-hangzhou","ZoneId":"cn-hangzhou-a"}, 
        {"RegionId": "cn-hangzhou","ZoneId":"cn-hangzhou-b"},
        { "RegionId": "cn-qingdao","ZoneId":"cn-qingdao-b"}, 
        {"RegionId": "cn-beijing","ZoneId": "cn-beijing-a"}, 
        { "RegionId": "cn-hongkong","ZoneId": "cn-hongkong-a"}, 
        
      
 
    "RequestId": "A36D9720-7902-42A4-B8B9-014A2135E6C3"