Modifies the resource group of an instance.
Operation description
Note:
The endpoint differs from other operations. Use polardbx.aliyuncs.com for Chinese regions and Singapore. For other regions, use polardbx.{region id}.aliyunc.com.
When testing this API operation, if a service unavailable error is returned, verify that the endpoint is correct. You can switch the service address to Dubai or India to change the endpoint to polardbx.aliyuncs.com.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:ChangeResourceGroup |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The resource type. Currently, only PolarDB-X 2.0 instances are supported. |
polardbxinstance |
| ResourceId |
string |
Yes |
The resource ID. |
pxc-szrwrbp693**** |
| NewResourceGroupId |
string |
Yes |
The new resource group ID. |
rg-acfmwolx3j4**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3WE34 |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3WE34"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.