@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.
Files changed (28) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +8 -8
  3. package/dist/models/CreateDbresourceGroupRequest.d.ts +69 -15
  4. package/dist/models/CreateDbresourceGroupRequest.js +29 -1
  5. package/dist/models/CreateDbresourceGroupRequest.js.map +1 -1
  6. package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -9
  7. package/dist/models/CreateDbresourceGroupShrinkRequest.js.map +1 -1
  8. package/dist/models/DescribeDbresourceGroupRequest.d.ts +6 -6
  9. package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +56 -15
  10. package/dist/models/DescribeDbresourceGroupResponseBody.js +2 -0
  11. package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
  12. package/dist/models/ModifyDbresourceGroupRequest.d.ts +91 -67
  13. package/dist/models/ModifyDbresourceGroupRequest.js +2 -0
  14. package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
  15. package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +34 -41
  16. package/dist/models/ModifyDbresourceGroupShrinkRequest.js.map +1 -1
  17. package/dist/models/model.d.ts +1 -0
  18. package/dist/models/model.js +30 -28
  19. package/dist/models/model.js.map +1 -1
  20. package/package.json +1 -1
  21. package/src/client.ts +8 -8
  22. package/src/models/CreateDbresourceGroupRequest.ts +88 -15
  23. package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -9
  24. package/src/models/DescribeDbresourceGroupRequest.ts +6 -6
  25. package/src/models/DescribeDbresourceGroupResponseBody.ts +58 -15
  26. package/src/models/ModifyDbresourceGroupRequest.ts +93 -67
  27. package/src/models/ModifyDbresourceGroupShrinkRequest.ts +34 -41
  28. package/src/models/model.ts +1 -0
@@ -3,10 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The PromQL resource group configuration.
9
+ */
6
10
  atmConfigShrink?: string;
7
11
  /**
8
12
  * @remarks
9
- * The idle duration after which the resource group is automatically stopped.
13
+ * The automatic stop interval.
10
14
  *
11
15
  * @example
12
16
  * 5m
@@ -14,7 +18,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
14
18
  autoStopInterval?: string;
15
19
  /**
16
20
  * @remarks
17
- * This parameter is reserved.
21
+ * A reserved parameter (not applicable).
18
22
  *
19
23
  * @example
20
24
  * 无
@@ -22,7 +26,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
22
26
  clusterMode?: string;
23
27
  /**
24
28
  * @remarks
25
- * This parameter is reserved.
29
+ * A reserved parameter (not applicable).
26
30
  *
27
31
  * @example
28
32
  * 无
@@ -30,8 +34,8 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
30
34
  clusterSizeResource?: string;
31
35
  /**
32
36
  * @remarks
33
- * <props="china">The ID of the Data Lakehouse Edition, Enterprise Edition, or Basic Edition cluster.
34
- * <props="intl">The ID of the Data Lakehouse Edition cluster.
37
+ * <props="china">The cluster ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
38
+ * <props="intl">The cluster ID of the Data Lakehouse Edition cluster.
35
39
  *
36
40
  * This parameter is required.
37
41
  *
@@ -41,11 +45,9 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
41
45
  DBClusterId?: string;
42
46
  /**
43
47
  * @remarks
44
- * Specifies whether to enable the spot instance feature for the resource group. This feature provides resources at a lower unit price, but they can be reclaimed at any time. Only `Job` resource groups support this feature. Valid values:
45
- *
46
- * - **True**: enables the spot instance feature.
47
- *
48
- * - **False**: disables the spot instance feature.
48
+ * 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:
49
+ * - **True**: Enables the spot instance feature.
50
+ * - **False**: Disables the spot instance feature.
49
51
  *
50
52
  * @example
51
53
  * True
@@ -61,14 +63,13 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
61
63
  engineParamsShrink?: string;
62
64
  /**
63
65
  * @remarks
64
- * The time-based scaling plan for GPUs.
66
+ * The GPU time-sharing elastic plan.
65
67
  */
66
68
  gpuElasticPlanShrink?: string;
67
69
  /**
68
70
  * @remarks
69
- * The name of the resource group.
70
- *
71
- * > You can call the [DescribeDBResourceGroup](https://help.aliyun.com/document_detail/459446.html) operation to query the resource group name for a specific cluster.
71
+ * The resource group name.
72
+ * > You can call the [DescribeDBResourceGroup](https://help.aliyun.com/document_detail/459446.html) operation to query the resource group names of a specified cluster.
72
73
  *
73
74
  * This parameter is required.
74
75
  *
@@ -78,13 +79,10 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
78
79
  groupName?: string;
79
80
  /**
80
81
  * @remarks
81
- * The type of the resource group. Valid values:
82
- *
82
+ * The resource group type. Valid values:
83
83
  * - **Interactive**
84
- *
85
84
  * - **Job**
86
- *
87
- * > For more information about resource groups in Data Lakehouse Edition clusters, see [Resource groups](https://help.aliyun.com/document_detail/428610.html).
85
+ * > For more information about Data Lakehouse Edition resource groups, see [Resource group overview](https://help.aliyun.com/document_detail/428610.html).
88
86
  *
89
87
  * This parameter is required.
90
88
  *
@@ -94,7 +92,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
94
92
  groupType?: string;
95
93
  /**
96
94
  * @remarks
97
- * This parameter is reserved.
95
+ * A reserved parameter (not applicable).
98
96
  *
99
97
  * @example
100
98
  * 无
@@ -102,11 +100,9 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
102
100
  maxClusterCount?: number;
103
101
  /**
104
102
  * @remarks
105
- * The maximum amount of reserved computing resources. The value cannot exceed the unallocated computing resources of the cluster.
106
- *
107
- * - If the resource group type is `Interactive`, the value is specified in increments of 16 ACU.
108
- *
109
- * - If the resource group type is `Job`, the value is specified in increments of 8 ACU.
103
+ * The maximum reserved computing resources.
104
+ * - If the resource group type is Interactive, the maximum reserved computing resources is the unallocated resources of the cluster, in increments of 16 ACUs.
105
+ * - If the resource group type is Job, the maximum reserved computing resources is the unallocated resources of the cluster, in increments of 8 ACUs.
110
106
  *
111
107
  * @example
112
108
  * 48ACU
@@ -114,7 +110,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
114
110
  maxComputeResource?: string;
115
111
  /**
116
112
  * @remarks
117
- * This parameter is reserved.
113
+ * A reserved parameter (not applicable).
118
114
  *
119
115
  * @example
120
116
  * Reserved parameter. Not applicable.
@@ -122,7 +118,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
122
118
  maxGpuQuantity?: number;
123
119
  /**
124
120
  * @remarks
125
- * This parameter is reserved.
121
+ * A reserved parameter (not applicable).
126
122
  *
127
123
  * @example
128
124
  * 无
@@ -130,11 +126,9 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
130
126
  minClusterCount?: number;
131
127
  /**
132
128
  * @remarks
133
- * The minimum amount of reserved computing resources.
134
- *
135
- * - If the resource group type is `Interactive`, the minimum amount of reserved computing resources is 16 ACU.
136
- *
137
- * - If the resource group type is `Job`, the minimum amount of reserved computing resources is 0 ACU.
129
+ * The minimum reserved computing resources.
130
+ * - If the resource group type is Interactive, the minimum reserved computing resources is 16 ACUs.
131
+ * - If the resource group type is Job, the minimum reserved computing resources is 0 ACUs.
138
132
  *
139
133
  * @example
140
134
  * 0ACU
@@ -142,7 +136,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
142
136
  minComputeResource?: string;
143
137
  /**
144
138
  * @remarks
145
- * This parameter is reserved.
139
+ * A reserved parameter (not applicable).
146
140
  *
147
141
  * @example
148
142
  * Reserved parameter. Not applicable.
@@ -150,14 +144,13 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
150
144
  minGpuQuantity?: number;
151
145
  /**
152
146
  * @remarks
153
- * The Ray configuration. This parameter is required if the resource group is an AI group and uses a Ray cluster as its engine.
147
+ * The Ray configuration. This parameter is required when the resource group is an AI resource group and the corresponding engine is RayCluster.
154
148
  */
155
149
  rayConfigShrink?: string;
156
150
  /**
157
151
  * @remarks
158
- * The region ID of the cluster.
159
- *
160
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query available regions.
152
+ * The region ID.
153
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the region ID of a specified cluster.
161
154
  *
162
155
  * @example
163
156
  * cn-hangzhou
@@ -165,12 +158,12 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
165
158
  regionId?: string;
166
159
  /**
167
160
  * @remarks
168
- * The job submission rules.
161
+ * The job routing rules.
169
162
  */
170
163
  rulesShrink?: string;
171
164
  /**
172
165
  * @remarks
173
- * This parameter is reserved.
166
+ * A reserved parameter (not applicable).
174
167
  *
175
168
  * @example
176
169
  * Reserved parameter. Not applicable.
@@ -178,7 +171,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
178
171
  specName?: string;
179
172
  /**
180
173
  * @remarks
181
- * The desired state of the resource group. Specify **starting** to start the resource group or **stopping** to stop it.
174
+ * The resource group status. **starting** indicates that the resource group is being started. **stopping** indicates that the resource group is being stopped.
182
175
  *
183
176
  * @example
184
177
  * starting
@@ -186,7 +179,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $dara.Model {
186
179
  status?: string;
187
180
  /**
188
181
  * @remarks
189
- * This parameter is reserved.
182
+ * A reserved parameter (not applicable).
190
183
  *
191
184
  * @example
192
185
  * Reserved parameter. Not applicable.
@@ -24,6 +24,7 @@ export { CreateDBClusterRequestTag } from './CreateDbclusterRequest';
24
24
  export { CreateDBResourceGroupRequestAtmConfig } from './CreateDbresourceGroupRequest';
25
25
  export { CreateDBResourceGroupRequestGpuElasticPlanRules } from './CreateDbresourceGroupRequest';
26
26
  export { CreateDBResourceGroupRequestGpuElasticPlan } from './CreateDbresourceGroupRequest';
27
+ export { CreateDBResourceGroupRequestRayConfigStorageMounts } from './CreateDbresourceGroupRequest';
27
28
  export { CreateDBResourceGroupRequestRayConfigWorkerGroups } from './CreateDbresourceGroupRequest';
28
29
  export { CreateDBResourceGroupRequestRayConfig } from './CreateDbresourceGroupRequest';
29
30
  export { CreateDBResourceGroupRequestRules } from './CreateDbresourceGroupRequest';