Moves a scaling group from one resource group to another. Resource groups let you categorize and manage cloud resources by purpose, permission, or ownership, enabling centralized monitoring without cross-service lookups.
Operation description
-
A resource is a cloud service entity you create on Alibaba Cloud, such as a scaling group.
-
A resource group organizes multiple resources under your Alibaba Cloud account for collective management and permission control. What is resource management?
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:ChangeResourceGroup |
update |
*ScalingGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the scaling group. |
cn-hangzhou |
| ResourceType |
string |
No |
The resource type. Set the value to scalinggroup. |
scalinggroup |
| ResourceId |
string |
Yes |
The ID of the scaling group to move to another resource group. |
asg-bp17xb4x1vr29lgt**** |
| NewResourceGroupId |
string |
Yes |
The ID of the destination resource group. |
rg-aek2ckjqe3***** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
6EF9BFEE-FE07-4627-B8FB-14326FB9**** |
Examples
Success response
JSON format
{
"RequestId": "6EF9BFEE-FE07-4627-B8FB-14326FB9****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.