@alicloud/cs20151215 7.0.3 → 7.0.5
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 +38 -50
- package/dist/client.js +72 -79
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +174 -649
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +195 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +107 -250
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +128 -209
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +73 -79
- package/src/models/CreateClusterNodePoolRequest.ts +204 -370
- package/src/models/CreateClusterRequest.ts +191 -649
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +147 -209
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +7 -0
|
@@ -8,9 +8,7 @@ import { Taint } from "./Taint";
|
|
|
8
8
|
export declare class NodepoolAutoScaling extends $dara.Model {
|
|
9
9
|
/**
|
|
10
10
|
* @remarks
|
|
11
|
-
* [
|
|
12
|
-
*
|
|
13
|
-
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
11
|
+
* **[Deprecated]**
|
|
14
12
|
*
|
|
15
13
|
* @example
|
|
16
14
|
* 5
|
|
@@ -20,14 +18,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
20
18
|
eipBandwidth?: number;
|
|
21
19
|
/**
|
|
22
20
|
* @remarks
|
|
23
|
-
* [
|
|
24
|
-
*
|
|
25
|
-
* The billing method of the EIP. Valid values:
|
|
26
|
-
*
|
|
27
|
-
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
28
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
29
|
-
*
|
|
30
|
-
* Default value: PayByBandwidth.
|
|
21
|
+
* **[Deprecated]**
|
|
31
22
|
*
|
|
32
23
|
* @example
|
|
33
24
|
* PayByBandwidth
|
|
@@ -37,10 +28,10 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
37
28
|
eipInternetChargeType?: string;
|
|
38
29
|
/**
|
|
39
30
|
* @remarks
|
|
40
|
-
* Specifies whether to enable
|
|
31
|
+
* Specifies whether to enable automatic scaling.
|
|
41
32
|
*
|
|
42
|
-
* - `true`: Enables the
|
|
43
|
-
* - `false`: Disables
|
|
33
|
+
* - `true`: Enables the automatic scaling feature for the node pool.
|
|
34
|
+
* - `false`: Disables automatic scaling. If this parameter is set to `false`, other configuration parameters in `auto_scaling` do not take effect.
|
|
44
35
|
*
|
|
45
36
|
* Default value: `false`.
|
|
46
37
|
*
|
|
@@ -52,9 +43,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
52
43
|
enable?: boolean;
|
|
53
44
|
/**
|
|
54
45
|
* @remarks
|
|
55
|
-
* [
|
|
46
|
+
* **[Deprecated]**
|
|
56
47
|
*
|
|
57
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
48
|
+
* Specifies whether to associate an elastic IP address (EIP). Valid values:
|
|
58
49
|
*
|
|
59
50
|
* - `true`: Associates an EIP.
|
|
60
51
|
* - `false`: Does not associate an EIP.
|
|
@@ -89,14 +80,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
89
80
|
minInstances?: number;
|
|
90
81
|
/**
|
|
91
82
|
* @remarks
|
|
92
|
-
* The auto scaling type, classified by instance type. Valid values:
|
|
93
|
-
*
|
|
94
|
-
* - `cpu`: regular instance type.
|
|
95
|
-
* - `gpu`: GPU instance type.
|
|
96
|
-
* - `gpushare`: GPU shared type.
|
|
97
|
-
* - `spot`: spot instance type.
|
|
98
|
-
*
|
|
99
|
-
* Default value: `cpu`.
|
|
83
|
+
* The auto scaling type, classified by auto scaling instance type. Valid values:
|
|
100
84
|
*
|
|
101
85
|
* @example
|
|
102
86
|
* cpu
|
|
@@ -116,9 +100,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
116
100
|
export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
117
101
|
/**
|
|
118
102
|
* @remarks
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* 边缘增强型节点池的网络带宽,单位:Mbps。
|
|
103
|
+
* **[Deprecated]**
|
|
122
104
|
*
|
|
123
105
|
* @example
|
|
124
106
|
* 10
|
|
@@ -128,9 +110,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
128
110
|
bandwidth?: number;
|
|
129
111
|
/**
|
|
130
112
|
* @remarks
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
* 边缘增强型节点池绑定的云连接网实例ID(CCNID)。
|
|
113
|
+
* **[Deprecated]**
|
|
134
114
|
*
|
|
135
115
|
* @example
|
|
136
116
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -140,9 +120,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
140
120
|
ccnId?: string;
|
|
141
121
|
/**
|
|
142
122
|
* @remarks
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* 边缘增强型节点池绑定的云连接网实例所属的地域。
|
|
123
|
+
* **[Deprecated]**
|
|
146
124
|
*
|
|
147
125
|
* @example
|
|
148
126
|
* cn-shanghai
|
|
@@ -152,9 +130,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
152
130
|
ccnRegionId?: string;
|
|
153
131
|
/**
|
|
154
132
|
* @remarks
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* 边缘增强型节点池绑定的云企业网实例ID(CENID)。
|
|
133
|
+
* **[Deprecated]**
|
|
158
134
|
*
|
|
159
135
|
* @example
|
|
160
136
|
* cen-ey9k9nfhz0f*******
|
|
@@ -164,9 +140,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
164
140
|
cenId?: string;
|
|
165
141
|
/**
|
|
166
142
|
* @remarks
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* 边缘增强型节点池的购买时长,单位:月。
|
|
143
|
+
* **[Deprecated]**
|
|
170
144
|
*
|
|
171
145
|
* @example
|
|
172
146
|
* 1
|
|
@@ -201,12 +175,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
201
175
|
cmsEnabled?: boolean;
|
|
202
176
|
/**
|
|
203
177
|
* @remarks
|
|
204
|
-
* The CPU management policy for nodes. The following two policies are supported
|
|
205
|
-
*
|
|
206
|
-
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
207
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
208
|
-
*
|
|
209
|
-
* Default value: `none`.
|
|
178
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
210
179
|
*
|
|
211
180
|
* @example
|
|
212
181
|
* none
|
|
@@ -214,18 +183,13 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
214
183
|
cpuPolicy?: string;
|
|
215
184
|
/**
|
|
216
185
|
* @remarks
|
|
217
|
-
* The node labels.
|
|
186
|
+
* The node labels. Labels are added to the nodes in the Kubernetes cluster.
|
|
218
187
|
*/
|
|
219
188
|
labels?: Tag[];
|
|
220
189
|
/**
|
|
221
190
|
* @remarks
|
|
222
191
|
* The node name consists of three parts: prefix + node IP + suffix:
|
|
223
192
|
*
|
|
224
|
-
* - Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit.
|
|
225
|
-
* - The node IP is the complete private IP address of the node.
|
|
226
|
-
*
|
|
227
|
-
* The parameter contains four parts separated by commas. For example, if you pass in the string "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
|
|
228
|
-
*
|
|
229
193
|
* @example
|
|
230
194
|
* customized,aliyun,ip,com
|
|
231
195
|
*/
|
|
@@ -233,9 +197,9 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
233
197
|
/**
|
|
234
198
|
* @remarks
|
|
235
199
|
* The container runtime. Valid values:
|
|
236
|
-
* - `containerd`: Recommended.
|
|
237
|
-
* - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation.
|
|
238
|
-
* - `docker`:
|
|
200
|
+
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
201
|
+
* - `Sandboxed-Container.runv`: Sandboxed container runtime that provides higher isolation. Supported by clusters of version 1.24 and earlier.
|
|
202
|
+
* - `docker`: Supported by clusters of version 1.22 and earlier.
|
|
239
203
|
*
|
|
240
204
|
* Default value: `containerd`
|
|
241
205
|
*
|
|
@@ -262,7 +226,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
262
226
|
taints?: Taint[];
|
|
263
227
|
/**
|
|
264
228
|
* @remarks
|
|
265
|
-
* The
|
|
229
|
+
* The custom data for nodes.
|
|
266
230
|
*
|
|
267
231
|
* @example
|
|
268
232
|
* MXM=
|
|
@@ -280,6 +244,16 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
280
244
|
});
|
|
281
245
|
}
|
|
282
246
|
export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
247
|
+
/**
|
|
248
|
+
* @example
|
|
249
|
+
* 5
|
|
250
|
+
*/
|
|
251
|
+
maxParallelRepairingNodes?: string;
|
|
252
|
+
/**
|
|
253
|
+
* @example
|
|
254
|
+
* 20%
|
|
255
|
+
*/
|
|
256
|
+
maxUnhealthyNodesThreshold?: string;
|
|
283
257
|
/**
|
|
284
258
|
* @remarks
|
|
285
259
|
* Specifies whether to allow node restart.
|
|
@@ -302,7 +276,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
302
276
|
export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
303
277
|
/**
|
|
304
278
|
* @remarks
|
|
305
|
-
*
|
|
279
|
+
* Specifies whether to allow automatic kubelet upgrade.
|
|
306
280
|
*
|
|
307
281
|
* @example
|
|
308
282
|
* true
|
|
@@ -330,7 +304,7 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
330
304
|
restartNode?: boolean;
|
|
331
305
|
/**
|
|
332
306
|
* @remarks
|
|
333
|
-
*
|
|
307
|
+
* The vulnerability levels that are allowed for automatic fix, separated by commas.
|
|
334
308
|
*
|
|
335
309
|
* @example
|
|
336
310
|
* asap,nntf
|
|
@@ -352,9 +326,6 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
352
326
|
* @remarks
|
|
353
327
|
* Specifies whether to enable auto upgrade. Valid values:
|
|
354
328
|
*
|
|
355
|
-
* - `true`: Enables auto upgrade.
|
|
356
|
-
* - `false`: Disables auto upgrade.
|
|
357
|
-
*
|
|
358
329
|
* @example
|
|
359
330
|
* false
|
|
360
331
|
*/
|
|
@@ -363,8 +334,6 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
363
334
|
* @remarks
|
|
364
335
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
365
336
|
*
|
|
366
|
-
* Default value: 1.
|
|
367
|
-
*
|
|
368
337
|
* @example
|
|
369
338
|
* 0
|
|
370
339
|
*/
|
|
@@ -379,7 +348,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
379
348
|
surge?: number;
|
|
380
349
|
/**
|
|
381
350
|
* @remarks
|
|
382
|
-
* The extra
|
|
351
|
+
* The percentage of extra nodes. You can set either this parameter or `surge`.
|
|
383
352
|
*
|
|
384
353
|
* @example
|
|
385
354
|
* 0
|
|
@@ -397,13 +366,17 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
397
366
|
});
|
|
398
367
|
}
|
|
399
368
|
export declare class NodepoolManagement extends $dara.Model {
|
|
369
|
+
/**
|
|
370
|
+
* @remarks
|
|
371
|
+
* Specifies whether to enable node self-healing ECS fault detection.
|
|
372
|
+
*/
|
|
400
373
|
autoFaultDiagnosis?: boolean;
|
|
401
374
|
/**
|
|
402
375
|
* @remarks
|
|
403
|
-
* Specifies whether to enable
|
|
376
|
+
* Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
|
|
404
377
|
*
|
|
405
|
-
* - `true`: Enables
|
|
406
|
-
* - `false`: Disables
|
|
378
|
+
* - `true`: Enables automatic repair.
|
|
379
|
+
* - `false`: Disables automatic repair.
|
|
407
380
|
*
|
|
408
381
|
* @example
|
|
409
382
|
* false
|
|
@@ -416,7 +389,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
416
389
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
417
390
|
/**
|
|
418
391
|
* @remarks
|
|
419
|
-
*
|
|
392
|
+
* Specifies whether to enable auto upgrade.
|
|
420
393
|
*
|
|
421
394
|
* @example
|
|
422
395
|
* true
|
|
@@ -424,13 +397,12 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
424
397
|
autoUpgrade?: boolean;
|
|
425
398
|
/**
|
|
426
399
|
* @remarks
|
|
427
|
-
*
|
|
400
|
+
* The auto upgrade policy.
|
|
428
401
|
*/
|
|
429
402
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
430
403
|
/**
|
|
431
404
|
* @remarks
|
|
432
405
|
* Specifies whether to automatically fix CVEs.
|
|
433
|
-
* [properties.management.properties.auto_v
|
|
434
406
|
*
|
|
435
407
|
* @example
|
|
436
408
|
* true
|
|
@@ -438,17 +410,18 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
438
410
|
autoVulFix?: boolean;
|
|
439
411
|
/**
|
|
440
412
|
* @remarks
|
|
441
|
-
*
|
|
413
|
+
* The auto CVE fix policy.
|
|
442
414
|
*/
|
|
443
415
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
416
|
+
/**
|
|
417
|
+
* @remarks
|
|
418
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
|
|
419
|
+
*/
|
|
444
420
|
driftEnabled?: boolean;
|
|
445
421
|
/**
|
|
446
422
|
* @remarks
|
|
447
423
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
448
424
|
*
|
|
449
|
-
* - `true`: Enables the managed node pool.
|
|
450
|
-
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
451
|
-
*
|
|
452
425
|
* @example
|
|
453
426
|
* false
|
|
454
427
|
*/
|
|
@@ -474,7 +447,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
474
447
|
export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
475
448
|
/**
|
|
476
449
|
* @remarks
|
|
477
|
-
*
|
|
450
|
+
* The custom configuration of node components.
|
|
478
451
|
*
|
|
479
452
|
* @example
|
|
480
453
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -496,12 +469,12 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
496
469
|
export declare class NodepoolNodeComponents extends $dara.Model {
|
|
497
470
|
/**
|
|
498
471
|
* @remarks
|
|
499
|
-
*
|
|
472
|
+
* The node component configuration.
|
|
500
473
|
*/
|
|
501
474
|
config?: NodepoolNodeComponentsConfig;
|
|
502
475
|
/**
|
|
503
476
|
* @remarks
|
|
504
|
-
*
|
|
477
|
+
* The node component name.
|
|
505
478
|
*
|
|
506
479
|
* @example
|
|
507
480
|
* kubelet
|
|
@@ -509,7 +482,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
509
482
|
name?: string;
|
|
510
483
|
/**
|
|
511
484
|
* @remarks
|
|
512
|
-
*
|
|
485
|
+
* The node component version.
|
|
513
486
|
*
|
|
514
487
|
* @example
|
|
515
488
|
* 1.33.3-aliyun.1
|
|
@@ -529,7 +502,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
529
502
|
export declare class NodepoolNodeConfig extends $dara.Model {
|
|
530
503
|
/**
|
|
531
504
|
* @remarks
|
|
532
|
-
*
|
|
505
|
+
* The kubelet parameter settings.
|
|
533
506
|
*/
|
|
534
507
|
kubeletConfiguration?: KubeletConfig;
|
|
535
508
|
static names(): {
|
|
@@ -556,7 +529,7 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
556
529
|
name?: string;
|
|
557
530
|
/**
|
|
558
531
|
* @remarks
|
|
559
|
-
* The resource group
|
|
532
|
+
* The ID of the resource group to which the node pool belongs.
|
|
560
533
|
*
|
|
561
534
|
* @example
|
|
562
535
|
* rg-acfmyvw3wjm****
|
|
@@ -566,9 +539,6 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
566
539
|
* @remarks
|
|
567
540
|
* The node pool type. Valid values:
|
|
568
541
|
*
|
|
569
|
-
* - `ess`: node pool.
|
|
570
|
-
* - `edge`: edge node pool.
|
|
571
|
-
*
|
|
572
542
|
* @example
|
|
573
543
|
* ess
|
|
574
544
|
*/
|
|
@@ -584,10 +554,30 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
584
554
|
[key: string]: any;
|
|
585
555
|
});
|
|
586
556
|
}
|
|
557
|
+
export declare class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
558
|
+
/**
|
|
559
|
+
* @remarks
|
|
560
|
+
* Specifies whether to enable nested virtualization. Valid values:
|
|
561
|
+
*
|
|
562
|
+
* @example
|
|
563
|
+
* enabled
|
|
564
|
+
*/
|
|
565
|
+
nestedVirtualization?: string;
|
|
566
|
+
static names(): {
|
|
567
|
+
[key: string]: string;
|
|
568
|
+
};
|
|
569
|
+
static types(): {
|
|
570
|
+
[key: string]: any;
|
|
571
|
+
};
|
|
572
|
+
validate(): void;
|
|
573
|
+
constructor(map?: {
|
|
574
|
+
[key: string]: any;
|
|
575
|
+
});
|
|
576
|
+
}
|
|
587
577
|
export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
588
578
|
/**
|
|
589
579
|
* @remarks
|
|
590
|
-
* The private pool ID.
|
|
580
|
+
* The private node pool ID.
|
|
591
581
|
*
|
|
592
582
|
* @example
|
|
593
583
|
* eap-bp67acfmxazb4****
|
|
@@ -595,13 +585,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
595
585
|
id?: string;
|
|
596
586
|
/**
|
|
597
587
|
* @remarks
|
|
598
|
-
* The private pool
|
|
588
|
+
* The type of the private node pool. Specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during startup. Valid values:
|
|
599
589
|
*
|
|
600
|
-
* - `Open`:
|
|
590
|
+
* - `Open`: open mode. The instance automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to start the instance.
|
|
601
591
|
*
|
|
602
|
-
* - `Target`:
|
|
592
|
+
* - `Target`: targeted mode. The instance is started using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to start.
|
|
603
593
|
*
|
|
604
|
-
* - `None`:
|
|
594
|
+
* - `None`: none mode. The instance does not use private pool capacity during startup.
|
|
605
595
|
*
|
|
606
596
|
* @example
|
|
607
597
|
* Open
|
|
@@ -621,15 +611,17 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
621
611
|
export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
622
612
|
/**
|
|
623
613
|
* @remarks
|
|
624
|
-
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be
|
|
614
|
+
* The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
625
615
|
*/
|
|
626
616
|
privatePoolIds?: string[];
|
|
627
617
|
/**
|
|
628
618
|
* @remarks
|
|
629
|
-
* The resource pool
|
|
630
|
-
*
|
|
631
|
-
*
|
|
632
|
-
*
|
|
619
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after Elasticity Assurance or Capacity Reservation takes effect, as well as public pools, which are available for instance startup. Valid values:
|
|
620
|
+
*
|
|
621
|
+
* PrivatePoolFirst: private pool first. When this strategy is selected, if resource_pool_options.private_pool_ids is specified, the specified private pools are used preferentially. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
622
|
+
* PrivatePoolOnly: private pool only. When this strategy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
623
|
+
* None: no resource pool strategy is used.
|
|
624
|
+
*
|
|
633
625
|
* Default value: None.
|
|
634
626
|
*
|
|
635
627
|
* @example
|
|
@@ -708,22 +700,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
708
700
|
* @remarks
|
|
709
701
|
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
710
702
|
*
|
|
711
|
-
* - `true`: Enables auto-renewal.
|
|
712
|
-
* - `false`: Disables auto-renewal.
|
|
713
|
-
*
|
|
714
|
-
* Default value: `true`.
|
|
715
|
-
*
|
|
716
703
|
* @example
|
|
717
704
|
* false
|
|
718
705
|
*/
|
|
719
706
|
autoRenew?: boolean;
|
|
720
707
|
/**
|
|
721
708
|
* @remarks
|
|
722
|
-
* The auto-renewal
|
|
723
|
-
*
|
|
724
|
-
* When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
|
|
725
|
-
*
|
|
726
|
-
* Default value: 1.
|
|
709
|
+
* The auto-renewal epoch for the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
727
710
|
*
|
|
728
711
|
* @example
|
|
729
712
|
* 0
|
|
@@ -731,15 +714,20 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
731
714
|
autoRenewPeriod?: number;
|
|
732
715
|
/**
|
|
733
716
|
* @remarks
|
|
734
|
-
*
|
|
717
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
735
718
|
*
|
|
736
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
737
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
719
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
720
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
738
721
|
*
|
|
739
722
|
* @example
|
|
740
723
|
* true
|
|
741
724
|
*/
|
|
742
725
|
compensateWithOnDemand?: boolean;
|
|
726
|
+
/**
|
|
727
|
+
* @remarks
|
|
728
|
+
* The CPU configuration options.
|
|
729
|
+
*/
|
|
730
|
+
cpuOptions?: NodepoolScalingGroupCpuOptions;
|
|
743
731
|
/**
|
|
744
732
|
* @remarks
|
|
745
733
|
* The data cloud disk configuration for nodes in the node pool.
|
|
@@ -776,7 +764,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
776
764
|
imageId?: string;
|
|
777
765
|
/**
|
|
778
766
|
* @remarks
|
|
779
|
-
* The operating system image type.
|
|
767
|
+
* The operating system image type. You can specify either this parameter or the platform parameter. Valid values:
|
|
780
768
|
*
|
|
781
769
|
* - `AliyunLinux`: Alinux2 image.
|
|
782
770
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -795,11 +783,6 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
795
783
|
* @remarks
|
|
796
784
|
* The billing method for nodes in the node pool. Valid values:
|
|
797
785
|
*
|
|
798
|
-
* - `PrePaid`: subscription.
|
|
799
|
-
* - `PostPaid`: pay-as-you-go.
|
|
800
|
-
*
|
|
801
|
-
* Default value: `PostPaid`.
|
|
802
|
-
*
|
|
803
786
|
* This parameter is required.
|
|
804
787
|
*
|
|
805
788
|
* @example
|
|
@@ -808,8 +791,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
808
791
|
instanceChargeType?: string;
|
|
809
792
|
/**
|
|
810
793
|
* @remarks
|
|
811
|
-
* The
|
|
812
|
-
* This parameter is currently available only to accounts on the whitelist. Submit a ticket to apply.
|
|
794
|
+
* The metadata access configuration for ECS instances.
|
|
813
795
|
*/
|
|
814
796
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
815
797
|
/**
|
|
@@ -821,10 +803,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
821
803
|
instanceTypes?: string[];
|
|
822
804
|
/**
|
|
823
805
|
* @remarks
|
|
824
|
-
* The billing
|
|
825
|
-
*
|
|
826
|
-
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
827
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
806
|
+
* The billing type for public IP addresses. Valid values:
|
|
828
807
|
*
|
|
829
808
|
* @example
|
|
830
809
|
* PayByBandwidth
|
|
@@ -832,7 +811,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
832
811
|
internetChargeType?: string;
|
|
833
812
|
/**
|
|
834
813
|
* @remarks
|
|
835
|
-
* The maximum outbound bandwidth for node public IP addresses. Unit:
|
|
814
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbps (Mega bit per second). Valid values: [1,100].
|
|
836
815
|
*
|
|
837
816
|
* @example
|
|
838
817
|
* 10
|
|
@@ -842,15 +821,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
842
821
|
* @remarks
|
|
843
822
|
* The key pair name. Specify either this parameter or `login_password`.
|
|
844
823
|
*
|
|
845
|
-
* > If you create a managed node pool, only `key_pair` is supported.
|
|
846
|
-
*
|
|
847
824
|
* @example
|
|
848
825
|
* np-key
|
|
849
826
|
*/
|
|
850
827
|
keyPair?: string;
|
|
851
828
|
/**
|
|
852
829
|
* @remarks
|
|
853
|
-
* Specifies whether to
|
|
830
|
+
* Specifies whether to log on to scaled-out ECS instances as a non-root user.
|
|
854
831
|
*/
|
|
855
832
|
loginAsNonRoot?: boolean;
|
|
856
833
|
/**
|
|
@@ -865,13 +842,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
865
842
|
* @remarks
|
|
866
843
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
867
844
|
*
|
|
868
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N)
|
|
845
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the next-priority vSwitch is automatically used to create ECS instances.
|
|
869
846
|
*
|
|
870
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order
|
|
847
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order from the lowest to the highest vCPU unit price. When the scaling configuration specifies multiple instance types with the spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
871
848
|
*
|
|
872
849
|
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
873
850
|
*
|
|
874
|
-
* - `BALANCE`: Evenly
|
|
851
|
+
* - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the RebalanceInstances API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
875
852
|
*
|
|
876
853
|
* Default value: `PRIORITY`.
|
|
877
854
|
*
|
|
@@ -889,7 +866,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
889
866
|
onDemandBaseCapacity?: number;
|
|
890
867
|
/**
|
|
891
868
|
* @remarks
|
|
892
|
-
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100].
|
|
869
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100].
|
|
893
870
|
*
|
|
894
871
|
* @example
|
|
895
872
|
* 20
|
|
@@ -897,9 +874,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
897
874
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
898
875
|
/**
|
|
899
876
|
* @remarks
|
|
900
|
-
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
901
|
-
*
|
|
902
|
-
* Default value: 1.
|
|
877
|
+
* The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. Valid values: when `period_unit` is set to Month, the valid values of `period` are: {1, 2, 3, 6, 12}.
|
|
903
878
|
*
|
|
904
879
|
* @example
|
|
905
880
|
* 0
|
|
@@ -907,9 +882,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
907
882
|
period?: number;
|
|
908
883
|
/**
|
|
909
884
|
* @remarks
|
|
910
|
-
* The
|
|
911
|
-
*
|
|
912
|
-
* `Month`: Currently only month is supported as the unit.
|
|
885
|
+
* The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
913
886
|
*
|
|
914
887
|
* @example
|
|
915
888
|
* Month
|
|
@@ -919,13 +892,6 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
919
892
|
* @remarks
|
|
920
893
|
* The operating system distribution. Valid values:
|
|
921
894
|
*
|
|
922
|
-
* - `CentOS`
|
|
923
|
-
* - `AliyunLinux`
|
|
924
|
-
* - `Windows`
|
|
925
|
-
* - `WindowsCore`
|
|
926
|
-
*
|
|
927
|
-
* Default value: `AliyunLinux`.
|
|
928
|
-
*
|
|
929
895
|
* @example
|
|
930
896
|
* AliyunLinux
|
|
931
897
|
*
|
|
@@ -934,13 +900,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
934
900
|
platform?: string;
|
|
935
901
|
/**
|
|
936
902
|
* @remarks
|
|
937
|
-
* The private pool configuration.
|
|
903
|
+
* The private node pool configuration.
|
|
938
904
|
*/
|
|
939
905
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
940
906
|
/**
|
|
941
907
|
* @remarks
|
|
942
908
|
* The Worker RAM role name.
|
|
943
|
-
* >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
|
|
944
909
|
*
|
|
945
910
|
* @example
|
|
946
911
|
* example-role
|
|
@@ -953,20 +918,13 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
953
918
|
rdsInstances?: string[];
|
|
954
919
|
/**
|
|
955
920
|
* @remarks
|
|
956
|
-
* The resource pool and resource pool policy used when creating instances.
|
|
957
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
958
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
921
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
959
922
|
*/
|
|
960
923
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
961
924
|
/**
|
|
962
925
|
* @remarks
|
|
963
926
|
* The scaling group mode. Valid values:
|
|
964
927
|
*
|
|
965
|
-
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
966
|
-
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances to improve the speed of subsequent scaling operations (compute resources are not charged during stop, only storage fees are charged, except for local disk instance types).
|
|
967
|
-
*
|
|
968
|
-
* Default value: `release`.
|
|
969
|
-
*
|
|
970
928
|
* @example
|
|
971
929
|
* release
|
|
972
930
|
*/
|
|
@@ -981,12 +939,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
981
939
|
securityGroupId?: string;
|
|
982
940
|
/**
|
|
983
941
|
* @remarks
|
|
984
|
-
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`.
|
|
942
|
+
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
985
943
|
*/
|
|
986
944
|
securityGroupIds?: string[];
|
|
987
945
|
/**
|
|
988
946
|
* @remarks
|
|
989
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
947
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost in a balanced manner. Valid values: [1,10].
|
|
990
948
|
*
|
|
991
949
|
* @example
|
|
992
950
|
* 5
|
|
@@ -994,10 +952,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
994
952
|
spotInstancePools?: number;
|
|
995
953
|
/**
|
|
996
954
|
* @remarks
|
|
997
|
-
* Specifies whether to enable
|
|
998
|
-
*
|
|
999
|
-
* - `true`: Enables supplementing spot instances.
|
|
1000
|
-
* - `false`: Disables supplementing spot instances.
|
|
955
|
+
* Specifies whether to enable supplementation of spot instances. If enabled, when the system sends a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1001
956
|
*
|
|
1002
957
|
* @example
|
|
1003
958
|
* false
|
|
@@ -1005,17 +960,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1005
960
|
spotInstanceRemedy?: boolean;
|
|
1006
961
|
/**
|
|
1007
962
|
* @remarks
|
|
1008
|
-
* The
|
|
963
|
+
* The price range configuration for a single spot instance type.
|
|
1009
964
|
*/
|
|
1010
965
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1011
966
|
/**
|
|
1012
967
|
* @remarks
|
|
1013
|
-
* The
|
|
1014
|
-
* - NoSpot: non-spot instance.
|
|
1015
|
-
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1016
|
-
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1017
|
-
*
|
|
1018
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
968
|
+
* The spot instance type. Valid values:
|
|
1019
969
|
*
|
|
1020
970
|
* @example
|
|
1021
971
|
* NoSpot
|
|
@@ -1023,12 +973,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1023
973
|
spotStrategy?: string;
|
|
1024
974
|
/**
|
|
1025
975
|
* @remarks
|
|
1026
|
-
* Specifies whether to enable burst (
|
|
1027
|
-
*
|
|
1028
|
-
* - true: Enabled.
|
|
1029
|
-
* - false: Disabled.
|
|
1030
|
-
*
|
|
1031
|
-
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
976
|
+
* Specifies whether to enable burst (I/O burst) for the node system cloud disk. Valid values:
|
|
1032
977
|
*
|
|
1033
978
|
* @example
|
|
1034
979
|
* true
|
|
@@ -1036,25 +981,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1036
981
|
systemDiskBurstingEnabled?: boolean;
|
|
1037
982
|
/**
|
|
1038
983
|
* @remarks
|
|
1039
|
-
*
|
|
1040
|
-
*
|
|
1041
|
-
* - cloud: basic cloud disk.
|
|
1042
|
-
* - cloud_efficiency: ultra cloud disk.
|
|
1043
|
-
* - cloud_ssd: standard SSD.
|
|
1044
|
-
* - cloud_essd: ESSD.
|
|
984
|
+
* The multiple cloud disk types for the system cloud disk. If the highest-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk. Valid values:
|
|
1045
985
|
*/
|
|
1046
986
|
systemDiskCategories?: string[];
|
|
1047
987
|
/**
|
|
1048
988
|
* @remarks
|
|
1049
|
-
* The system cloud disk
|
|
1050
|
-
*
|
|
1051
|
-
* - `cloud_efficiency`: ultra cloud disk.
|
|
1052
|
-
* - `cloud_ssd`: standard SSD.
|
|
1053
|
-
* - `cloud_essd`: ESSD.
|
|
1054
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1055
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1056
|
-
*
|
|
1057
|
-
* Default value: `cloud_efficiency`.
|
|
989
|
+
* The type of the node system cloud disk. Valid values:
|
|
1058
990
|
*
|
|
1059
991
|
* @example
|
|
1060
992
|
* cloud_efficiency
|
|
@@ -1062,7 +994,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1062
994
|
systemDiskCategory?: string;
|
|
1063
995
|
/**
|
|
1064
996
|
* @remarks
|
|
1065
|
-
* The encryption algorithm for the node system cloud disk. Valid values: aes-256.
|
|
997
|
+
* The encryption algorithm used for the node system cloud disk. Valid values: aes-256.
|
|
1066
998
|
*
|
|
1067
999
|
* @example
|
|
1068
1000
|
* aes-256
|
|
@@ -1070,7 +1002,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1070
1002
|
systemDiskEncryptAlgorithm?: string;
|
|
1071
1003
|
/**
|
|
1072
1004
|
* @remarks
|
|
1073
|
-
* Specifies whether to encrypt the system cloud disk. Valid values: true:
|
|
1005
|
+
* Specifies whether to encrypt the system cloud disk. Valid values: true: Encrypt. false: Do not encrypt.
|
|
1074
1006
|
*/
|
|
1075
1007
|
systemDiskEncrypted?: boolean;
|
|
1076
1008
|
/**
|
|
@@ -1083,7 +1015,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1083
1015
|
systemDiskKmsKeyId?: string;
|
|
1084
1016
|
/**
|
|
1085
1017
|
* @remarks
|
|
1086
|
-
* The performance level of the
|
|
1018
|
+
* The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSDs.
|
|
1087
1019
|
*
|
|
1088
1020
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1089
1021
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
@@ -1096,9 +1028,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1096
1028
|
systemDiskPerformanceLevel?: string;
|
|
1097
1029
|
/**
|
|
1098
1030
|
* @remarks
|
|
1099
|
-
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000
|
|
1100
|
-
*
|
|
1101
|
-
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1031
|
+
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000×capacity-baseline performance}. Baseline performance=min{1,800+50×capacity, 50000}.
|
|
1102
1032
|
*
|
|
1103
1033
|
* @example
|
|
1104
1034
|
* 1000
|
|
@@ -1106,9 +1036,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1106
1036
|
systemDiskProvisionedIops?: number;
|
|
1107
1037
|
/**
|
|
1108
1038
|
* @remarks
|
|
1109
|
-
* The node system cloud disk
|
|
1110
|
-
*
|
|
1111
|
-
* Valid values: [40,500].
|
|
1039
|
+
* The size of the node system cloud disk. Unit: GiB.
|
|
1112
1040
|
*
|
|
1113
1041
|
* @example
|
|
1114
1042
|
* 120
|
|
@@ -1116,9 +1044,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1116
1044
|
systemDiskSize?: number;
|
|
1117
1045
|
/**
|
|
1118
1046
|
* @remarks
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1121
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1047
|
+
* Tags added only to ECS instances.
|
|
1122
1048
|
*/
|
|
1123
1049
|
tags?: NodepoolScalingGroupTags[];
|
|
1124
1050
|
/**
|
|
@@ -1142,7 +1068,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1142
1068
|
export declare class NodepoolTeeConfig extends $dara.Model {
|
|
1143
1069
|
/**
|
|
1144
1070
|
* @remarks
|
|
1145
|
-
*
|
|
1071
|
+
* Indicates whether the node pool is a confidential computing node pool.
|
|
1146
1072
|
*
|
|
1147
1073
|
* This parameter is required.
|
|
1148
1074
|
*
|
|
@@ -1164,14 +1090,12 @@ export declare class NodepoolTeeConfig extends $dara.Model {
|
|
|
1164
1090
|
export declare class Nodepool extends $dara.Model {
|
|
1165
1091
|
/**
|
|
1166
1092
|
* @remarks
|
|
1167
|
-
* The auto scaling
|
|
1093
|
+
* The auto scaling node pool configuration.
|
|
1168
1094
|
*/
|
|
1169
1095
|
autoScaling?: NodepoolAutoScaling;
|
|
1170
1096
|
/**
|
|
1171
1097
|
* @remarks
|
|
1172
|
-
* [
|
|
1173
|
-
*
|
|
1174
|
-
* The number of nodes in the node pool.
|
|
1098
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1175
1099
|
*
|
|
1176
1100
|
* @example
|
|
1177
1101
|
* 1
|
|
@@ -1181,19 +1105,14 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1181
1105
|
count?: number;
|
|
1182
1106
|
/**
|
|
1183
1107
|
* @remarks
|
|
1184
|
-
* [
|
|
1185
|
-
*
|
|
1186
|
-
* The edge node pool configuration.
|
|
1108
|
+
* **[Deprecated]**
|
|
1187
1109
|
*
|
|
1188
1110
|
* @deprecated
|
|
1189
1111
|
*/
|
|
1190
1112
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1191
1113
|
/**
|
|
1192
1114
|
* @remarks
|
|
1193
|
-
* The network type of the edge node pool. This
|
|
1194
|
-
*
|
|
1195
|
-
* - `basic`: basic.
|
|
1196
|
-
* - `private`: dedicated. Supported in version 1.22 and later.
|
|
1115
|
+
* The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1197
1116
|
*
|
|
1198
1117
|
* @example
|
|
1199
1118
|
* basic
|
|
@@ -1211,7 +1130,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1211
1130
|
management?: NodepoolManagement;
|
|
1212
1131
|
/**
|
|
1213
1132
|
* @remarks
|
|
1214
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1133
|
+
* The maximum number of nodes allowed in the edge node pool. The value must be greater than or equal to 0. A value of 0 indicates no additional limit (only limited by the maximum number of nodes the cluster can accommodate, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0.
|
|
1215
1134
|
*
|
|
1216
1135
|
* @example
|
|
1217
1136
|
* 10
|
|
@@ -1219,7 +1138,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1219
1138
|
maxNodes?: number;
|
|
1220
1139
|
/**
|
|
1221
1140
|
* @remarks
|
|
1222
|
-
* The
|
|
1141
|
+
* The node component list.
|
|
1223
1142
|
*/
|
|
1224
1143
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1225
1144
|
/**
|
|
@@ -1234,7 +1153,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1234
1153
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1235
1154
|
/**
|
|
1236
1155
|
* @remarks
|
|
1237
|
-
* The scaling group configuration
|
|
1156
|
+
* The scaling group configuration for the node pool.
|
|
1238
1157
|
*/
|
|
1239
1158
|
scalingGroup?: NodepoolScalingGroup;
|
|
1240
1159
|
/**
|