Changes the resource group of a resource.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ChangeResourceGroup |
get |
Cluster
Vcc
Vpd
Node
Er
Vsc
NetworkInterface
ElasticNetworkInterface
HighDensityElasticNetworkInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
No |
The type of the resource. |
Node |
| ResourceId |
string |
Yes |
The ID of the resource. |
i118099391667548921125 |
| ResourceRegionId |
string |
Yes |
The ID of the region. |
cn-wulanchabu |
| ResourceGroupId |
string |
Yes |
The ID of the destination resource group. |
rg-aekzyqdwnfabx6q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
8F065DDD-6996-5973-9691-9EC57BD0072E |
Examples
Success response
JSON format
{
"RequestId": "8F065DDD-6996-5973-9691-9EC57BD0072E"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.