Modifies the resource group to which a cloud resource belongs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:ChangeResourceGroup |
update |
*Template
*StateConfiguration
*Parameter
*SecretParameter
*OpsItem
*PatchBaseline
*Execution
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| ResourceId |
string |
Yes |
The resource ID of the cloud resource for which you want to modify the resource group.
|
TemplateName |
| NewResourceGroupId |
string |
Yes |
The ID of the resource group to which you want to move the cloud resource instance. A resource group is a mechanism for managing resources by group within an Alibaba Cloud account. Resource groups help you resolve complex issues related to resource grouping and authorization management within a single cloud account. For more information, see What is Resource Management. |
rg-acfm3peow3k**** |
| ResourceType |
string |
Yes |
The type of the cloud resource for which you want to modify the resource group. Valid values:
|
template |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0620E49F-B884-5F98-A834-69D72922E5CF |
Examples
Success response
JSON format
{
"RequestId": "0620E49F-B884-5F98-A834-69D72922E5CF"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.