All Products
Search
Document Center

AnalyticDB for MySQL:DescribeRegions

Last Updated:Mar 15, 2024

Queries a list of available regions and zones for AnalyticDB for MySQL.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

Th language of the LocalName response parameter. Valid values:

  • zh-CN: Chinese.
  • en-US: English.
  • ja: Japanese.
Note If you do not specify this parameter, the Chinese language is used.
en-US

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

421794A3-72A5-5D27-9E8B-A75A4C503E17
Regionsobject []

The queried regions.

RegionEndpointstring

The endpoint of the region.

adb.aliyuncs.com
LocalNamestring

The region name.

China (Hangzhou)
RegionIdstring

The region ID.

cn-hangzhou
Zonesobject []

The queried zones.

ZoneIdstring

The zone ID.

cn-hangzhou-h
VpcEnabledboolean

Indicates whether Virtual Private Cloud (VPC) is supported in the zone. Valid values:

  • true
  • false
true
LocalNamestring

The zone name.

Hangzhou Zone H

Examples

Sample success responses

JSONformat

{
  "RequestId": "421794A3-72A5-5D27-9E8B-A75A4C503E17",
  "Regions": {
    "Region": [
      {
        "RegionEndpoint": "adb.aliyuncs.com",
        "LocalName": "China (Hangzhou)",
        "RegionId": "cn-hangzhou",
        "Zones": {
          "Zone": [
            {
              "ZoneId": "cn-hangzhou-h",
              "VpcEnabled": true,
              "LocalName": "Hangzhou Zone H"
            }
          ]
        }
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.