Switches a disaster recovery set to a supported zone.
Operation description
Switches a disaster recovery set to a supported zone.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:AppFailOver |
update |
*Application
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
No |
The ID of the application. |
BE68D71ZY5YYIU9R |
| FailZone |
string |
No |
The destination zone for the switchover. |
cn-hangzhou-g |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request. |
9656C816-1E9A-58D2-86D5-710678D61AF1 |
| Message |
string |
The error message. |
The application has an incorrect state of the master/slave switching group. All groups must be in the state to be switched before switching! |
| Code |
string |
The return code. |
200 |
| Data |
integer |
The ID of the switchover task (TaskId). |
7441 |
Examples
Success response
JSON format
{
"RequestId": "9656C816-1E9A-58D2-86D5-710678D61AF1",
"Message": "The application has an incorrect state of the master/slave switching group. All groups must be in the state to be switched before switching!",
"Code": "200",
"Data": 7441
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.