Previews a disaster recovery plan.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
alidns:PreviewGtmRecoveryPlan | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Lang | string | No | The language of the response. Valid values: zh: Chinese en: English Default: en | en |
RecoveryPlanId | integer | Yes | The ID of the disaster recovery plan.You can call the DescribeGtmRecoveryPlans operation to obtain the ID. | 10** |
PageNumber | integer | No | The page number. The value starts from 1. Default: 1. | 1 |
PageSize | integer | No | The number of entries per page. Maximum value: 20. Default: 5. | 5 |
Response elements
Element | Type | Description | Example |
object | |||
PageSize | integer | The number of entries returned per page. Maximum value: 100. Default: 20. | 5 |
RequestId | string | The unique request ID. | 853805EA-3D47-47D5-9A1A-A45C24313ABD |
PageNumber | integer | The page number. The value starts from 1. Default: 1. | 1 |
| Previews | object | ||
| Preview | array<object> | The preview of the disaster recovery plan execution. | |
object | |||
InstanceId | string | The instance ID. | gtm-cn-wwo3a3hbz** |
| SwitchInfos | object | ||
| SwitchInfo | array<object> | The switch information. | |
object | |||
StrategyName | string | The policy name. | hrb5ju |
Content | string | The formatted message. | Fail over from Default Address Pool 1 to Backup Address Pool 1. |
Name | string | The instance name. | name-example |
UserDomainName | string | The custom domain name. | example.com |
TotalPages | integer | The total number of pages. | 3 |
TotalItems | integer | The total number of entries. | 15 |
Examples
Success response
JSON format
{
"PageSize": 5,
"RequestId": "853805EA-3D47-47D5-9A1A-A45C24313ABD",
"PageNumber": 1,
"Previews": {
"Preview": [
{
"InstanceId": "gtm-cn-wwo3a3hbz**",
"SwitchInfos": {
"SwitchInfo": [
{
"StrategyName": "hrb5ju",
"Content": "默认地址池(默认地址池1)切换备用地址池(备用地址池1)"
}
]
},
"Name": "name-example",
"UserDomainName": "example.com"
}
]
},
"TotalPages": 3,
"TotalItems": 15
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.