Changes a resource group. Resource groups are a means to categorize and manage cloud resources, such as scaling groups, based on specific objectives, permissions, or ownership. In large, multifaceted organizations that manage numerous projects and users, this feature adopts a tiered management approach, simplifying management tasks and improving the effectiveness and oversight of resource allocation. You can call the ChangeResourceGroup operation to move your scaling groups from one resource group to another resource group, which facilitates streamlined monitoring and management within the context of the new group. This operation eliminates the need for repetitive and time-consuming cross-service resource queries, thereby enhancing operational efficiency.
Operation description
- A resource is an entity of cloud services that you create on Alibaba Cloud. For example, a scaling group is a resource.
- A resource group serves as a powerful organizational tool within your Alibaba Cloud account, enabling you to manage and monitor multiple resources collectively. It effectively addresses complexities surrounding resource categorization and permission control under a single Alibaba Cloud account, thereby enhancing management efficiency and control. For more information, see What is resource management?
Debugging
Authorization information
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 that you want to move from the current resource group to another resource group. | asg-bp17xb4x1vr29lgt**** |
NewResourceGroupId | string | Yes | The ID of the resource group to which you want to move the scaling group. | rg-aek2ckjqe3***** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6EF9BFEE-FE07-4627-B8FB-14326FB9****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|