Retrieves a list of regions available for cross-region backup.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeAvailableCrossRegions |
get |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
pc-xxxxxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Regions |
array |
The list of regions available for cross-region backup. |
['cn-beijing', 'cn-shanghai', 'cn-qingdao', 'cn-shenzhen', 'cn-hongkong'] |
|
string |
The region ID. |
[ "cn-beijing", "cn-hangzhou", "cn-qingdao", "cn-shenzhen", "cn-shanghai", "cn-huhehaote", "cn-zhangjiakou", "cn-hongkong" ] |
|
| RequestId |
string |
The request ID. |
D685D479-B36E-52B9-98FF-8402EA01F*** |
Examples
Success response
JSON format
{
"Regions": [
"[\n \"cn-beijing\",\n \"cn-hangzhou\",\n \"cn-qingdao\",\n \"cn-shenzhen\",\n \"cn-shanghai\",\n \"cn-huhehaote\",\n \"cn-zhangjiakou\",\n \"cn-hongkong\"\n]"
],
"RequestId": "D685D479-B36E-52B9-98FF-8402EA01F***"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.