You can call this operation to query the available regions and zones of AnalyticDB for MySQL.


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 Yes DescribeRegions

The operation that you want to perform. Set the value to DescribeRegions.

AcceptLanguage String No zh-CN

The language used for the value to return. Default value: zh-CN. Valid values:

  • zh-CN: Chinese.
  • en-US: English.
  • ja: Japanese.

Default value: zh-CN.

Response parameters

Parameter Type Example Description
Regions Array of Region

The list of regions.

LocalName String China (Hangzhou)

The region name.

RegionEndpoint String

The endpoint of the region.

RegionId String cn-hangzhou

The region ID of the cluster.

Zones Array of Zone

The list of zones.

LocalName String Hangzhou Zone A

The name of the zone.

VpcEnabled Boolean true

Indicates whether virtual private clouds (VPCs) are supported.

ZoneId String cn-hangzhou-h

The IDs of zones.

RequestId String 1AD222E9-E606-4A42-BF6D-8A4442913CEF

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=DescribeRegions
&<Common request parameters>

Sample success responses

XML format

        <LocalName>China (Hangzhou)</LocalName>
                <ZoneName>Hangzhou Zone A</ZoneName>

JSON format

    "RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
    "Regions": {
        "Region": [
                "RegionId": "cn-hangzhou",
                "RegionEndpoint": "",
                "LocalName": "China (Hangzhou)"
                "Zones": {
                    "Zone": {
                        "VpcEnabled": true,
                        "ZoneId": "cn-hangzhou-h",
                        "LocalName": "Hangzhou Zone A"

Error codes

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