Retrieves the details of one or more resource groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:DescribeDBResourceGroup |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. Note
You can call the DescribeDBInstances operation to query the instance IDs of all AnalyticDB for PostgreSQL instances in a specified region. |
gp-xxxxxxxxx |
| ResourceGroupName |
string |
No |
The name of the resource group. Note
If this parameter is omitted, details for all resource groups are returned. Otherwise, only details for the specified resource group are returned. |
testgroup |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned information. |
||
| RequestId |
string |
The request ID. |
ABB39CC3-4488-4857-905D-2E4A051D0521 |
| ResourceGroupItems |
object |
||
| ResourceGroupItem |
array<object> |
The details of resource groups. |
|
|
array<object> |
Details of a resource group. |
||
| ResourceGroupName |
string |
The name of the resource group. |
testgroup |
| ResourceGroupConfig |
string |
The configuration of the resource group. Note
|
{"CpuRateLimit":10,"MemoryLimit":12,"MemorySharedQuota":20,"MemorySpillRatio":75,"Concurrency":3} |
| RoleList |
object |
||
| Role |
array |
A list of associated roles. |
|
|
string |
The role name. |
testrole |
Examples
Success response
JSON format
{
"RequestId": "ABB39CC3-4488-4857-905D-2E4A051D0521",
"ResourceGroupItems": {
"ResourceGroupItem": [
{
"ResourceGroupName": "testgroup",
"ResourceGroupConfig": "{\"CpuRateLimit\":10,\"MemoryLimit\":12,\"MemorySharedQuota\":20,\"MemorySpillRatio\":75,\"Concurrency\":3}",
"RoleList": {
"Role": [
"testrole"
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.