Queries region IDs and zone IDs that are available in ApsaraDB for MyBase.

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 parameters

Parameter Type Required Example Description
Action String No 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 available regions.

RDSRegion
RegionId String ap-southeast-1

The ID of the region.

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 responses

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.