Queries the resource group information of a cluster.
Operation description
For the endpoint of this service, see Endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeDBResourceGroup |
list |
*DBClusterLakeVersion
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the Data Lakehouse Edition cluster. |
amv-bp11q28kvl688**** |
| GroupName |
string |
No |
The name of the resource group. Note
If this parameter is omitted, the operation returns information about all resource groups in the specified cluster. |
test_group |
| GroupType |
string |
No |
The type of the resource group. Valid values:
Note
For more information about resource groups for Data Lakehouse Edition clusters, see Resource groups. |
Job |
| RegionId |
string |
No |
The region ID. Note
Call the DescribeRegions operation to view the region ID of the cluster. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
A94B6C02-7BD4-5D67-9776-3AC8317E8DD3 |
| GroupsInfo |
array<object> |
A list of resource group information. |
|
|
array<object> |
A list of resource group information. |
||
| GroupType |
string |
The type of the resource group. Valid values:
Note
For more information about resource groups for Data Lakehouse Edition clusters, see Resource groups (Data Lakehouse Edition). |
Job |
| GroupName |
string |
The name of the resource group. |
test1 |
| MinComputeResource |
string |
The minimum reserved computing resources, in ACUs. |
0ACU |
| MaxComputeResource |
string |
The maximum reserved computing resources, in ACUs. |
512ACU |
| ClusterSizeResource |
string |
This parameter is reserved. |
预留参数,不涉及 |
| MinClusterCount |
integer |
This parameter is reserved. |
预留参数,不涉及 |
| MaxClusterCount |
integer |
This parameter is reserved. |
预留参数,不涉及 |
| RunningClusterCount |
integer |
This parameter is reserved. |
预留参数,不涉及 |
| ClusterMode |
string |
This parameter is reserved. |
预留参数,不涉及 |
| ElasticMinComputeResource |
string |
The minimum elastic computing resources, in ACUs. |
16ACU |
| EnableSpot |
string |
Indicates whether the spot instance feature is enabled for the resource group. When this feature is enabled, the unit price of resources is lower, but the resources may be released. Valid values:
This parameter can be set to True only for Job resource groups. |
True |
| GroupUsers |
string |
The RAM users that are bound to the resource group. |
testb,testc |
| CreateTime |
string |
The time when the resource group was created. The time is in UTC and follows the yyyy-MM-ddTHH:mm:ssZ format. |
2022-08-29T03:34:30Z |
| UpdateTime |
string |
The time when the resource group was updated. The time is in UTC and follows the yyyy-MM-ddTHH:mm:ssZ format. |
2022-08-31T03:34:30Z |
| Status |
string |
The status of the resource group. Valid values:
|
ok |
| Rules |
array<object> |
The job delivery rules. |
|
|
object |
A list of rule information. |
||
| GroupName |
string |
The name of the resource group. |
user_default |
| QueryTime |
string |
The threshold for the query execution time. Unit: milliseconds (ms). |
180000 |
| TargetGroupName |
string |
The name of the destination resource group. |
job |
| Engine |
string |
||
| Message |
string |
||
| AutoStopInterval |
string |
||
| SpecName |
string |
||
| TargetResourceGroupName |
string |
||
| MinGpuQuantity |
integer |
||
| MaxGpuQuantity |
integer |
||
| RayConfig |
object |
||
| EnableUserEni |
boolean |
||
| HeadSpecType |
string |
||
| HeadSpec |
string |
||
| HeadAllocateUnit |
string |
||
| HeadDiskCapacity |
string |
||
| Category |
string |
||
| WorkerGroups |
array<object> |
A list of Ray worker groups. |
|
|
object |
|||
| GroupName |
string |
The name of the Ray worker group. |
g01 |
| AllocateUnit |
string |
The allocation unit. |
1 |
| MaxWorkerQuantity |
integer |
The maximum number of workers. |
1 |
| MinWorkerQuantity |
integer |
The minimum number of workers. |
1 |
| WorkerDiskCapacity |
string |
The disk size of each worker. |
100G |
| WorkerSpecName |
string |
The resource type of the worker. |
large |
| WorkerSpecType |
string |
The resource type of the Ray worker. |
CPU |
| RayClusterAddress |
string |
The address of the Ray cluster. |
http://ray-cluster-address.example.com |
| RayDashboardAddress |
string |
The address of the Ray dashboard. |
http://ray-dashboard-address.example.com |
| RayGrafanaAddress |
string |
The address of the Ray Grafana. |
http://ray-grafana-address.example.com |
| AppConfig |
object |
The configuration of the Ray application. |
|
| AppName |
string |
The name of the Ray application. |
app01 |
| AppType |
string |
The type of the Ray application. |
IsaacLab |
| ImageSelector |
object |
The image configuration. |
|
| Image |
string |
The image. |
lab2.10.0-ray2.43.0 |
| InferenceEngine |
string |
The inference engine. |
vLLM |
| LlmModel |
string |
The LLM model. |
Deepseek-R1 |
| StorageMounts |
array<object> |
A list of mounted storage. |
|
|
object |
The mounted storage. |
||
| StorageId |
integer |
The storage ID. |
1 |
| MountPath |
string |
The mount path. |
/mnt/data01 |
| GpuElasticPlan |
object |
||
| Enabled |
boolean |
||
| Rules |
array<object> |
||
|
object |
|||
| StartCronExpression |
string |
||
| EndCronExpression |
string |
||
| EngineParams |
object |
The engine parameters. |
|
|
any |
The engine parameters. |
Examples
Success response
JSON format
{
"RequestId": "A94B6C02-7BD4-5D67-9776-3AC8317E8DD3",
"GroupsInfo": [
{
"GroupType": "Job",
"GroupName": "test1",
"MinComputeResource": "0ACU",
"MaxComputeResource": "512ACU",
"ClusterSizeResource": "预留参数,不涉及",
"MinClusterCount": 0,
"MaxClusterCount": 0,
"RunningClusterCount": 0,
"ClusterMode": "预留参数,不涉及",
"ElasticMinComputeResource": "16ACU",
"EnableSpot": "True",
"GroupUsers": "testb,testc",
"CreateTime": "2022-08-29T03:34:30Z",
"UpdateTime": "2022-08-31T03:34:30Z",
"Status": "ok",
"Rules": [
{
"GroupName": "user_default",
"QueryTime": "180000",
"TargetGroupName": "job"
}
],
"Engine": "",
"Message": "",
"AutoStopInterval": "",
"SpecName": "",
"TargetResourceGroupName": "",
"MinGpuQuantity": 0,
"MaxGpuQuantity": 0,
"RayConfig": {
"EnableUserEni": false,
"HeadSpecType": "",
"HeadSpec": "",
"HeadAllocateUnit": "",
"HeadDiskCapacity": "",
"Category": "",
"WorkerGroups": [
{
"GroupName": "g01",
"AllocateUnit": "1",
"MaxWorkerQuantity": 1,
"MinWorkerQuantity": 1,
"WorkerDiskCapacity": "100G",
"WorkerSpecName": "large",
"WorkerSpecType": "CPU"
}
],
"RayClusterAddress": "http://ray-cluster-address.example.com",
"RayDashboardAddress": "http://ray-dashboard-address.example.com",
"RayGrafanaAddress": "http://ray-grafana-address.example.com",
"AppConfig": {
"AppName": "app01",
"AppType": "IsaacLab",
"ImageSelector": {
"Image": "lab2.10.0-ray2.43.0",
"InferenceEngine": "vLLM",
"LlmModel": "Deepseek-R1"
}
},
"StorageMounts": [
{
"StorageId": 1,
"MountPath": "/mnt/data01"
}
]
},
"GpuElasticPlan": {
"Enabled": false,
"Rules": [
{
"StartCronExpression": "",
"EndCronExpression": ""
}
]
},
"EngineParams": {
"key": ""
}
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPoolName.Malformed | The specified parameter PoolName is not valid. | The PoolName parameter is invalid. Check the parameter. |
| 400 | InvalidPoolUser.Malformed | The specified parameter PoolUser is not valid. | The PoolUser parameter is invalid. Check the parameter. |
| 400 | InvalidDBClusterId.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. |
| 400 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. | The DBClusterId parameter is invalid. Check the parameter. |
| 400 | InvalidPoolType.Malformed | The specified parameter PoolType is not valid. | The PoolType parameter is invalid. Check the parameter. |
| 400 | InvalidMinComputeResource.Malformed | The specified parameter MinComputeResource is not valid. | The MinComputeResource parameter is invalid. Check the parameter. |
| 400 | InvalidMaxComputeResource.Malformed | The specified parameter MaxComputeResource is not valid. | The MaxComputeResource parameter is invalid. Check the parameter. |
| 408 | AcsServerTimeOut | The request has failed due to Adb Cloud Service time out. | The backend service timed out. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.