資源轉組。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
apig:ChangeResourceGroup |
none |
*全部資源
|
無 | 無 |
請求文法
POST /move-resource-group HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Service |
string |
否 |
服務名稱,固定值 apig |
apig |
| ResourceType |
string |
否 |
資源類型 |
gateway |
| ResourceId |
string |
否 |
資源 ID |
gw-ct4i14um1hkn0tpqfae0 |
| ResourceGroupId |
string |
否 |
目標資源群組 ID。 |
rg-aekzdrfx2xdnaja |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回結構體 |
||
| RequestId |
string |
請求 ID |
59F86F37-787A-52DB-9475-DB5A255517F0 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "59F86F37-787A-52DB-9475-DB5A255517F0"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | MissingParameter.RegionId | The RegionId 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 | InternalError | The request processing has failed due to some unknown error. | |
| 400 | ResourceNotFound | The specified resource is not found | |
| 403 | NoPermission.ChangeResourceGroup | You are not authorized to change resourcegroup |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。