Modifies the resource group of a database cluster.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
polardb:ModifyDBClusterResourceGroup | update | *DBCluster
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ResourceGroupId | string | No | The original resource group ID. | rg-********** |
DBClusterId | string | Yes | The cluster ID. | pc-************* |
NewResourceGroupId | string | Yes | The ID of the new resource group. | rg-********** |
Response elements
Parameter | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 70656639-1416-479F-AF13-D08197****** |
Examples
Success response
JSON format
{
"RequestId": "70656639-1416-479F-AF13-D08197******"
}Error codes
HTTP status code | Error code | Error message | Description |
400 | InvalidNewResourceGroupId.Malformed | The specified parameter NewResourceGroupId is not valid. | The specified NewResourceGroupId parameter is invalid. |
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The specified DBClusterId parameter is invalid. |
See for a complete list.
Release notes
See 变更详情 for a complete list.