Calls the UpdateResourceGroupAttribute operation to transfer an instance to a new resource group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:UpdateResourceGroupAttribute |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the target instance. Note
You can call the DescribeDrdsInstances operation to query the details of instances under your account, including the region ID. |
cn-hangzhou |
| DrdsInstanceId |
string |
Yes |
The ID of the target instance. Note
You can call the DescribeDrdsInstances operation to query the details of instances under your account, including the instance ID. |
drds*********** |
| NewResourceGroupId |
string |
Yes |
The ID of the target resource group. Note
You can call the ListResourceGroups operation to query the details of resource groups, including the resource group ID. |
rg-*************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
91C7CAB5-3B2E-4FB6-893C-0162C0****** |
Examples
Success response
JSON format
{
"RequestId": "91C7CAB5-3B2E-4FB6-893C-0162C0******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | DRDSDB.NotExist | The database does not exist. | The database does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.