All Products
Search
Document Center

PolarDB:DescribeRegions

Last Updated:Jun 17, 2024

Queries the regions and zones available for PolarDB.

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
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

3F9E6A3B-C13E-4064-A010-18582A******
Regionsobject []

The list of regions.

Zonesobject []

The list of zones.

ZoneIdstring

The ID of the zone.

cn-hangzhou-g
VpcEnabledboolean

Indicates whether virtual private clouds (VPCs) are supported.

true
RegionIdstring

The ID of the region.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "3F9E6A3B-C13E-4064-A010-18582A******",
  "Regions": {
    "Region": [
      {
        "Zones": {
          "Zone": [
            {
              "ZoneId": "cn-hangzhou-g",
              "VpcEnabled": true
            }
          ]
        },
        "RegionId": "cn-hangzhou"
      }
    ]
  }
}

Error codes

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