DescribeRegions

Updated at: 2025-01-22 03:08

Queries the regions and zones that are supported by 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.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

3F9E6A3B-C13E-4064-A010-18582A******
Regionsarray<object>

The list of regions.

Regionobject
Zonesarray<object>

The list of zones.

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

  • On this page (1)
  • Debugging
  • Authorization information
  • Request parameters
  • Response parameters
  • Examples
  • Error codes
Feedback