Modifies the resource group of an instance.
Operation description
-
In Cloud Backup, you can use resource groups to manage resources such as backup vaults, backup clients, and SAP HANA instances.
-
A resource is a cloud service entity that you create in Alibaba Cloud, such as an ECS instance, a backup vault, or an SAP HANA instance.
-
A resource group is a mechanism for grouping and managing resources within an Alibaba Cloud account. Resource groups help you simplify resource grouping for multiple projects or applications and user authorization management within a single cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:ChangeResourceGroup |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The resource type. Valid values:
|
vault |
| ResourceId |
string |
Yes |
The ID of the resource. For example, if ResourceType is set to vault, ResourceId specifies the ID of the backup vault. |
v-0002vido6j5zyh5k**** |
| NewResourceGroupId |
string |
Yes |
The ID of the new resource group. You can view available resource groups in the Resource Group console. |
rg-bp67acfmxazb4p**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return code. A value of 200 indicates success. |
200 |
| Message |
string |
The returned message. If the request is successful, successful is returned. If an error occurs, the corresponding error message is returned. |
successful |
| RequestId |
string |
The request ID. |
C438054F-9088-5D1B-AED0-0EA86D9C65F4 |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "C438054F-9088-5D1B-AED0-0EA86D9C65F4",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.