All Products
Search
Document Center

AnalyticDB:DescribeRegions

更新時間:Oct 11, 2024

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

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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
RegionIdstringNo

The region ID of the cluster.

Note You can call the DescribeRegions operation to query the most recent region list.
cn-shenzhen

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

421794A3-72A5-5D27-9E8B-A75A4C503E17
Regionsarray<object>

The queried regions.

Regionobject
RegionEndpointstring

The endpoint of the region.

adb.aliyuncs.com
LocalNamestring

The region name.

China (Hangzhou)
RegionIdstring

The region ID.

cn-hangzhou
Zonesarray<object>

The queried zones.

Zoneobject
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.

Change history

Change timeSummary of changesOperation
2024-07-24The request parameters of the API has changedView Change Details