調用本介面將資源進行轉組。
介面說明
調用該介面將資源轉移至另一個資源群組下。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
vod:ChangeResourceGroup |
update |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ResourceType |
string |
否 |
資源類型 |
AppInfo |
| ResourceId |
string |
是 |
資源 Id |
app-xxxxxxx |
| ResourceRegionId |
string |
是 |
地區 Id |
cn-shanghai |
| ResourceGroupId |
string |
是 |
目標資源群組 |
rg-aekzko7fsuj**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
25818875-5F78-4A*****F6-D7393642CA58 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | NoPermission.ChangeResourceGroup | You are not authorized to change resourcegroup | |
| 400 | MissingParameter.ResourceRegionId | The ResourceRegionId parameters that are required for processing this request are missing | |
| 400 | MissingParameter.ResourceId | The ResourceId parameters that are required for processing this request are missing | |
| 400 | MissingParameter.ResourceGroupId | The ResourceGroupId parameters that are required for processing this request are missing | |
| 400 | InvalidResourceGroup | The specified ResourceGroupId is invalid | |
| 400 | SystemError | A system error occurred while processing your request | |
| 400 | ResourceNotFound | The specified resource is not found |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。