@alicloud/adb20211201 5.1.1 → 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 +8 -8
- package/dist/client.js +8 -8
- 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/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 +8 -8
- package/src/models/CreateDbresourceGroupRequest.ts +88 -15
- package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -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 DescribeDBResourceGroupResponseBodyGroupsInfoAtmConfig 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?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The authentication node specifications.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 8ACU
|
|
14
20
|
*/
|
|
15
21
|
authNodeSpec?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of write nodes.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 1
|
|
19
28
|
*/
|
|
20
29
|
insertNodeNum?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The write node specifications.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* 8ACU
|
|
24
36
|
*/
|
|
25
37
|
insertNodeSpec?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The cache size of query nodes.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* 10
|
|
29
44
|
*/
|
|
30
45
|
selectNodeCacheSize?: string;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The number of query nodes.
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* 1
|
|
34
52
|
*/
|
|
35
53
|
selectNodeNum?: string;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The query node specifications.
|
|
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
|
* 100
|
|
44
68
|
*/
|
|
45
69
|
storageNodeDiskSize?: string;
|
|
46
70
|
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The disk type of storage nodes.
|
|
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?: string;
|
|
56
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The storage node specifications.
|
|
89
|
+
*
|
|
57
90
|
* @example
|
|
58
91
|
* 8ACU
|
|
59
92
|
*/
|
|
@@ -102,7 +135,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoAtmConfig extends $dar
|
|
|
102
135
|
export class DescribeDBResourceGroupResponseBodyGroupsInfoGpuElasticPlanRules extends $dara.Model {
|
|
103
136
|
/**
|
|
104
137
|
* @remarks
|
|
105
|
-
* The end time
|
|
138
|
+
* The end time in Cron expression format. The interval must be at least 1 hour.
|
|
106
139
|
*
|
|
107
140
|
* @example
|
|
108
141
|
* 0 0 3 * * ?
|
|
@@ -110,7 +143,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoGpuElasticPlanRules ex
|
|
|
110
143
|
endCronExpression?: string;
|
|
111
144
|
/**
|
|
112
145
|
* @remarks
|
|
113
|
-
* The start time
|
|
146
|
+
* The start time in Cron expression format. The interval must be at least 1 hour.
|
|
114
147
|
*
|
|
115
148
|
* @example
|
|
116
149
|
* 0 0 2 * * ?
|
|
@@ -299,10 +332,12 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigStorageMounts
|
|
|
299
332
|
* 1
|
|
300
333
|
*/
|
|
301
334
|
storageId?: number;
|
|
335
|
+
storageName?: string;
|
|
302
336
|
static names(): { [key: string]: string } {
|
|
303
337
|
return {
|
|
304
338
|
mountPath: 'MountPath',
|
|
305
339
|
storageId: 'StorageId',
|
|
340
|
+
storageName: 'StorageName',
|
|
306
341
|
};
|
|
307
342
|
}
|
|
308
343
|
|
|
@@ -310,6 +345,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigStorageMounts
|
|
|
310
345
|
return {
|
|
311
346
|
mountPath: 'string',
|
|
312
347
|
storageId: 'number',
|
|
348
|
+
storageName: 'string',
|
|
313
349
|
};
|
|
314
350
|
}
|
|
315
351
|
|
|
@@ -333,7 +369,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigWorkerGroups
|
|
|
333
369
|
allocateUnit?: string;
|
|
334
370
|
/**
|
|
335
371
|
* @remarks
|
|
336
|
-
* The
|
|
372
|
+
* The Ray worker group name.
|
|
337
373
|
*
|
|
338
374
|
* @example
|
|
339
375
|
* g01
|
|
@@ -357,7 +393,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfigWorkerGroups
|
|
|
357
393
|
minWorkerQuantity?: number;
|
|
358
394
|
/**
|
|
359
395
|
* @remarks
|
|
360
|
-
* The disk
|
|
396
|
+
* The disk capacity per worker.
|
|
361
397
|
*
|
|
362
398
|
* @example
|
|
363
399
|
* 100G
|
|
@@ -451,7 +487,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfig extends $dar
|
|
|
451
487
|
headAllocateUnit?: string;
|
|
452
488
|
/**
|
|
453
489
|
* @remarks
|
|
454
|
-
* The disk
|
|
490
|
+
* The disk capacity of the head node.
|
|
455
491
|
*
|
|
456
492
|
* @example
|
|
457
493
|
* 100Gi
|
|
@@ -498,6 +534,9 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRayConfig extends $dar
|
|
|
498
534
|
*/
|
|
499
535
|
rayGrafanaAddress?: string;
|
|
500
536
|
/**
|
|
537
|
+
* @remarks
|
|
538
|
+
* The Ray Serve public address.
|
|
539
|
+
*
|
|
501
540
|
* @example
|
|
502
541
|
* 1.2.3.4:8100
|
|
503
542
|
*/
|
|
@@ -580,7 +619,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRules extends $dara.Mo
|
|
|
580
619
|
groupName?: string;
|
|
581
620
|
/**
|
|
582
621
|
* @remarks
|
|
583
|
-
* The query execution time threshold
|
|
622
|
+
* The query execution time threshold, in milliseconds (ms).
|
|
584
623
|
*
|
|
585
624
|
* @example
|
|
586
625
|
* 180000
|
|
@@ -620,6 +659,10 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRules extends $dara.Mo
|
|
|
620
659
|
}
|
|
621
660
|
|
|
622
661
|
export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
662
|
+
/**
|
|
663
|
+
* @remarks
|
|
664
|
+
* The PromQL resource group configuration.
|
|
665
|
+
*/
|
|
623
666
|
atmConfig?: DescribeDBResourceGroupResponseBodyGroupsInfoAtmConfig;
|
|
624
667
|
/**
|
|
625
668
|
* @remarks
|
|
@@ -660,7 +703,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
660
703
|
clusterSizeResource?: string;
|
|
661
704
|
/**
|
|
662
705
|
* @remarks
|
|
663
|
-
* The time when the resource group was created
|
|
706
|
+
* The time when the resource group was created, in UTC. Format: <i>yyyy-MM-ddTHH:mm:ssZ</i>.
|
|
664
707
|
*
|
|
665
708
|
* @example
|
|
666
709
|
* 2022-08-29T03:34:30Z
|
|
@@ -668,7 +711,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
668
711
|
createTime?: string;
|
|
669
712
|
/**
|
|
670
713
|
* @remarks
|
|
671
|
-
* The minimum elastic computing resources
|
|
714
|
+
* The minimum elastic computing resources, in ACUs.
|
|
672
715
|
*
|
|
673
716
|
* @example
|
|
674
717
|
* 16ACU
|
|
@@ -676,7 +719,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
676
719
|
elasticMinComputeResource?: string;
|
|
677
720
|
/**
|
|
678
721
|
* @remarks
|
|
679
|
-
* Indicates whether the spot instance feature is enabled for the resource group. When the spot instance feature is enabled, the unit price of resources is reduced, but
|
|
722
|
+
* Indicates whether the spot instance feature is enabled for the resource group. When the spot instance feature is enabled, the unit price of resources is reduced, but instances may be released. Valid values:
|
|
680
723
|
* - **True**: The spot instance feature is enabled.
|
|
681
724
|
* - **False**: The spot instance feature is disabled.
|
|
682
725
|
*
|
|
@@ -717,7 +760,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
717
760
|
* The resource group type. Valid values:
|
|
718
761
|
* - **Interactive**
|
|
719
762
|
* - **Job**
|
|
720
|
-
* > For more information about resource groups in Data Lakehouse Edition, see [Resource group
|
|
763
|
+
* > For more information about resource groups in Data Lakehouse Edition, see [Resource group introduction (Data Lakehouse Edition)](https://help.aliyun.com/document_detail/428610.html).
|
|
721
764
|
*
|
|
722
765
|
* @example
|
|
723
766
|
* Job
|
|
@@ -741,7 +784,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
741
784
|
maxClusterCount?: number;
|
|
742
785
|
/**
|
|
743
786
|
* @remarks
|
|
744
|
-
* The maximum reserved computing resources
|
|
787
|
+
* The maximum reserved computing resources, in ACUs.
|
|
745
788
|
*
|
|
746
789
|
* @example
|
|
747
790
|
* 512ACU
|
|
@@ -775,7 +818,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
775
818
|
minClusterCount?: number;
|
|
776
819
|
/**
|
|
777
820
|
* @remarks
|
|
778
|
-
* The minimum reserved computing resources
|
|
821
|
+
* The minimum reserved computing resources, in ACUs.
|
|
779
822
|
*
|
|
780
823
|
* @example
|
|
781
824
|
* 0ACU
|
|
@@ -809,7 +852,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
809
852
|
runningClusterCount?: number;
|
|
810
853
|
/**
|
|
811
854
|
* @remarks
|
|
812
|
-
* The
|
|
855
|
+
* The scaling policy of the resource group. Valid values:
|
|
813
856
|
*
|
|
814
857
|
* - AutoScaling: enables the AutoScaling automatic scaling policy.
|
|
815
858
|
* - Disable: disables automatic scaling.
|
|
@@ -829,7 +872,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
829
872
|
specName?: string;
|
|
830
873
|
/**
|
|
831
874
|
* @remarks
|
|
832
|
-
* The
|
|
875
|
+
* The resource group status. Valid values:
|
|
833
876
|
* - **creating**: being created
|
|
834
877
|
* - **ok**: created
|
|
835
878
|
* - **pendingdelete**: pending deletion
|
|
@@ -848,7 +891,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $dara.Model {
|
|
|
848
891
|
targetResourceGroupName?: string;
|
|
849
892
|
/**
|
|
850
893
|
* @remarks
|
|
851
|
-
* The time when the resource group was last updated
|
|
894
|
+
* The time when the resource group was last updated, in UTC. Format: <i>yyyy-MM-ddTHH:mm:ssZ</i>.
|
|
852
895
|
*
|
|
853
896
|
* @example
|
|
854
897
|
* 2022-08-31T03:34:30Z
|