调用本接口将资源进行转组。
接口说明
调用该接口将资源转移至另一个资源组下。
调试
您可以在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 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?