Queries resource group information for an AnalyticDB for MySQL Data Warehouse Edition cluster in elastic mode for Cluster Edition.
Operation description
This operation applies only to elastic clusters with 32 or more cores.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeDBResourcePool |
get |
DBCluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster ID. Note
Call DescribeDBClusters to query cluster IDs in a region. |
am-bp11q28kvl688**** |
| PoolName |
string |
No |
The name of the resource group. |
USER_DEFAULT |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
1AD222E9-E606-4A42-BF6D-8A4442913CEF |
| PoolsInfo |
array<object> |
Details of the resource group. |
|
|
object |
|||
| QueryType |
string |
The SQL execution mode.
Note
|
default_type |
| UpdateTime |
string |
The time when the resource group was updated. |
2022-03-09 16:57:35.241 |
| PoolName |
string |
The name of the resource group. |
USER_DEFAULT |
| CreateTime |
string |
The time when the resource group was created. |
2022-03-09 16:57:35.241 |
| PoolUsers |
string |
The database accounts associated with the resource group. |
testb,testc |
| NodeNum |
integer |
The number of nodes. Note
Each node uses 16 cores and 64 GB of memory. |
2 |
| DBClusterId |
string |
The AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster ID. |
am-bp11q28kvl688**** |
Examples
Success response
JSON format
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"PoolsInfo": [
{
"QueryType": "default_type",
"UpdateTime": "2022-03-09 16:57:35.241",
"PoolName": "USER_DEFAULT",
"CreateTime": "2022-03-09 16:57:35.241",
"PoolUsers": "testb,testc",
"NodeNum": 2
}
],
"DBClusterId": "am-bp11q28kvl688****"
}
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 does not exist. Verify that the value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.