Failback
Failback.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hdr:Failback |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServerId |
string |
No |
Protected server ID |
sr-000bzkmmlwghj95tnx15 |
| RecoveryInfrastructureId |
string |
No |
Recovery site infrastructure ID |
is-0007rvzart0rz2byr2x0 |
| RecoveryInstanceName |
string |
No |
Instance name for disaster recovery |
HDR_Recovery-sr-0007rvzart0rz2bv9fzm |
| RecoveryCpu |
integer |
No |
Number of CPU cores for the disaster recovery instance |
4 |
| RecoveryMemory |
integer |
No |
Memory size for the disaster recovery instance, in MB |
4294967296 |
| RecoveryInstanceType |
string |
No |
Instance type for disaster recovery. If not specified, the system automatically selects an available instance type based on the number of CPU cores and memory size. |
ecs.c5.2xlarge |
| RecoveryNetwork |
string |
No |
VSwitch ID of the failback instance |
vsw-bp1xmea0mkjtxqoubk7q8 |
| RecoveryReserveIp |
boolean |
No |
Retain the original IP address for the failback instance |
true |
| RecoveryUseDhcp |
boolean |
No |
Use DHCP to assign an IP address to the failback instance |
false |
| RecoveryIpAddress |
string |
No |
Manually set the IP address for the failback instance |
192.168.2.2 |
| RecoveryPostScriptType |
string |
No |
Script type to run after the failback instance starts |
SHELL |
| RecoveryPostScriptContent |
string |
No |
Script content to run after the failback instance starts |
"echo \"127.0.0.1 kubernetes.docker.internal\" >> /etc/hosts" |
| RecoveryPointId |
string |
No |
Recovery point ID |
rp-0001625ljmig7ahibe0y |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Error code |
200 |
| Message |
string |
Error message |
successful |
| RequestId |
string |
Request ID. |
56CF7F68-C07B-5BE2-BE82-09D8E9719076 |
| TaskId |
string |
Task ID. |
t-0004ka624vrza82g46ne |
| Success |
boolean |
Indicates whether the request succeeded. |
True |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "56CF7F68-C07B-5BE2-BE82-09D8E9719076",
"TaskId": "t-0004ka624vrza82g46ne",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.