启用备份映射任务。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
rocketmq:StartDisasterRecoveryItem |
update |
*Topic
|
无 | 无 |
请求语法
POST /disaster_recovery/{planId}/items/{itemId}/start HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| planId |
integer |
是 |
备份计划 id |
1300000016 |
| itemId |
integer |
是 |
映射任务 id |
100000704 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Result |
||
| requestId |
string |
请求 ID |
C7E8AE3A-219B-52EE-BE32-4036Fxxxxx |
| success |
boolean |
是否成功 |
true |
| data |
boolean |
返回结果 |
true |
| code |
string |
错误码 |
DisasterRecoveryItemStatus.Error |
| message |
string |
错误信息 |
The current status of the disaster recovery item does not support this operation. |
| httpStatusCode |
integer |
HTTP 状态码 |
200 |
| dynamicCode |
string |
动态错误码 |
InstanceId |
| dynamicMessage |
string |
动态错误信息 |
InstanceId |
| accessDeniedDetail |
string |
访问拒绝详细信息,有且仅有在因 RAM 无权限拒绝用户访问的场景 |
xxx |
示例
正常返回示例
JSON格式
{
"requestId": "C7E8AE3A-219B-52EE-BE32-4036Fxxxxx",
"success": true,
"data": true,
"code": "DisasterRecoveryItemStatus.Error",
"message": "The current status of the disaster recovery item does not support this operation.",
"httpStatusCode": 200,
"dynamicCode": "InstanceId",
"dynamicMessage": "InstanceId",
"accessDeniedDetail": "xxx"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。