Modifies the resource group of an AnalyticDB for MySQL cluster.
Operation description
Resource Management lets you build an organizational structure for resources based on your business needs. You can use a resource directory, folders, accounts, and resource groups to hierarchically organize and manage resources. For more information, see What is Resource Management?
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ModifyDBClusterResourceGroup |
update |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
am-bpxxxxx |
| NewResourceGroupId |
string |
Yes |
The resource group ID. For more information, see View basic information of a resource group. |
rg-acxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
65BDA532-28AF-4122-AA39-B382721EEE64 |
Examples
Success response
JSON format
{
"RequestId": "65BDA532-28AF-4122-AA39-B382721EEE64"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.