多執行個體容災降級恢複,該介面作用是恢複其中某個執行個體的公網VIP接入,目前只支援鉑金版執行個體,需要提交工單申請
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
mq:DisasterRecovery |
update |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| InstanceId |
string |
是 |
Message QueueTT 版執行個體的 ID。 |
mqtt-cn-xxx |
| RecoveryInstanceId |
string |
是 |
需要恢複的執行個體 ID |
mqtt-cn-xxx |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
135F8639-F262-4417-98D1-4DE4595C**** |
| Code |
integer |
介面返回碼:200:表示成功。 其它:表示錯誤碼。錯誤碼詳情,請參見錯誤碼。 |
200 |
| Success |
boolean |
是否調用成功。true:調用成功。 false:調用失敗。 |
True |
| Message |
string |
調用結果資訊 |
operation success. |
| AccessDeniedDetail |
string |
訪問被拒絕詳細資料;只有校正 RAM 失敗後,欄位才會返回。 |
{} |
樣本
正常返回樣本
JSON格式
{
"RequestId": "135F8639-F262-4417-98D1-4DE4595C****",
"Code": 200,
"Success": true,
"Message": "operation success.",
"AccessDeniedDetail": "{}"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InstancePermissionCheckFailed | An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. | 執行個體許可權校正失敗,請確認MQTT執行個體的所屬關係以及授權策略。 |
| 400 | InvalidParameter.%s | An error occurred while validating the parameter. The parameter may be missing or invalid. | 參數校正失敗,可能缺失或者傳入值非法。 |
| 500 | InternalError | An error occurred while processing your request. Try again later. | MQTT後端服務異常,請重試。 |
| 404 | ApiNotSupport | The specified API is not supported. | 當前介面不支援,請檢查。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。