StartDisasterRecoveryItem - 啟用備份映射任務
啟用備份映射任務。
調試
您可以在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"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。