Retrieves the details of a disaster recovery plan.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
alidns:DescribeGtmRecoveryPlan | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Lang | string | No | The language of the response. Valid values:
Default: en | en |
RecoveryPlanId | integer | Yes | The ID of the disaster recovery plan. You can call DescribeGtmRecoveryPlans to obtain the ID. | 10***** |
Response elements
Element | Type | Description | Example |
object | |||
Status | string | The status of the disaster recovery plan:
| UNEXECUTED |
LastRollbackTime | string | The time when the disaster recovery plan was last rolled back. The value is a string that represents a UNIX timestamp. | 1565505919000 |
FaultAddrPoolNum | integer | The number of abnormal address pools. | 2 |
| FaultAddrPools | object | ||
| FaultAddrPool | array<object> | The list of abnormal address pools. | |
object | The list of abnormal address pools. | ||
| Addrs | object | ||
| Addr | array<object> | The list of addresses. | |
object | The list of addresses. | ||
Value | string | The address. | 1.1.XX.XX |
Mode | string | The address mode:
| SMART |
Id | integer | The address ID. | 73** |
AddrPoolId | string | The ID of the address pool. | hra0** |
InstanceId | string | The instance ID. | gtm-cn-zz11t58**** |
AddrPoolName | string | The name of the address pool. | Stress Test-Failover-1 |
LastExecuteTime | string | The time when the disaster recovery plan was last executed. | 2019-08-11T05:04Z |
RequestId | string | The request ID. | 0A5F4315-D6E8-435E-82DF-24F4C97D6999 |
CreateTime | string | The time when the disaster recovery plan was created. | 2019-08-11T05:04Z |
LastExecuteTimestamp | integer | The time when the disaster recovery plan was last executed. This value is a UNIX timestamp. | 1565505898000 |
Remark | string | The remarks. | remark-example |
Name | string | The name of the disaster recovery plan. | name-example |
RecoveryPlanId | integer | The ID of the disaster recovery plan. | 10**** |
UpdateTime | string | The time when the disaster recovery plan was last updated. | 2024-03-29T13:20Z |
UpdateTimestamp | integer | The time when the disaster recovery plan was last updated. This value is a UNIX timestamp. | 1565505898000 |
LastRollbackTimestamp | integer | The time when the disaster recovery plan was last rolled back. This value is a UNIX timestamp. | 1565505898000 |
CreateTimestamp | integer | The time when the disaster recovery plan was created. This value is a UNIX timestamp. | 1565499867000 |
Examples
Success response
JSON format
{
"Status": "UNEXECUTED",
"LastRollbackTime": "1565505919000",
"FaultAddrPoolNum": 2,
"FaultAddrPools": {
"FaultAddrPool": [
{
"Addrs": {
"Addr": [
{
"Value": "1.1.XX.XX",
"Mode": "SMART",
"Id": 0
}
]
},
"AddrPoolId": "hra0**",
"InstanceId": "gtm-cn-zz11t58****",
"AddrPoolName": "压测-Failover-1"
}
]
},
"LastExecuteTime": "2019-08-11T05:04Z",
"RequestId": "0A5F4315-D6E8-435E-82DF-24F4C97D6999",
"CreateTime": "2019-08-11T05:04Z",
"LastExecuteTimestamp": 1565505898000,
"Remark": "remark-example",
"Name": "name-example",
"RecoveryPlanId": 0,
"UpdateTime": "2024-03-29T13:20Z",
"UpdateTimestamp": 1565505898000,
"LastRollbackTimestamp": 1565505898000,
"CreateTimestamp": 1565499867000
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.