Adds a scaling group as a resource to a resource group.
Operation description
Operation description
-
A resource is a cloud service entity that you create on Alibaba Cloud. For example, a scaling group is a resource.
-
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.
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 ID of the region where the scaling group resides. |
cn-hangzhou |
| ResourceType |
string |
No |
The resource type. Only scaling groups are supported. Set the value to scalinggroup. |
scalinggroup |
| ResourceId |
string |
Yes |
The ID of the scaling group whose resource group you want to change. |
asg-bp17xb4x1vr29lgt**** |
| NewResourceGroupId |
string |
Yes |
The ID of the new resource group to which you want to move the scaling group. |
rg-aek2ckjqe3**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.