@alicloud/adb20211201 5.1.0 → 5.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +14 -14
- package/dist/client.js +17 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDbresourceGroupRequest.d.ts +69 -15
- package/dist/models/CreateDbresourceGroupRequest.js +29 -1
- package/dist/models/CreateDbresourceGroupRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -9
- package/dist/models/CreateDbresourceGroupShrinkRequest.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsRequest.d.ts +20 -12
- package/dist/models/DescribeAuditLogRecordsRequest.js +2 -0
- package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +9 -9
- package/dist/models/DescribeDbresourceGroupRequest.d.ts +6 -6
- package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +56 -15
- package/dist/models/DescribeDbresourceGroupResponseBody.js +2 -0
- package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupRequest.d.ts +91 -67
- package/dist/models/ModifyDbresourceGroupRequest.js +2 -0
- package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +34 -41
- package/dist/models/ModifyDbresourceGroupShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +30 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -14
- package/src/models/CreateDbresourceGroupRequest.ts +88 -15
- package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -9
- package/src/models/DescribeAuditLogRecordsRequest.ts +22 -12
- package/src/models/DescribeAuditLogRecordsResponseBody.ts +9 -9
- package/src/models/DescribeDbresourceGroupRequest.ts +6 -6
- package/src/models/DescribeDbresourceGroupResponseBody.ts +58 -15
- package/src/models/ModifyDbresourceGroupRequest.ts +93 -67
- package/src/models/ModifyDbresourceGroupShrinkRequest.ts +34 -41
- package/src/models/model.ts +1 -0
|
@@ -4,56 +4,89 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ModifyDBResourceGroupRequestAtmConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of authentication nodes.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 2
|
|
9
12
|
*/
|
|
10
13
|
authNodeNum?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The authentication node specifications in ACU ([0-9+]ACU).
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 8ACU
|
|
14
20
|
*/
|
|
15
21
|
authNodeSpec?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of insert nodes.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 2
|
|
19
28
|
*/
|
|
20
29
|
insertNodeNum?: number;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The insert node specifications in ACU ([0-9+]ACU).
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* 8ACU
|
|
24
36
|
*/
|
|
25
37
|
insertNodeSpec?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The query node cache size in GB.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* 10
|
|
29
44
|
*/
|
|
30
45
|
selectNodeCacheSize?: number;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The number of query nodes.
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* 1
|
|
34
52
|
*/
|
|
35
53
|
selectNodeNum?: number;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The query node specifications ([0-9+]ACU).
|
|
57
|
+
*
|
|
37
58
|
* @example
|
|
38
59
|
* 8ACU
|
|
39
60
|
*/
|
|
40
61
|
selectNodeSpec?: string;
|
|
41
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The disk size of storage nodes.
|
|
65
|
+
*
|
|
42
66
|
* @example
|
|
43
67
|
* 1
|
|
44
68
|
*/
|
|
45
69
|
storageNodeDiskSize?: number;
|
|
46
70
|
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The disk type of storage nodes (essd_pl1, essd_pl2).
|
|
73
|
+
*
|
|
47
74
|
* @example
|
|
48
75
|
* essd_pl1
|
|
49
76
|
*/
|
|
50
77
|
storageNodeDiskType?: string;
|
|
51
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The number of storage nodes.
|
|
81
|
+
*
|
|
52
82
|
* @example
|
|
53
83
|
* 2
|
|
54
84
|
*/
|
|
55
85
|
storageNodeNum?: number;
|
|
56
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The storage node specifications in ACU ([0-9+]ACU).
|
|
89
|
+
*
|
|
57
90
|
* @example
|
|
58
91
|
* 8ACU
|
|
59
92
|
*/
|
|
@@ -102,7 +135,7 @@ export class ModifyDBResourceGroupRequestAtmConfig extends $dara.Model {
|
|
|
102
135
|
export class ModifyDBResourceGroupRequestGpuElasticPlanRules extends $dara.Model {
|
|
103
136
|
/**
|
|
104
137
|
* @remarks
|
|
105
|
-
* The end time
|
|
138
|
+
* The end time, specified as a cron expression. The interval must be at least 1 hour.
|
|
106
139
|
*
|
|
107
140
|
* @example
|
|
108
141
|
* 0 0 3 * * ?
|
|
@@ -110,7 +143,7 @@ export class ModifyDBResourceGroupRequestGpuElasticPlanRules extends $dara.Model
|
|
|
110
143
|
endCronExpression?: string;
|
|
111
144
|
/**
|
|
112
145
|
* @remarks
|
|
113
|
-
* The start time
|
|
146
|
+
* The start time, specified as a cron expression. The interval must be at least 1 hour.
|
|
114
147
|
*
|
|
115
148
|
* @example
|
|
116
149
|
* 0 0 2 * * ?
|
|
@@ -142,12 +175,9 @@ export class ModifyDBResourceGroupRequestGpuElasticPlanRules extends $dara.Model
|
|
|
142
175
|
export class ModifyDBResourceGroupRequestGpuElasticPlan extends $dara.Model {
|
|
143
176
|
/**
|
|
144
177
|
* @remarks
|
|
145
|
-
* Specifies whether to enable the
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* - **true**: The plan is enabled.
|
|
149
|
-
*
|
|
150
|
-
* - **false**: The plan is disabled.
|
|
178
|
+
* Specifies whether to enable the elastic plan immediately after creation. Valid values:
|
|
179
|
+
* - **true**: Enables the elastic plan immediately.
|
|
180
|
+
* - **false**: Does not enable the elastic plan.
|
|
151
181
|
*
|
|
152
182
|
* @example
|
|
153
183
|
* true
|
|
@@ -155,7 +185,7 @@ export class ModifyDBResourceGroupRequestGpuElasticPlan extends $dara.Model {
|
|
|
155
185
|
enabled?: boolean;
|
|
156
186
|
/**
|
|
157
187
|
* @remarks
|
|
158
|
-
*
|
|
188
|
+
* The list of rules.
|
|
159
189
|
*/
|
|
160
190
|
rules?: ModifyDBResourceGroupRequestGpuElasticPlanRules[];
|
|
161
191
|
static names(): { [key: string]: string } {
|
|
@@ -203,7 +233,7 @@ export class ModifyDBResourceGroupRequestRayConfigAppConfigImageSelector extends
|
|
|
203
233
|
inferenceEngine?: string;
|
|
204
234
|
/**
|
|
205
235
|
* @remarks
|
|
206
|
-
* The
|
|
236
|
+
* The LLM model.
|
|
207
237
|
*
|
|
208
238
|
* @example
|
|
209
239
|
* Deepseek-R1
|
|
@@ -301,10 +331,12 @@ export class ModifyDBResourceGroupRequestRayConfigStorageMounts extends $dara.Mo
|
|
|
301
331
|
* 1
|
|
302
332
|
*/
|
|
303
333
|
storageId?: number;
|
|
334
|
+
storageName?: string;
|
|
304
335
|
static names(): { [key: string]: string } {
|
|
305
336
|
return {
|
|
306
337
|
mountPath: 'MountPath',
|
|
307
338
|
storageId: 'StorageId',
|
|
339
|
+
storageName: 'StorageName',
|
|
308
340
|
};
|
|
309
341
|
}
|
|
310
342
|
|
|
@@ -312,6 +344,7 @@ export class ModifyDBResourceGroupRequestRayConfigStorageMounts extends $dara.Mo
|
|
|
312
344
|
return {
|
|
313
345
|
mountPath: 'string',
|
|
314
346
|
storageId: 'number',
|
|
347
|
+
storageName: 'string',
|
|
315
348
|
};
|
|
316
349
|
}
|
|
317
350
|
|
|
@@ -335,7 +368,7 @@ export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
|
|
|
335
368
|
allocateUnit?: string;
|
|
336
369
|
/**
|
|
337
370
|
* @remarks
|
|
338
|
-
* The
|
|
371
|
+
* The worker group name.
|
|
339
372
|
*
|
|
340
373
|
* @example
|
|
341
374
|
* test
|
|
@@ -343,7 +376,7 @@ export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
|
|
|
343
376
|
groupName?: string;
|
|
344
377
|
/**
|
|
345
378
|
* @remarks
|
|
346
|
-
* The maximum number of
|
|
379
|
+
* The maximum number of workers.
|
|
347
380
|
*
|
|
348
381
|
* @example
|
|
349
382
|
* 2
|
|
@@ -351,7 +384,7 @@ export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
|
|
|
351
384
|
maxWorkerQuantity?: number;
|
|
352
385
|
/**
|
|
353
386
|
* @remarks
|
|
354
|
-
* The minimum number of
|
|
387
|
+
* The minimum number of workers.
|
|
355
388
|
*
|
|
356
389
|
* @example
|
|
357
390
|
* 1
|
|
@@ -359,7 +392,7 @@ export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
|
|
|
359
392
|
minWorkerQuantity?: number;
|
|
360
393
|
/**
|
|
361
394
|
* @remarks
|
|
362
|
-
* The disk size of
|
|
395
|
+
* The disk size of the worker node.
|
|
363
396
|
*
|
|
364
397
|
* @example
|
|
365
398
|
* 100G
|
|
@@ -367,7 +400,7 @@ export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
|
|
|
367
400
|
workerDiskCapacity?: string;
|
|
368
401
|
/**
|
|
369
402
|
* @remarks
|
|
370
|
-
* The specifications of
|
|
403
|
+
* The node specifications of the worker node.
|
|
371
404
|
*
|
|
372
405
|
* @example
|
|
373
406
|
* xlarge
|
|
@@ -375,7 +408,7 @@ export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
|
|
|
375
408
|
workerSpecName?: string;
|
|
376
409
|
/**
|
|
377
410
|
* @remarks
|
|
378
|
-
* The resource type of
|
|
411
|
+
* The resource type of the worker node.
|
|
379
412
|
*
|
|
380
413
|
* @example
|
|
381
414
|
* GPU
|
|
@@ -422,11 +455,11 @@ export class ModifyDBResourceGroupRequestRayConfig extends $dara.Model {
|
|
|
422
455
|
appConfig?: ModifyDBResourceGroupRequestRayConfigAppConfig;
|
|
423
456
|
/**
|
|
424
457
|
* @remarks
|
|
425
|
-
* The
|
|
458
|
+
* The Ray cluster type. Valid values:
|
|
426
459
|
*
|
|
427
|
-
* -
|
|
460
|
+
* - BASIC: basic type, non-high-availability
|
|
428
461
|
*
|
|
429
|
-
* -
|
|
462
|
+
* - HIGH_AVAILABILITY: high-availability type
|
|
430
463
|
*
|
|
431
464
|
* @example
|
|
432
465
|
* BASIC
|
|
@@ -434,7 +467,7 @@ export class ModifyDBResourceGroupRequestRayConfig extends $dara.Model {
|
|
|
434
467
|
category?: string;
|
|
435
468
|
/**
|
|
436
469
|
* @remarks
|
|
437
|
-
* Specifies whether to enable
|
|
470
|
+
* Specifies whether to enable ENI.
|
|
438
471
|
*/
|
|
439
472
|
enableUserEni?: boolean;
|
|
440
473
|
/**
|
|
@@ -455,7 +488,7 @@ export class ModifyDBResourceGroupRequestRayConfig extends $dara.Model {
|
|
|
455
488
|
headDiskCapacity?: string;
|
|
456
489
|
/**
|
|
457
490
|
* @remarks
|
|
458
|
-
* The specifications of the head node.
|
|
491
|
+
* The node specifications of the head node.
|
|
459
492
|
*
|
|
460
493
|
* @example
|
|
461
494
|
* xlarge
|
|
@@ -471,13 +504,13 @@ export class ModifyDBResourceGroupRequestRayConfig extends $dara.Model {
|
|
|
471
504
|
headSpecType?: string;
|
|
472
505
|
/**
|
|
473
506
|
* @remarks
|
|
474
|
-
*
|
|
507
|
+
* The storage mount list.
|
|
475
508
|
*/
|
|
476
509
|
storageMounts?: ModifyDBResourceGroupRequestRayConfigStorageMounts[];
|
|
477
510
|
userDefinedRequirements?: string;
|
|
478
511
|
/**
|
|
479
512
|
* @remarks
|
|
480
|
-
*
|
|
513
|
+
* The list of Ray worker group configurations.
|
|
481
514
|
*/
|
|
482
515
|
workerGroups?: ModifyDBResourceGroupRequestRayConfigWorkerGroups[];
|
|
483
516
|
static names(): { [key: string]: string } {
|
|
@@ -531,7 +564,7 @@ export class ModifyDBResourceGroupRequestRayConfig extends $dara.Model {
|
|
|
531
564
|
export class ModifyDBResourceGroupRequestRules extends $dara.Model {
|
|
532
565
|
/**
|
|
533
566
|
* @remarks
|
|
534
|
-
* The
|
|
567
|
+
* The resource group name.
|
|
535
568
|
*
|
|
536
569
|
* @example
|
|
537
570
|
* user_default
|
|
@@ -539,7 +572,7 @@ export class ModifyDBResourceGroupRequestRules extends $dara.Model {
|
|
|
539
572
|
groupName?: string;
|
|
540
573
|
/**
|
|
541
574
|
* @remarks
|
|
542
|
-
* The query execution time threshold
|
|
575
|
+
* The query execution time threshold. Unit: milliseconds (ms).
|
|
543
576
|
*
|
|
544
577
|
* @example
|
|
545
578
|
* 180000
|
|
@@ -547,7 +580,7 @@ export class ModifyDBResourceGroupRequestRules extends $dara.Model {
|
|
|
547
580
|
queryTime?: string;
|
|
548
581
|
/**
|
|
549
582
|
* @remarks
|
|
550
|
-
* The
|
|
583
|
+
* The target resource group name.
|
|
551
584
|
*
|
|
552
585
|
* @example
|
|
553
586
|
* job
|
|
@@ -579,10 +612,14 @@ export class ModifyDBResourceGroupRequestRules extends $dara.Model {
|
|
|
579
612
|
}
|
|
580
613
|
|
|
581
614
|
export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
615
|
+
/**
|
|
616
|
+
* @remarks
|
|
617
|
+
* The PromQL resource group configuration.
|
|
618
|
+
*/
|
|
582
619
|
atmConfig?: ModifyDBResourceGroupRequestAtmConfig;
|
|
583
620
|
/**
|
|
584
621
|
* @remarks
|
|
585
|
-
* The
|
|
622
|
+
* The automatic stop interval.
|
|
586
623
|
*
|
|
587
624
|
* @example
|
|
588
625
|
* 5m
|
|
@@ -590,7 +627,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
590
627
|
autoStopInterval?: string;
|
|
591
628
|
/**
|
|
592
629
|
* @remarks
|
|
593
|
-
*
|
|
630
|
+
* A reserved parameter (not applicable).
|
|
594
631
|
*
|
|
595
632
|
* @example
|
|
596
633
|
* 无
|
|
@@ -598,7 +635,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
598
635
|
clusterMode?: string;
|
|
599
636
|
/**
|
|
600
637
|
* @remarks
|
|
601
|
-
*
|
|
638
|
+
* A reserved parameter (not applicable).
|
|
602
639
|
*
|
|
603
640
|
* @example
|
|
604
641
|
* 无
|
|
@@ -606,8 +643,8 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
606
643
|
clusterSizeResource?: string;
|
|
607
644
|
/**
|
|
608
645
|
* @remarks
|
|
609
|
-
* <props="china">The ID of the
|
|
610
|
-
* <props="intl">The ID of the Data Lakehouse Edition cluster.
|
|
646
|
+
* <props="china">The cluster ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
647
|
+
* <props="intl">The cluster ID of the Data Lakehouse Edition cluster.
|
|
611
648
|
*
|
|
612
649
|
* This parameter is required.
|
|
613
650
|
*
|
|
@@ -617,11 +654,9 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
617
654
|
DBClusterId?: string;
|
|
618
655
|
/**
|
|
619
656
|
* @remarks
|
|
620
|
-
* Specifies whether to enable the spot instance feature for the resource group.
|
|
621
|
-
*
|
|
622
|
-
* - **
|
|
623
|
-
*
|
|
624
|
-
* - **False**: disables the spot instance feature.
|
|
657
|
+
* Specifies whether to enable the spot instance feature for the resource group. After the spot instance feature is enabled, the unit price of resources is reduced, but the resources may be released. Only Job resource groups support this feature. Valid values:
|
|
658
|
+
* - **True**: Enables the spot instance feature.
|
|
659
|
+
* - **False**: Disables the spot instance feature.
|
|
625
660
|
*
|
|
626
661
|
* @example
|
|
627
662
|
* True
|
|
@@ -637,14 +672,13 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
637
672
|
engineParams?: { [key: string]: any };
|
|
638
673
|
/**
|
|
639
674
|
* @remarks
|
|
640
|
-
* The time-
|
|
675
|
+
* The GPU time-sharing elastic plan.
|
|
641
676
|
*/
|
|
642
677
|
gpuElasticPlan?: ModifyDBResourceGroupRequestGpuElasticPlan;
|
|
643
678
|
/**
|
|
644
679
|
* @remarks
|
|
645
|
-
* The
|
|
646
|
-
*
|
|
647
|
-
* > You can call the [DescribeDBResourceGroup](https://help.aliyun.com/document_detail/459446.html) operation to query the resource group name for a specific cluster.
|
|
680
|
+
* The resource group name.
|
|
681
|
+
* > You can call the [DescribeDBResourceGroup](https://help.aliyun.com/document_detail/459446.html) operation to query the resource group names of a specified cluster.
|
|
648
682
|
*
|
|
649
683
|
* This parameter is required.
|
|
650
684
|
*
|
|
@@ -654,13 +688,10 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
654
688
|
groupName?: string;
|
|
655
689
|
/**
|
|
656
690
|
* @remarks
|
|
657
|
-
* The
|
|
658
|
-
*
|
|
691
|
+
* The resource group type. Valid values:
|
|
659
692
|
* - **Interactive**
|
|
660
|
-
*
|
|
661
693
|
* - **Job**
|
|
662
|
-
*
|
|
663
|
-
* > For more information about resource groups in Data Lakehouse Edition clusters, see [Resource groups](https://help.aliyun.com/document_detail/428610.html).
|
|
694
|
+
* > For more information about Data Lakehouse Edition resource groups, see [Resource group overview](https://help.aliyun.com/document_detail/428610.html).
|
|
664
695
|
*
|
|
665
696
|
* This parameter is required.
|
|
666
697
|
*
|
|
@@ -670,7 +701,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
670
701
|
groupType?: string;
|
|
671
702
|
/**
|
|
672
703
|
* @remarks
|
|
673
|
-
*
|
|
704
|
+
* A reserved parameter (not applicable).
|
|
674
705
|
*
|
|
675
706
|
* @example
|
|
676
707
|
* 无
|
|
@@ -678,11 +709,9 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
678
709
|
maxClusterCount?: number;
|
|
679
710
|
/**
|
|
680
711
|
* @remarks
|
|
681
|
-
* The maximum
|
|
682
|
-
*
|
|
683
|
-
* - If the resource group type is
|
|
684
|
-
*
|
|
685
|
-
* - If the resource group type is `Job`, the value is specified in increments of 8 ACU.
|
|
712
|
+
* The maximum reserved computing resources.
|
|
713
|
+
* - If the resource group type is Interactive, the maximum reserved computing resources is the unallocated resources of the cluster, in increments of 16 ACUs.
|
|
714
|
+
* - If the resource group type is Job, the maximum reserved computing resources is the unallocated resources of the cluster, in increments of 8 ACUs.
|
|
686
715
|
*
|
|
687
716
|
* @example
|
|
688
717
|
* 48ACU
|
|
@@ -690,7 +719,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
690
719
|
maxComputeResource?: string;
|
|
691
720
|
/**
|
|
692
721
|
* @remarks
|
|
693
|
-
*
|
|
722
|
+
* A reserved parameter (not applicable).
|
|
694
723
|
*
|
|
695
724
|
* @example
|
|
696
725
|
* Reserved parameter. Not applicable.
|
|
@@ -698,7 +727,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
698
727
|
maxGpuQuantity?: number;
|
|
699
728
|
/**
|
|
700
729
|
* @remarks
|
|
701
|
-
*
|
|
730
|
+
* A reserved parameter (not applicable).
|
|
702
731
|
*
|
|
703
732
|
* @example
|
|
704
733
|
* 无
|
|
@@ -706,11 +735,9 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
706
735
|
minClusterCount?: number;
|
|
707
736
|
/**
|
|
708
737
|
* @remarks
|
|
709
|
-
* The minimum
|
|
710
|
-
*
|
|
711
|
-
* - If the resource group type is
|
|
712
|
-
*
|
|
713
|
-
* - If the resource group type is `Job`, the minimum amount of reserved computing resources is 0 ACU.
|
|
738
|
+
* The minimum reserved computing resources.
|
|
739
|
+
* - If the resource group type is Interactive, the minimum reserved computing resources is 16 ACUs.
|
|
740
|
+
* - If the resource group type is Job, the minimum reserved computing resources is 0 ACUs.
|
|
714
741
|
*
|
|
715
742
|
* @example
|
|
716
743
|
* 0ACU
|
|
@@ -718,7 +745,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
718
745
|
minComputeResource?: string;
|
|
719
746
|
/**
|
|
720
747
|
* @remarks
|
|
721
|
-
*
|
|
748
|
+
* A reserved parameter (not applicable).
|
|
722
749
|
*
|
|
723
750
|
* @example
|
|
724
751
|
* Reserved parameter. Not applicable.
|
|
@@ -726,14 +753,13 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
726
753
|
minGpuQuantity?: number;
|
|
727
754
|
/**
|
|
728
755
|
* @remarks
|
|
729
|
-
* The Ray configuration. This parameter is required
|
|
756
|
+
* The Ray configuration. This parameter is required when the resource group is an AI resource group and the corresponding engine is RayCluster.
|
|
730
757
|
*/
|
|
731
758
|
rayConfig?: ModifyDBResourceGroupRequestRayConfig;
|
|
732
759
|
/**
|
|
733
760
|
* @remarks
|
|
734
|
-
* The region ID
|
|
735
|
-
*
|
|
736
|
-
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query available regions.
|
|
761
|
+
* The region ID.
|
|
762
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the region ID of a specified cluster.
|
|
737
763
|
*
|
|
738
764
|
* @example
|
|
739
765
|
* cn-hangzhou
|
|
@@ -741,12 +767,12 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
741
767
|
regionId?: string;
|
|
742
768
|
/**
|
|
743
769
|
* @remarks
|
|
744
|
-
* The job
|
|
770
|
+
* The job routing rules.
|
|
745
771
|
*/
|
|
746
772
|
rules?: ModifyDBResourceGroupRequestRules[];
|
|
747
773
|
/**
|
|
748
774
|
* @remarks
|
|
749
|
-
*
|
|
775
|
+
* A reserved parameter (not applicable).
|
|
750
776
|
*
|
|
751
777
|
* @example
|
|
752
778
|
* Reserved parameter. Not applicable.
|
|
@@ -754,7 +780,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
754
780
|
specName?: string;
|
|
755
781
|
/**
|
|
756
782
|
* @remarks
|
|
757
|
-
* The
|
|
783
|
+
* The resource group status. **starting** indicates that the resource group is being started. **stopping** indicates that the resource group is being stopped.
|
|
758
784
|
*
|
|
759
785
|
* @example
|
|
760
786
|
* starting
|
|
@@ -762,7 +788,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
|
|
|
762
788
|
status?: string;
|
|
763
789
|
/**
|
|
764
790
|
* @remarks
|
|
765
|
-
*
|
|
791
|
+
* A reserved parameter (not applicable).
|
|
766
792
|
*
|
|
767
793
|
* @example
|
|
768
794
|
* Reserved parameter. Not applicable.
|