将容灾集切换至支持的可用区。
接口说明
将容灾集切换至支持的可用区。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
bpstudio:AppFailOver |
update |
*Application
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
ApplicationId |
string |
否 |
应用 ID |
BE68D71ZY5YYIU9R |
FailZone |
string |
否 |
容灾切换目标可用区 |
cn-hangzhou-g |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
返回数据 |
||
RequestId |
string |
请求 ID |
9656C816-1E9A-58D2-86D5-710678D61AF1 |
Message |
string |
报错信息 |
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 |
返回码 |
200 |
Data |
integer |
容灾切换任务 ID(TaskId) |
7441 |
示例
正常返回示例
JSON
格式
{
"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
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?