Modifies the resource group of a cluster.
Operation description
For the service registration address of the current service, see Endpoints.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ModifyDBResourceGroup |
update |
*DBClusterLakeVersion
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the Data Lakehouse Edition cluster. |
amv-bp1r053byu48p**** |
| GroupName |
string |
Yes |
The name of the resource group. Note
You can call the DescribeDBResourceGroup operation to query the name of the resource group for a specified cluster. |
test |
| GroupType |
string |
Yes |
The type of the resource group. Valid values:
Note
For more information about Data Lakehouse Edition resource groups, see Resource groups. |
Interactive |
| MinComputeResource |
string |
No |
The minimum reserved computing resources.
|
0ACU |
| MaxComputeResource |
string |
No |
The maximum reserved computing resources.
|
48ACU |
| ClusterSizeResource |
string |
No |
Reserved parameter. |
None |
| MinClusterCount |
integer |
No |
Reserved parameter. |
None |
| MaxClusterCount |
integer |
No |
Reserved parameter. |
None |
| ClusterMode |
string |
No |
Reserved parameter. |
None |
| EnableSpot |
boolean |
No |
Specifies whether to enable the spot instance feature for the resource group. After you enable this feature, the unit price of resources decreases, but the resources may be released. This feature can be enabled only for Job resource groups. Valid values:
|
True |
| RegionId |
string |
No |
The region ID. Note
You can call the DescribeRegions operation to query the region ID of a specified cluster. |
cn-hangzhou |
| Rules |
array<object> |
No |
The job delivery rules. |
|
|
object |
No |
The list of rule information. |
||
| GroupName |
string |
No |
The name of the resource group. |
user_default |
| QueryTime |
string |
No |
The threshold for query execution time, in milliseconds. |
180000 |
| TargetGroupName |
string |
No |
The name of the destination resource group. |
job |
| EngineParams |
object |
No |
The engine configurations. |
{\"spark.adb.version\":\"3.5\"} |
|
any |
No |
The value of a single engine configuration parameter. |
||
| AutoStopInterval |
string |
No |
The auto-stop time. |
5m |
| SpecName |
string |
No |
Reserved parameter. |
Reserved parameter |
| MinGpuQuantity |
integer |
No |
Reserved parameter. |
Reserved parameter |
| MaxGpuQuantity |
integer |
No |
Reserved parameter. |
Reserved parameter |
| TargetResourceGroupName |
string |
No |
Reserved parameter. |
Reserved parameter |
| Status |
string |
No |
The status of the resource group. starting indicates that the resource group is being started. stopping indicates that the resource group is being stopped. |
starting |
| RayConfig |
object |
No |
The Ray configuration information. This parameter is required when the resource group is an AI resource group and the corresponding engine is RayCluster. |
|
| EnableUserEni |
boolean |
No |
Specifies whether to enable ENI. |
|
| HeadSpecType |
string |
No |
The resource type of the head node. |
CPU |
| HeadSpec |
string |
No |
The node specifications of the head node. |
xlarge |
| HeadAllocateUnit |
string |
No |
The allocation unit of the head node. |
1 |
| HeadDiskCapacity |
string |
No |
The disk size of the head node. |
100G |
| Category |
string |
No |
The type of the Ray cluster. Valid values:
|
BASIC |
| WorkerGroups |
array<object> |
No |
The list of Ray worker group configuration information. |
|
|
object |
No |
The Ray worker group configuration information. |
||
| AllocateUnit |
string |
No |
The allocation unit. |
1 |
| GroupName |
string |
No |
The name of the worker group. |
test |
| MaxWorkerQuantity |
integer |
No |
The maximum number of workers. |
2 |
| MinWorkerQuantity |
integer |
No |
The minimum number of workers. |
1 |
| WorkerDiskCapacity |
string |
No |
The disk size of the worker node. |
100G |
| WorkerSpecName |
string |
No |
The node specifications of the worker node. |
xlarge |
| WorkerSpecType |
string |
No |
The resource type of the worker node. |
GPU |
| AppConfig |
object |
No |
The Ray application configuration. |
|
| AppName |
string |
No |
The name of the application. |
app01 |
| AppType |
string |
No |
The type of the application. |
IsaacLab |
| ImageSelector |
object |
No |
The image configuration. |
|
| Image |
string |
No |
The name of the image. |
lab2.10.0-ray2.43.0 |
| InferenceEngine |
string |
No |
The inference engine. |
vLLM |
| LlmModel |
string |
No |
The LLM model. |
Deepseek-R1 |
| StorageMounts |
array<object> |
No |
The list of storage mounts. |
|
|
object |
No |
The storage mount. |
||
| StorageId |
integer |
No |
The ID of the storage. |
1 |
| MountPath |
string |
No |
The mount path. |
/mnt/data01 |
| StorageName |
string |
No |
The name of the storage to mount. You must specify either this parameter or StorageId. |
training-data |
| UserDefinedRequirements |
string |
No |
The custom Python dependencies for RayCluster. The content must be in the requirements.txt format, with one pip dependency per line. A maximum of 200 lines are allowed, and each line cannot exceed 512 characters. Version constraints, extras, PEP 440 direct URLs, and # comments are supported, but shell metacharacters are not supported. This parameter applies only to AI resource groups of the RayCluster type. |
numpy==1.24.0 |
| GpuElasticPlan |
object |
No |
The GPU time-based elastic plan. |
|
| Enabled |
boolean |
No |
Specifies whether to enable the elastic plan immediately after creation. Valid values:
|
true |
| Rules |
array<object> |
No |
The list of rules. |
|
|
object |
No |
The rule. |
||
| StartCronExpression |
string |
No |
The start time specified by a cron expression. The interval must be at least 1 hour. |
0 0 2 * * ? |
| EndCronExpression |
string |
No |
The end time specified by a cron expression. The interval must be at least 1 hour. |
0 0 3 * * ? |
| AtmConfig |
object |
No |
The PromQL resource group configuration. |
|
| SelectNodeSpec |
string |
No |
The query node specifications ([0-9+] ACU). |
8ACU |
| SelectNodeNum |
integer |
No |
The number of query nodes. |
1 |
| SelectNodeCacheSize |
integer |
No |
The query node cache size (GB). |
10 |
| StorageNodeSpec |
string |
No |
The storage node specifications ([0-9+] ACU). |
8ACU |
| StorageNodeNum |
integer |
No |
The number of storage nodes. |
2 |
| StorageNodeDiskSize |
integer |
No |
The disk size of the storage node. |
1 |
| StorageNodeDiskType |
string |
No |
The storage node disk type (essd_pl1, essd_pl2). |
essd_pl1 |
| InsertNodeSpec |
string |
No |
The insert node specifications ([0-9+] ACU). |
8ACU |
| InsertNodeNum |
integer |
No |
The number of insert nodes. |
2 |
| AuthNodeSpec |
string |
No |
The authentication node specifications ([0-9+] ACU). |
8ACU |
| AuthNodeNum |
integer |
No |
The number of authentication nodes. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
805F14E1-0186-520E-A6D5-30188D94E8DA |
Examples
Success response
JSON format
{
"RequestId": "805F14E1-0186-520E-A6D5-30188D94E8DA"
}
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. |
| 400 | ACS.ResourceGroup.ElasticPlanExists | This resource group does not support this operation. Elastic plans that have been enabled already exist. | This operation is not supported for the current resource group because a scaling plan has been enabled. |
| 400 | ACS.ResourceGroup.InvalidResourceGroupState | The state of this resource group does not support this operation. | This operation is not supported due to the current state of the resource group. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.