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 ID of the region. |
cn-hangzhou |
| ResourceId |
string |
Yes |
The ID of the cloud resource that you want to move to another resource group.
|
TemplateName |
| NewResourceGroupId |
string |
Yes |
The ID of the resource group to which the cloud resource is to be moved. You can use resource groups to manage resources owned by your Alibaba Cloud account. Resource groups simplify the resource and permission management of your Alibaba Cloud account. For more information, see What is Resource Management? |
rg-acfm3peow3k**** |
| ResourceType |
string |
Yes |
The type of the cloud resource. Valid values:
|
template |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
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.