All Products
Search
Document Center

PolarDB:DescribeRegions

Last Updated:Nov 07, 2023

Queries the regions and zones available for PolarDB.

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.

debugging

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.