All Products
Search
Document Center

AnalyticDB:DescribeRegions

更新時間:Dec 20, 2024

Queries a list of regions and zones where AnalyticDB for PostgreSQL is available.

Operation description

Before you create an AnalyticDB for PostgreSQL instance, you must call this operation to query available regions and zones.

Limit

You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered and may affect your business. We recommend that you take note of the limit when you call this operation.

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
RegionstringNo

The ID of the region.

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

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

FF8EB261-5447-4B1B-9F14-294CEA008A9F
Regionsarray<object>

Details of the regions.

Regionobject
Zonesarray<object>

Details of the zones.

Zoneobject
ZoneIdstring

The ID of the zone.

cn-hangzhou-c
VpcEnabledboolean

Indicates whether Virtual Private Cloud (VPC) is available.

  • true: VPC is available.
  • false: VPC is unavailable.
true
RegionIdstring

The ID of the region.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "FF8EB261-5447-4B1B-9F14-294CEA008A9F",
  "Regions": {
    "Region": [
      {
        "Zones": {
          "Zone": [
            {
              "ZoneId": "cn-hangzhou-c",
              "VpcEnabled": true
            }
          ]
        },
        "RegionId": "cn-hangzhou"
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-09-11The internal configuration of the API is changed, but the call is not affectedView Change Details