Queries the most recent region list.

For more information, see Region IDs.

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 parameter

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 RDSRegion

Details about the regions.

RDSRegion
RegionId String ap-southeast-1

The region ID.

ZoneId String ap-southeast-1a

The ID of the zone in the region.

RequestId String D6E068C3-25BC-455A-85FE-45F0B22ECB1F

The ID of the request.

Examples

Sample requests

http(s)://cddc.aliyuncs.com/?Action=DescribeRegions
&<Common request parameters>

Sample success response

XML format

<DescribeRegionsReponse>
  <RequestId>D6E068C3-25BC-455A-85FE-45F0B22ECB1F</RequestId>
  <Regions>
        <RDSRegion>
              <ZoneId>ap-southeast-1a</ZoneId>
              <RegionId>ap-southeast-1</RegionId>
        </RDSRegion>
  </Regions>
</DescribeRegionsReponse>

JSON format

{
    "RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
    "Regions": {
        "RDSRegion": [
            {
                "ZoneId": "ap-southeast-1a",
                "RegionId": "ap-southeast-1"
            }
        ]
    }
}

Error codes

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