You can call the CreateDBResourcePool operation to create a resource group. This operation applies only to AnalyticDB for MySQL clusters of the new version in elastic mode.
Operation description
Precautions
This operation is available only for AnalyticDB for MySQL clusters of the new version in elastic mode that have 32 or more cores.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:CreateDBResourcePool |
create |
*DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the AnalyticDB for MySQL cluster. Note
Call the DescribeDBClusters operation to query the IDs of all AnalyticDB for MySQL clusters in a specific region. |
am-bp11q28kvl688**** |
| PoolName |
string |
Yes |
The name of the resource group.
|
test |
| QueryType |
string |
No |
The execution mode of the SQL query. Valid values:
Note
For more information, see Query execution modes. |
interactive |
| NodeNum |
integer |
No |
The number of nodes. The default value is 0.
|
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
Examples
Success response
JSON format
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF"
}
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.