Queries the regions and zones where you can create AnalyticDB for PostgreSQL instances.
Operation description
Before you create an AnalyticDB for PostgreSQL instance, call this operation to query the available regions and zones.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Region |
string |
No |
The region ID. Note
You can call the DescribeRegions operation to query available region IDs. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
FF8EB261-5447-4B1B-9F14-294CEA008A9F |
| Regions |
object |
||
| Region |
array<object> |
The list of regions. |
|
|
array<object> |
Details of the region. |
||
| Zones |
object |
||
| Zone |
array<object> |
The list of zones. |
|
|
object |
Details of the zone. |
||
| ZoneId |
string |
The zone ID. |
cn-hangzhou-c |
| VpcEnabled |
boolean |
Indicates whether a VPC is available in the zone. Valid values:
|
true |
| RegionId |
string |
The region ID. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "FF8EB261-5447-4B1B-9F14-294CEA008A9F",
"Regions": {
"Region": [
{
"Zones": {
"Zone": [
{
"ZoneId": "cn-hangzhou-c",
"VpcEnabled": true
}
]
},
"RegionId": "cn-hangzhou"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.