Queries the regions and zones that are supported by PolarDB.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Regions |
object |
||
| Region |
array<object> |
The list of regions. |
|
|
array<object> |
|||
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| Zones |
object |
||
| Zone |
array<object> |
The list of zones. |
|
|
object |
|||
| VpcEnabled |
boolean |
Indicates whether virtual private clouds (VPCs) are supported. |
true |
| ZoneId |
string |
The ID of the zone. |
cn-hangzhou-g |
| RequestId |
string |
The ID of the request. |
3F9E6A3B-C13E-4064-A010-18582A****** |
Examples
Success response
JSON format
{
"Regions": {
"Region": [
{
"RegionId": "cn-hangzhou",
"Zones": {
"Zone": [
{
"VpcEnabled": true,
"ZoneId": "cn-hangzhou-g"
}
]
}
}
]
},
"RequestId": "3F9E6A3B-C13E-4064-A010-18582A******"
}
Error response
JSON format
{
"Regions": {
"Region": [
{
"RegionId": "cn-beijing",
"Zones": {
"Zone": [
{
"VpcEnabled": true,
"ZoneId": "cn-beijing-e"
},
{
"VpcEnabled": true,
"ZoneId": "cn-beijing-g"
}
]
}
},
{
"RegionId": "cn-hangzhou",
"Zones": {
"Zone": [
{
"VpcEnabled": true,
"ZoneId": "cn-hangzhou-g"
}
]
}
},
{
"RegionId": "cn-shanghai",
"Zones": {
"Zone": [
{
"VpcEnabled": true,
"ZoneId": "cn-shanghai-d"
},
{
"VpcEnabled": true,
"ZoneId": "cn-shanghai-e"
}
]
}
},
{
"RegionId": "cn-shenzhen",
"Zones": {
"Zone": [
{
"VpcEnabled": true,
"ZoneId": "cn-shenzhen-e"
}
]
}
},
{
"RegionId": "cn-hongkong",
"Zones": {
"Zone": [
{
"VpcEnabled": true,
"ZoneId": "cn-hongkong-c"
}
]
}
},
{
"RegionId": "cn-huhehaote",
"Zones": {
"Zone": [
{
"VpcEnabled": true,
"ZoneId": "cn-huhehaote-a"
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.