Calls the DescribeRegions operation to retrieve the list of regions.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The error code. |
200 |
| Message |
string |
The error message. |
success |
| RequestId |
string |
The request ID. |
C458B1E8-1683-3645-B154-6BA32080EEA |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrorCode |
integer |
The error code. |
200 |
| Regions |
object |
||
| Region |
array<object> |
The list of regions. |
|
|
array<object> |
|||
| SupportPolarx10 |
boolean |
Indicates whether PolarDB-X 1.0 is supported. |
true |
| SupportPolarx20 |
boolean |
Indicates whether PolarDB-X 2.0 is supported. |
true |
| RegionId |
string |
The instance ID. |
ch-hangzhou |
| Zones |
object |
||
| Zone |
array<object> |
The list of zones. |
|
|
object |
|||
| ZoneId |
string |
The zone ID. |
cn-hangzhou-a |
| VpcEnabled |
boolean |
Indicates whether VPC is supported. |
true |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "C458B1E8-1683-3645-B154-6BA32080EEA",
"Success": true,
"ErrorCode": 200,
"Regions": {
"Region": [
{
"SupportPolarx10": true,
"SupportPolarx20": true,
"RegionId": "ch-hangzhou",
"Zones": {
"Zone": [
{
"ZoneId": "cn-hangzhou-a",
"VpcEnabled": true
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.