更改资源组。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
privatelink:ChangeResourceGroup |
update |
*VpcEndpoint
*VpcEndpointService
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ResourceType |
string |
否 |
资源类型。取值:
|
VpcEndpoint |
| ResourceId |
string |
是 |
待修改资源组的私网连接资源 ID。 |
ep-hp3i05294c2d2d**** |
| ResourceGroupId |
string |
是 |
要替换的目标资源组的 ID。 |
rg-acfmy***** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
示例
正常返回示例
JSON格式
{
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B"
}
错误码
|
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 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。