資源轉組
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
POST /webapi/resourceGroup/change HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| NewResourceGroupId |
string |
是 |
目標資源群組 |
rg-acfnsjj5tgai4wi |
| RegionId |
string |
否 |
地區 Id |
cn-beijing |
| ResourceType |
string |
否 |
資源類型定義。 |
instance |
| ResourceId |
string |
否 |
資源 ID。 |
c-xxx |
| ResourceGroupId |
string |
否 |
資源群組 id |
rg-123xxx |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| HttpStatusCode |
integer |
HTTP 要求狀態代碼。 |
200 |
| RequestId |
string |
請求 ID。 |
ABCD-1234-5678-EFGH |
| Success |
boolean |
請求是否成功 |
true |
| ErrCode |
string |
錯誤碼 |
Instance.NotFound |
| ErrMessage |
string |
錯誤資訊 |
Failed to find instance c-123xxx |
| Data |
boolean |
返回資料。 |
true |
| AccessDeniedDetail |
string |
AccessDeniedDetail |
None |
樣本
正常返回樣本
JSON格式
{
"HttpStatusCode": 200,
"RequestId": "ABCD-1234-5678-EFGH",
"Success": true,
"ErrCode": "Instance.NotFound",
"ErrMessage": "Failed to find instance c-123xxx",
"Data": true,
"AccessDeniedDetail": "None"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。