All Products
Search
Document Center

AnalyticDB:DescribeRegions

Last Updated:Dec 05, 2024

Queries a list of regions and zones in which AnalyticDB for MySQL Data Lakehouse Edition (V3.0) is available.

Operation description

For information about the endpoints of AnalyticDB for MySQL, see Endpoints .

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

The language that is used for the region and zone names indicated by the LocalName parameter in the response parameters. Valid values:

  • zh-CN (default): simplified Chinese.
  • en-US: English.
  • ja: Japanese.
en-US

Response parameters

ParameterTypeDescriptionExample
object
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 name of the region.

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 name of the zone.

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
2022-09-15Add OperationView Change Details