@alicloud/cs20151215 7.0.4 → 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 +30 -42
- package/dist/client.js +61 -71
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +119 -621
- 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/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- 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 +99 -257
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- 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 +70 -195
- 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/package.json +1 -1
- package/src/client.ts +61 -71
- package/src/models/CreateClusterNodePoolRequest.ts +126 -367
- package/src/models/CreateClusterRequest.ts +119 -621
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +70 -195
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
|
@@ -13,9 +13,6 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
15
|
* Specifies whether to enable intelligent managed mode.
|
|
16
|
-
* Valid values:
|
|
17
|
-
* - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
18
|
-
* - false: Disables intelligent managed mode.
|
|
19
16
|
*
|
|
20
17
|
* @example
|
|
21
18
|
* true
|
|
@@ -45,7 +42,7 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
45
42
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
46
43
|
/**
|
|
47
44
|
* @remarks
|
|
48
|
-
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
45
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
49
46
|
*
|
|
50
47
|
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
51
48
|
*
|
|
@@ -57,13 +54,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
57
54
|
eipBandwidth?: number;
|
|
58
55
|
/**
|
|
59
56
|
* @remarks
|
|
60
|
-
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
61
|
-
*
|
|
62
|
-
* The billing method of the EIP. Valid values:
|
|
63
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
64
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
65
|
-
*
|
|
66
|
-
* Default value: `PayByBandwidth`.
|
|
57
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
67
58
|
*
|
|
68
59
|
* @example
|
|
69
60
|
* null
|
|
@@ -73,15 +64,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
73
64
|
eipInternetChargeType?: string;
|
|
74
65
|
/**
|
|
75
66
|
* @remarks
|
|
76
|
-
* Specifies whether to enable
|
|
77
|
-
*
|
|
78
|
-
* - `true`: enables the automatic scaling feature for the node pool. When the cluster capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later enable instant node elasticity by default. Clusters of versions earlier than 1.24 enable node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
79
|
-
*
|
|
80
|
-
* - `false`: disables automatic scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
81
|
-
*
|
|
82
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
83
|
-
*
|
|
84
|
-
* Default value: `false`.
|
|
67
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
85
68
|
*
|
|
86
69
|
* @example
|
|
87
70
|
* false
|
|
@@ -89,15 +72,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
89
72
|
enable?: boolean;
|
|
90
73
|
/**
|
|
91
74
|
* @remarks
|
|
92
|
-
* [Deprecated] This
|
|
93
|
-
*
|
|
94
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
95
|
-
*
|
|
96
|
-
* - `true`: associates an EIP.
|
|
97
|
-
*
|
|
98
|
-
* - `false`: does not associate an EIP.
|
|
99
|
-
*
|
|
100
|
-
* Default value: `false`.
|
|
75
|
+
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
101
76
|
*
|
|
102
77
|
* @example
|
|
103
78
|
* null
|
|
@@ -107,9 +82,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
107
82
|
isBondEip?: boolean;
|
|
108
83
|
/**
|
|
109
84
|
* @remarks
|
|
110
|
-
* The maximum number of
|
|
111
|
-
*
|
|
112
|
-
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
85
|
+
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
113
86
|
*
|
|
114
87
|
* @example
|
|
115
88
|
* 10
|
|
@@ -117,12 +90,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
117
90
|
maxInstances?: number;
|
|
118
91
|
/**
|
|
119
92
|
* @remarks
|
|
120
|
-
* The minimum number of
|
|
121
|
-
*
|
|
122
|
-
* Valid values: [0, max_instances]. Default value: 0.
|
|
123
|
-
*
|
|
124
|
-
* > - If the minimum instance count is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
125
|
-
* > - Set the maximum instance count to a value no less than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be scaled in after the elastic scaling feature takes effect.
|
|
93
|
+
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
126
94
|
*
|
|
127
95
|
* @example
|
|
128
96
|
* 1
|
|
@@ -132,17 +100,6 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
132
100
|
* @remarks
|
|
133
101
|
* The automatic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
134
102
|
*
|
|
135
|
-
* - `cpu`: regular instance type.
|
|
136
|
-
*
|
|
137
|
-
* - `gpu`: GPU instance type.
|
|
138
|
-
*
|
|
139
|
-
* - `gpushare`: GPU shared type.
|
|
140
|
-
*
|
|
141
|
-
* - `spot`: spot instance type.
|
|
142
|
-
*
|
|
143
|
-
* Default value: `cpu`.
|
|
144
|
-
* >Notice: This field cannot be modified after the node pool is created.
|
|
145
|
-
*
|
|
146
103
|
* @example
|
|
147
104
|
* cpu
|
|
148
105
|
*/
|
|
@@ -183,7 +140,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
183
140
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
184
141
|
/**
|
|
185
142
|
* @remarks
|
|
186
|
-
* Specifies whether to enable automatic
|
|
143
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool.
|
|
187
144
|
*/
|
|
188
145
|
autoAttachEnabled?: boolean;
|
|
189
146
|
/**
|
|
@@ -237,9 +194,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
237
194
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
238
195
|
/**
|
|
239
196
|
* @remarks
|
|
240
|
-
* [
|
|
241
|
-
*
|
|
242
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
197
|
+
* **[Deprecated]**
|
|
243
198
|
*
|
|
244
199
|
* @example
|
|
245
200
|
* null
|
|
@@ -247,9 +202,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
247
202
|
bandwidth?: number;
|
|
248
203
|
/**
|
|
249
204
|
* @remarks
|
|
250
|
-
* [
|
|
251
|
-
*
|
|
252
|
-
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
205
|
+
* **[Deprecated]**
|
|
253
206
|
*
|
|
254
207
|
* @example
|
|
255
208
|
* null
|
|
@@ -257,9 +210,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
257
210
|
ccnId?: string;
|
|
258
211
|
/**
|
|
259
212
|
* @remarks
|
|
260
|
-
* [
|
|
261
|
-
*
|
|
262
|
-
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
213
|
+
* **[Deprecated]**
|
|
263
214
|
*
|
|
264
215
|
* @example
|
|
265
216
|
* null
|
|
@@ -267,9 +218,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
267
218
|
ccnRegionId?: string;
|
|
268
219
|
/**
|
|
269
220
|
* @remarks
|
|
270
|
-
* [
|
|
271
|
-
*
|
|
272
|
-
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
221
|
+
* **[Deprecated]**
|
|
273
222
|
*
|
|
274
223
|
* @example
|
|
275
224
|
* null
|
|
@@ -277,9 +226,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
277
226
|
cenId?: string;
|
|
278
227
|
/**
|
|
279
228
|
* @remarks
|
|
280
|
-
* [
|
|
281
|
-
*
|
|
282
|
-
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
229
|
+
* **[Deprecated]**
|
|
283
230
|
*
|
|
284
231
|
* @example
|
|
285
232
|
* null
|
|
@@ -317,7 +264,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
317
264
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
318
265
|
/**
|
|
319
266
|
* @remarks
|
|
320
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
267
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
321
268
|
*
|
|
322
269
|
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
323
270
|
*
|
|
@@ -331,12 +278,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
331
278
|
cmsEnabled?: boolean;
|
|
332
279
|
/**
|
|
333
280
|
* @remarks
|
|
334
|
-
* The
|
|
335
|
-
*
|
|
336
|
-
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
337
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
338
|
-
*
|
|
339
|
-
* Default value: `none`.
|
|
281
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
340
282
|
*
|
|
341
283
|
* @example
|
|
342
284
|
* none
|
|
@@ -344,27 +286,12 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
344
286
|
cpuPolicy?: string;
|
|
345
287
|
/**
|
|
346
288
|
* @remarks
|
|
347
|
-
* The node labels.
|
|
289
|
+
* The node labels. You can add labels to nodes in the Kubernetes cluster.
|
|
348
290
|
*/
|
|
349
291
|
labels?: Tag[];
|
|
350
292
|
/**
|
|
351
293
|
* @remarks
|
|
352
|
-
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed.
|
|
353
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing the dots (.) in the IP address, and does not include the prefix or suffix.
|
|
354
|
-
*
|
|
355
|
-
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
356
|
-
*
|
|
357
|
-
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
358
|
-
*
|
|
359
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
360
|
-
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
361
|
-
* - The node IP is the full private IP address of the node.
|
|
362
|
-
*
|
|
363
|
-
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
364
|
-
*
|
|
365
|
-
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
366
|
-
*
|
|
367
|
-
* - For a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
294
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
368
295
|
*
|
|
369
296
|
* @example
|
|
370
297
|
* aliyun.com192.XX.YY.55test
|
|
@@ -372,7 +299,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
372
299
|
nodeNameMode?: string;
|
|
373
300
|
/**
|
|
374
301
|
* @remarks
|
|
375
|
-
* The instance pre-
|
|
302
|
+
* The instance pre-custom data. Before the node joins the cluster, the specified pre-custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
376
303
|
*
|
|
377
304
|
* @example
|
|
378
305
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -380,13 +307,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
380
307
|
preUserData?: string;
|
|
381
308
|
/**
|
|
382
309
|
* @remarks
|
|
383
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
384
|
-
*
|
|
385
|
-
* - containerd: Recommended. Supports all cluster versions.
|
|
386
|
-
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
387
|
-
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
388
|
-
*
|
|
389
|
-
* Default value: containerd.
|
|
310
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
390
311
|
*
|
|
391
312
|
* @example
|
|
392
313
|
* containerd
|
|
@@ -407,11 +328,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
407
328
|
taints?: Taint[];
|
|
408
329
|
/**
|
|
409
330
|
* @remarks
|
|
410
|
-
* Specifies whether scaled-out nodes are unschedulable.
|
|
411
|
-
*
|
|
412
|
-
* - true: Unschedulable.
|
|
413
|
-
*
|
|
414
|
-
* - false: Schedulable.
|
|
331
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
415
332
|
*
|
|
416
333
|
* @example
|
|
417
334
|
* true
|
|
@@ -473,27 +390,28 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
473
390
|
export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
474
391
|
/**
|
|
475
392
|
* @remarks
|
|
476
|
-
* Specifies whether
|
|
393
|
+
* Specifies whether manual approval is required for node repair.
|
|
477
394
|
*/
|
|
478
395
|
approvalRequired?: boolean;
|
|
479
396
|
/**
|
|
397
|
+
* @remarks
|
|
398
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
|
|
399
|
+
*
|
|
480
400
|
* @example
|
|
481
401
|
* 5
|
|
482
402
|
*/
|
|
483
403
|
maxParallelRepairingNodes?: string;
|
|
484
404
|
/**
|
|
405
|
+
* @remarks
|
|
406
|
+
* The circuit breaker condition for self-healing. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. You can specify a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
|
|
407
|
+
*
|
|
485
408
|
* @example
|
|
486
409
|
* 20%
|
|
487
410
|
*/
|
|
488
411
|
maxUnhealthyNodesThreshold?: string;
|
|
489
412
|
/**
|
|
490
413
|
* @remarks
|
|
491
|
-
* Specifies whether to allow node
|
|
492
|
-
*
|
|
493
|
-
* - `true`: allows node restart.
|
|
494
|
-
* - `false`: does not allow node restart.
|
|
495
|
-
*
|
|
496
|
-
* Default value: `true`.
|
|
414
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
497
415
|
*
|
|
498
416
|
* @example
|
|
499
417
|
* true
|
|
@@ -530,10 +448,6 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
530
448
|
/**
|
|
531
449
|
* @remarks
|
|
532
450
|
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
533
|
-
* - `true`: allows automatic kubelet upgrade.
|
|
534
|
-
* - `false`: does not allow automatic kubelet upgrade.
|
|
535
|
-
*
|
|
536
|
-
* Default value: `true`.
|
|
537
451
|
*
|
|
538
452
|
* @example
|
|
539
453
|
* true
|
|
@@ -542,11 +456,6 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
542
456
|
/**
|
|
543
457
|
* @remarks
|
|
544
458
|
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
545
|
-
* - `true`: allows automatic OS upgrade.
|
|
546
|
-
* - `false`: does not allow automatic OS upgrade.
|
|
547
|
-
*
|
|
548
|
-
*
|
|
549
|
-
* Default value: `false`.
|
|
550
459
|
*
|
|
551
460
|
* @example
|
|
552
461
|
* false
|
|
@@ -555,10 +464,6 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
555
464
|
/**
|
|
556
465
|
* @remarks
|
|
557
466
|
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
558
|
-
* - `true`: allows automatic runtime upgrade.
|
|
559
|
-
* - `false`: does not allow automatic runtime upgrade.
|
|
560
|
-
*
|
|
561
|
-
* Default value: `true`.
|
|
562
467
|
*
|
|
563
468
|
* @example
|
|
564
469
|
* false
|
|
@@ -592,9 +497,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
592
497
|
export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
593
498
|
/**
|
|
594
499
|
* @remarks
|
|
595
|
-
* The packages to exclude during vulnerability
|
|
596
|
-
*
|
|
597
|
-
* Default value: `kernel`.
|
|
500
|
+
* The packages to exclude during vulnerability fix.
|
|
598
501
|
*
|
|
599
502
|
* @example
|
|
600
503
|
* kernel
|
|
@@ -602,9 +505,9 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
602
505
|
excludePackages?: string;
|
|
603
506
|
/**
|
|
604
507
|
* @remarks
|
|
605
|
-
* Specifies whether to allow node
|
|
606
|
-
* - `true`:
|
|
607
|
-
* - `false`:
|
|
508
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
509
|
+
* - `true`: Node restarts are allowed.
|
|
510
|
+
* - `false`: Node restarts are not allowed.
|
|
608
511
|
*
|
|
609
512
|
* Default value: `true`.
|
|
610
513
|
*
|
|
@@ -614,13 +517,7 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
614
517
|
restartNode?: boolean;
|
|
615
518
|
/**
|
|
616
519
|
* @remarks
|
|
617
|
-
* The vulnerability levels allowed for automatic
|
|
618
|
-
*
|
|
619
|
-
* - `asap`: high
|
|
620
|
-
* - `later`: medium
|
|
621
|
-
* - `nntf`: low
|
|
622
|
-
*
|
|
623
|
-
* Default value: `asap`.
|
|
520
|
+
* The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
624
521
|
*
|
|
625
522
|
* @example
|
|
626
523
|
* asap,nntf
|
|
@@ -654,13 +551,7 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
654
551
|
export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
655
552
|
/**
|
|
656
553
|
* @remarks
|
|
657
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
658
|
-
*
|
|
659
|
-
* Specifies whether to enable auto upgrade. Valid values:
|
|
660
|
-
*
|
|
661
|
-
* - `true`: enables auto upgrade.
|
|
662
|
-
*
|
|
663
|
-
* - `false`: disables auto upgrade.
|
|
554
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
664
555
|
*
|
|
665
556
|
* @example
|
|
666
557
|
* null
|
|
@@ -671,9 +562,6 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
671
562
|
/**
|
|
672
563
|
* @remarks
|
|
673
564
|
* The maximum number of unavailable nodes.
|
|
674
|
-
* Valid values: [1,1000\\].
|
|
675
|
-
*
|
|
676
|
-
* Default value: 1.
|
|
677
565
|
*
|
|
678
566
|
* @example
|
|
679
567
|
* 1
|
|
@@ -681,11 +569,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
681
569
|
maxUnavailable?: number;
|
|
682
570
|
/**
|
|
683
571
|
* @remarks
|
|
684
|
-
* The number of extra nodes.
|
|
685
|
-
*
|
|
686
|
-
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster workload.
|
|
687
|
-
*
|
|
688
|
-
* > The number of extra nodes should not exceed the current number of nodes.
|
|
572
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
689
573
|
*
|
|
690
574
|
* @example
|
|
691
575
|
* 0
|
|
@@ -693,9 +577,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
693
577
|
surge?: number;
|
|
694
578
|
/**
|
|
695
579
|
* @remarks
|
|
696
|
-
* The percentage of extra nodes.
|
|
697
|
-
*
|
|
698
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
580
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
699
581
|
*
|
|
700
582
|
* @example
|
|
701
583
|
* 0
|
|
@@ -736,13 +618,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
736
618
|
autoFaultDiagnosis?: boolean;
|
|
737
619
|
/**
|
|
738
620
|
* @remarks
|
|
739
|
-
* Specifies whether to
|
|
740
|
-
*
|
|
741
|
-
* - `true`: automatically repairs nodes.
|
|
742
|
-
*
|
|
743
|
-
* - `false`: does not automatically repair nodes.
|
|
744
|
-
*
|
|
745
|
-
* Default value: `true`.
|
|
621
|
+
* Specifies whether to enable automatic node repair. This parameter takes effect only when `enable=true`.
|
|
746
622
|
*
|
|
747
623
|
* @example
|
|
748
624
|
* true
|
|
@@ -750,16 +626,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
750
626
|
autoRepair?: boolean;
|
|
751
627
|
/**
|
|
752
628
|
* @remarks
|
|
753
|
-
* The
|
|
629
|
+
* The automatic node repair policy.
|
|
754
630
|
*/
|
|
755
631
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
756
632
|
/**
|
|
757
633
|
* @remarks
|
|
758
|
-
* Specifies whether to
|
|
759
|
-
* - `true`: enables auto upgrade.
|
|
760
|
-
* - `false`: disables auto upgrade.
|
|
761
|
-
*
|
|
762
|
-
* Default value: `true`.
|
|
634
|
+
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
763
635
|
*
|
|
764
636
|
* @example
|
|
765
637
|
* true
|
|
@@ -767,17 +639,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
767
639
|
autoUpgrade?: boolean;
|
|
768
640
|
/**
|
|
769
641
|
* @remarks
|
|
770
|
-
* The
|
|
642
|
+
* The automatic node upgrade policy.
|
|
771
643
|
*/
|
|
772
644
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
773
645
|
/**
|
|
774
646
|
* @remarks
|
|
775
|
-
* Specifies whether to
|
|
776
|
-
*
|
|
777
|
-
* - `true`: allows automatic CVE fixing.
|
|
778
|
-
* - `false`: does not allow automatic CVE fixing.
|
|
779
|
-
*
|
|
780
|
-
* Default value: `true`.
|
|
647
|
+
* Specifies whether to enable automatic CVE vulnerability fix. This parameter takes effect only when `enable=true`.
|
|
781
648
|
*
|
|
782
649
|
* @example
|
|
783
650
|
* true
|
|
@@ -785,23 +652,17 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
785
652
|
autoVulFix?: boolean;
|
|
786
653
|
/**
|
|
787
654
|
* @remarks
|
|
788
|
-
* The
|
|
655
|
+
* The automatic CVE fix policy.
|
|
789
656
|
*/
|
|
790
657
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
791
658
|
/**
|
|
792
659
|
* @remarks
|
|
793
|
-
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default.
|
|
660
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Regular node pools do not support this feature.
|
|
794
661
|
*/
|
|
795
662
|
driftEnabled?: boolean;
|
|
796
663
|
/**
|
|
797
664
|
* @remarks
|
|
798
|
-
* Specifies whether to enable the managed
|
|
799
|
-
*
|
|
800
|
-
* - `true`: enables the managed feature.
|
|
801
|
-
*
|
|
802
|
-
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
803
|
-
*
|
|
804
|
-
* Default value: false.
|
|
665
|
+
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
805
666
|
*
|
|
806
667
|
* @example
|
|
807
668
|
* false
|
|
@@ -809,9 +670,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
809
670
|
enable?: boolean;
|
|
810
671
|
/**
|
|
811
672
|
* @remarks
|
|
812
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
673
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
813
674
|
*
|
|
814
|
-
* The
|
|
675
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
815
676
|
*
|
|
816
677
|
* @deprecated
|
|
817
678
|
*/
|
|
@@ -870,7 +731,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
870
731
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
871
732
|
/**
|
|
872
733
|
* @remarks
|
|
873
|
-
* The custom node component
|
|
734
|
+
* The custom configuration of the node component.
|
|
874
735
|
*
|
|
875
736
|
* @example
|
|
876
737
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -993,9 +854,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
993
854
|
name?: string;
|
|
994
855
|
/**
|
|
995
856
|
* @remarks
|
|
996
|
-
* The resource group ID of the node pool. Instances
|
|
997
|
-
*
|
|
998
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
857
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
999
858
|
*
|
|
1000
859
|
* @example
|
|
1001
860
|
* rg-acfmyvw3wjmb****
|
|
@@ -1005,11 +864,6 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1005
864
|
* @remarks
|
|
1006
865
|
* The node pool type. Valid values:
|
|
1007
866
|
*
|
|
1008
|
-
* - `ess`: standard node pool (includes managed features and automatic scaling).
|
|
1009
|
-
* - `edge`: edge node pool.
|
|
1010
|
-
* - `lingjun`: Lingjun node pool.
|
|
1011
|
-
* - `hybrid`: hybrid cloud node pool.
|
|
1012
|
-
*
|
|
1013
867
|
* @example
|
|
1014
868
|
* ess
|
|
1015
869
|
*/
|
|
@@ -1042,7 +896,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1042
896
|
export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
1043
897
|
/**
|
|
1044
898
|
* @remarks
|
|
1045
|
-
* Specifies whether to enable nested virtualization. Valid values: disabled:
|
|
899
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
1046
900
|
*
|
|
1047
901
|
* @example
|
|
1048
902
|
* enabled
|
|
@@ -1080,10 +934,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1080
934
|
id?: string;
|
|
1081
935
|
/**
|
|
1082
936
|
* @remarks
|
|
1083
|
-
* The private node pool
|
|
1084
|
-
* - `Open`:
|
|
1085
|
-
* - `Target`:
|
|
1086
|
-
* - `None`:
|
|
937
|
+
* The type of the private node pool. The private pool 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:
|
|
938
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to start the instance.
|
|
939
|
+
* - `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.
|
|
940
|
+
* - `None`: none mode. The instance does not use private pool capacity during startup.
|
|
1087
941
|
*
|
|
1088
942
|
* @example
|
|
1089
943
|
* Target
|
|
@@ -1120,10 +974,12 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1120
974
|
privatePoolIds?: string[];
|
|
1121
975
|
/**
|
|
1122
976
|
* @remarks
|
|
1123
|
-
* The resource pool strategy used when
|
|
1124
|
-
*
|
|
1125
|
-
*
|
|
1126
|
-
*
|
|
977
|
+
* The resource pool strategy used when instances are created. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, which are available for instance startup. Valid values:
|
|
978
|
+
*
|
|
979
|
+
* - PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. 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.
|
|
980
|
+
* - PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
981
|
+
* - None: no resource pool strategy is used.
|
|
982
|
+
*
|
|
1127
983
|
* Default value: None.
|
|
1128
984
|
*
|
|
1129
985
|
* @example
|
|
@@ -1159,7 +1015,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1159
1015
|
export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
1160
1016
|
/**
|
|
1161
1017
|
* @remarks
|
|
1162
|
-
* The spot instance
|
|
1018
|
+
* The instance type of the spot instance.
|
|
1163
1019
|
*
|
|
1164
1020
|
* @example
|
|
1165
1021
|
* ecs.c6.large
|
|
@@ -1167,7 +1023,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1167
1023
|
instanceType?: string;
|
|
1168
1024
|
/**
|
|
1169
1025
|
* @remarks
|
|
1170
|
-
* The maximum price
|
|
1026
|
+
* The maximum price of a single instance.
|
|
1171
1027
|
* <props="china">Unit: CNY/hour.
|
|
1172
1028
|
*
|
|
1173
1029
|
*
|
|
@@ -1246,22 +1102,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1246
1102
|
* @remarks
|
|
1247
1103
|
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1248
1104
|
*
|
|
1249
|
-
* - `true`: enables auto-renewal.
|
|
1250
|
-
* - `false`: disables auto-renewal.
|
|
1251
|
-
*
|
|
1252
|
-
* Default value: `false`.
|
|
1253
|
-
*
|
|
1254
1105
|
* @example
|
|
1255
1106
|
* true
|
|
1256
1107
|
*/
|
|
1257
1108
|
autoRenew?: boolean;
|
|
1258
1109
|
/**
|
|
1259
1110
|
* @remarks
|
|
1260
|
-
* The duration of
|
|
1261
|
-
* - PeriodUnit=Week: 1, 2, 3.
|
|
1262
|
-
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1263
|
-
*
|
|
1264
|
-
* Default value: 1.
|
|
1111
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
1265
1112
|
*
|
|
1266
1113
|
* @example
|
|
1267
1114
|
* 1
|
|
@@ -1269,7 +1116,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1269
1116
|
autoRenewPeriod?: number;
|
|
1270
1117
|
/**
|
|
1271
1118
|
* @remarks
|
|
1272
|
-
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
1119
|
+
* **[Deprecated]** Use the security_hardening_os parameter instead.
|
|
1273
1120
|
*
|
|
1274
1121
|
* @example
|
|
1275
1122
|
* null
|
|
@@ -1279,10 +1126,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1279
1126
|
cisEnabled?: boolean;
|
|
1280
1127
|
/**
|
|
1281
1128
|
* @remarks
|
|
1282
|
-
*
|
|
1129
|
+
* Specifies whether to allow the automatic creation of 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:
|
|
1283
1130
|
*
|
|
1284
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
1285
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
1131
|
+
* - `true`: Allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1132
|
+
* - `false`: Does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
1286
1133
|
*
|
|
1287
1134
|
* @example
|
|
1288
1135
|
* true
|
|
@@ -1295,15 +1142,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1295
1142
|
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1296
1143
|
/**
|
|
1297
1144
|
* @remarks
|
|
1298
|
-
* The data cloud disk
|
|
1145
|
+
* The data cloud disk configurations for nodes in the node pool.
|
|
1299
1146
|
*/
|
|
1300
1147
|
dataDisks?: DataDisk[];
|
|
1301
1148
|
/**
|
|
1302
1149
|
* @remarks
|
|
1303
|
-
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers
|
|
1150
|
+
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When ECS instances are created within a deployment set, they are launched in the specified region based on the preconfigured deployment strategy.
|
|
1304
1151
|
*
|
|
1305
1152
|
*
|
|
1306
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports
|
|
1153
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × number of zones (the number of zones is determined by the vSwitches). Select a deployment set with caution and ensure that the quota in the deployment set is sufficient to avoid node scale-out failures.
|
|
1307
1154
|
*
|
|
1308
1155
|
* @example
|
|
1309
1156
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1313,8 +1160,6 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1313
1160
|
* @remarks
|
|
1314
1161
|
* The desired number of nodes in the node pool.
|
|
1315
1162
|
*
|
|
1316
|
-
* The total number of nodes.
|
|
1317
|
-
*
|
|
1318
1163
|
* @example
|
|
1319
1164
|
* 0
|
|
1320
1165
|
*/
|
|
@@ -1324,6 +1169,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1324
1169
|
* The block device initialization configuration.
|
|
1325
1170
|
*/
|
|
1326
1171
|
diskInit?: DiskInit[];
|
|
1172
|
+
/**
|
|
1173
|
+
* @remarks
|
|
1174
|
+
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the high-density cloud disk limit supported by the instance type.
|
|
1175
|
+
*
|
|
1176
|
+
* @example
|
|
1177
|
+
* false
|
|
1178
|
+
*/
|
|
1179
|
+
enableHighDensityMode?: boolean;
|
|
1327
1180
|
/**
|
|
1328
1181
|
* @remarks
|
|
1329
1182
|
* The custom image ID. The system-provided image is used by default.
|
|
@@ -1334,18 +1187,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1334
1187
|
imageId?: string;
|
|
1335
1188
|
/**
|
|
1336
1189
|
* @remarks
|
|
1337
|
-
* The operating system image
|
|
1338
|
-
*
|
|
1339
|
-
* - `AliyunLinux`: Alinux2 image.
|
|
1340
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1341
|
-
* - `AliyunLinux3`: Alinux3 image.
|
|
1342
|
-
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1343
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1344
|
-
* - `CentOS`: CentOS image.
|
|
1345
|
-
* - `Windows`: Windows image.
|
|
1346
|
-
* - `WindowsCore`: WindowsCore image.
|
|
1347
|
-
* - `ContainerOS`: container-optimized image.
|
|
1348
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1190
|
+
* The type of operating system image. Valid values:
|
|
1349
1191
|
*
|
|
1350
1192
|
* @example
|
|
1351
1193
|
* AliyunLinux3
|
|
@@ -1354,12 +1196,6 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1354
1196
|
/**
|
|
1355
1197
|
* @remarks
|
|
1356
1198
|
* The billing method of nodes in the node pool. Valid values:
|
|
1357
|
-
*
|
|
1358
|
-
* - `PrePaid`: subscription.
|
|
1359
|
-
*
|
|
1360
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1361
|
-
*
|
|
1362
|
-
* Default value: `PostPaid`.
|
|
1363
1199
|
*
|
|
1364
1200
|
* This parameter is required.
|
|
1365
1201
|
*
|
|
@@ -1379,10 +1215,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1379
1215
|
instancePatterns?: InstancePatterns[];
|
|
1380
1216
|
/**
|
|
1381
1217
|
* @remarks
|
|
1382
|
-
* The list of instance types for the node pool. When the node pool scales out,
|
|
1383
|
-
*
|
|
1384
|
-
* The number of supported instance types ranges from 1 to 10.
|
|
1218
|
+
* The list of instance types for nodes in the node pool. When the node pool scales out, instances are created based on eligible instance types from this list.
|
|
1385
1219
|
*
|
|
1220
|
+
* Number of supported instance types: [1, 10].
|
|
1386
1221
|
*
|
|
1387
1222
|
* > To ensure high availability, select multiple instance types.
|
|
1388
1223
|
*
|
|
@@ -1394,7 +1229,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1394
1229
|
* The billing method for public IP addresses. Valid values:
|
|
1395
1230
|
*
|
|
1396
1231
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1397
|
-
* - PayByTraffic: pay-by-
|
|
1232
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1398
1233
|
*
|
|
1399
1234
|
* @example
|
|
1400
1235
|
* PayByTraffic
|
|
@@ -1402,7 +1237,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1402
1237
|
internetChargeType?: string;
|
|
1403
1238
|
/**
|
|
1404
1239
|
* @remarks
|
|
1405
|
-
* The maximum outbound
|
|
1240
|
+
* The maximum outbound bandwidth for the public IP of nodes. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
1406
1241
|
*
|
|
1407
1242
|
* @example
|
|
1408
1243
|
* 5
|
|
@@ -1410,9 +1245,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1410
1245
|
internetMaxBandwidthOut?: number;
|
|
1411
1246
|
/**
|
|
1412
1247
|
* @remarks
|
|
1413
|
-
* The name of the key pair for password-free logon.
|
|
1414
|
-
*
|
|
1415
|
-
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1248
|
+
* The name of the key pair for password-free logon. Use either this parameter or `login_password`.
|
|
1416
1249
|
*
|
|
1417
1250
|
* @example
|
|
1418
1251
|
* np-key-name
|
|
@@ -1420,11 +1253,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1420
1253
|
keyPair?: string;
|
|
1421
1254
|
/**
|
|
1422
1255
|
* @remarks
|
|
1423
|
-
* Specifies whether ECS instances
|
|
1424
|
-
*
|
|
1425
|
-
* - true:
|
|
1256
|
+
* Specifies whether to log on to the scaled-out ECS instances as a non-root user.
|
|
1257
|
+
*
|
|
1258
|
+
* - true: Log on as a non-root user (ecs-user).
|
|
1426
1259
|
*
|
|
1427
|
-
* - false:
|
|
1260
|
+
* - false: Log on as the root user.
|
|
1428
1261
|
*
|
|
1429
1262
|
* @example
|
|
1430
1263
|
* true
|
|
@@ -1432,7 +1265,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1432
1265
|
loginAsNonRoot?: boolean;
|
|
1433
1266
|
/**
|
|
1434
1267
|
* @remarks
|
|
1435
|
-
* The SSH logon password.
|
|
1268
|
+
* The SSH logon password. Use either this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1436
1269
|
*
|
|
1437
1270
|
* @example
|
|
1438
1271
|
* ****
|
|
@@ -1442,13 +1275,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1442
1275
|
* @remarks
|
|
1443
1276
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1444
1277
|
*
|
|
1445
|
-
* - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1278
|
+
* - `PRIORITY`: Scales ECS instances based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1446
1279
|
*
|
|
1447
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in
|
|
1280
|
+
* - `COST_OPTIMIZED`: Attempts to create ECS instances in order of vCPU unit price from lowest to highest. 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 or other reasons.
|
|
1448
1281
|
*
|
|
1449
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
1282
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1450
1283
|
*
|
|
1451
|
-
* - `BALANCE`: Evenly
|
|
1284
|
+
* - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation to rebalance resources.
|
|
1452
1285
|
*
|
|
1453
1286
|
* Default value: `PRIORITY`.
|
|
1454
1287
|
*
|
|
@@ -1458,7 +1291,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1458
1291
|
multiAzPolicy?: string;
|
|
1459
1292
|
/**
|
|
1460
1293
|
* @remarks
|
|
1461
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\].
|
|
1294
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are preferentially created.
|
|
1462
1295
|
*
|
|
1463
1296
|
* @example
|
|
1464
1297
|
* 0
|
|
@@ -1466,7 +1299,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1466
1299
|
onDemandBaseCapacity?: number;
|
|
1467
1300
|
/**
|
|
1468
1301
|
* @remarks
|
|
1469
|
-
* The percentage of pay-as-you-go instances among the
|
|
1302
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
1470
1303
|
*
|
|
1471
1304
|
* @example
|
|
1472
1305
|
* 20
|
|
@@ -1476,21 +1309,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1476
1309
|
* @remarks
|
|
1477
1310
|
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1478
1311
|
*
|
|
1479
|
-
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1480
|
-
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1481
|
-
*
|
|
1482
1312
|
* @example
|
|
1483
1313
|
* 1
|
|
1484
1314
|
*/
|
|
1485
1315
|
period?: number;
|
|
1486
1316
|
/**
|
|
1487
1317
|
* @remarks
|
|
1488
|
-
* The
|
|
1489
|
-
*
|
|
1490
|
-
* - `Month`: uses month as the billing unit.
|
|
1491
|
-
* - `Week`: uses week as the billing unit.
|
|
1492
|
-
*
|
|
1493
|
-
* Default value: `Month`.
|
|
1318
|
+
* The unit of the subscription period for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1494
1319
|
*
|
|
1495
1320
|
* @example
|
|
1496
1321
|
* Month
|
|
@@ -1498,15 +1323,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1498
1323
|
periodUnit?: string;
|
|
1499
1324
|
/**
|
|
1500
1325
|
* @remarks
|
|
1501
|
-
* [
|
|
1502
|
-
*
|
|
1503
|
-
* The operating system distribution. Valid values:
|
|
1504
|
-
* - `CentOS`
|
|
1505
|
-
* - `AliyunLinux`
|
|
1506
|
-
* - `Windows`
|
|
1507
|
-
* - `WindowsCore`
|
|
1508
|
-
*
|
|
1509
|
-
* Default value: `AliyunLinux`.
|
|
1326
|
+
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
1510
1327
|
*
|
|
1511
1328
|
* @example
|
|
1512
1329
|
* null
|
|
@@ -1521,12 +1338,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1521
1338
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1522
1339
|
/**
|
|
1523
1340
|
* @remarks
|
|
1524
|
-
* The
|
|
1341
|
+
* The name of the worker RAM role.
|
|
1525
1342
|
*
|
|
1526
|
-
* * If left empty, the default
|
|
1527
|
-
* * If specified, the RAM role must be a **normal service role
|
|
1343
|
+
* * If this parameter is left empty, the default worker RAM role created by the cluster is used.
|
|
1344
|
+
* * If this parameter is specified, the specified RAM role must be a **normal service role**, and its **trusted service** must be configured as **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1528
1345
|
*
|
|
1529
|
-
* >Notice:
|
|
1346
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 or later.</notice>
|
|
1530
1347
|
*
|
|
1531
1348
|
* @example
|
|
1532
1349
|
* example-role
|
|
@@ -1534,25 +1351,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1534
1351
|
ramRoleName?: string;
|
|
1535
1352
|
/**
|
|
1536
1353
|
* @remarks
|
|
1537
|
-
* The list of
|
|
1354
|
+
* The list of RDS instances.
|
|
1538
1355
|
*/
|
|
1539
1356
|
rdsInstances?: string[];
|
|
1540
1357
|
/**
|
|
1541
1358
|
* @remarks
|
|
1542
|
-
* The resource pool and resource pool
|
|
1543
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1544
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1359
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
1545
1360
|
*/
|
|
1546
1361
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1547
1362
|
/**
|
|
1548
1363
|
* @remarks
|
|
1549
1364
|
* The scaling group mode. Valid values:
|
|
1550
1365
|
*
|
|
1551
|
-
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1552
|
-
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Stopped instances are not charged for compute resources but are charged for storage, except for instances with local disks.
|
|
1553
|
-
*
|
|
1554
|
-
* Default value: `release`.
|
|
1555
|
-
*
|
|
1556
1366
|
* @example
|
|
1557
1367
|
* release
|
|
1558
1368
|
*/
|
|
@@ -1569,17 +1379,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1569
1379
|
securityGroupId?: string;
|
|
1570
1380
|
/**
|
|
1571
1381
|
* @remarks
|
|
1572
|
-
* The list of security group IDs.
|
|
1382
|
+
* The list of security group IDs. Use 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.
|
|
1573
1383
|
*/
|
|
1574
1384
|
securityGroupIds?: string[];
|
|
1575
1385
|
/**
|
|
1576
1386
|
* @remarks
|
|
1577
|
-
*
|
|
1578
|
-
*
|
|
1579
|
-
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1580
|
-
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1581
|
-
*
|
|
1582
|
-
* Default value: `false`.
|
|
1387
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1583
1388
|
*
|
|
1584
1389
|
* @example
|
|
1585
1390
|
* false
|
|
@@ -1587,7 +1392,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1587
1392
|
securityHardeningOs?: boolean;
|
|
1588
1393
|
/**
|
|
1589
1394
|
* @remarks
|
|
1590
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1395
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1591
1396
|
*
|
|
1592
1397
|
* @example
|
|
1593
1398
|
* false
|
|
@@ -1595,7 +1400,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1595
1400
|
socEnabled?: boolean;
|
|
1596
1401
|
/**
|
|
1597
1402
|
* @remarks
|
|
1598
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1403
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1599
1404
|
*
|
|
1600
1405
|
* @example
|
|
1601
1406
|
* 5
|
|
@@ -1603,10 +1408,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1603
1408
|
spotInstancePools?: number;
|
|
1604
1409
|
/**
|
|
1605
1410
|
* @remarks
|
|
1606
|
-
* Specifies whether to enable
|
|
1607
|
-
*
|
|
1608
|
-
* - `true`: Enables supplementing spot instances.
|
|
1609
|
-
* - `false`: Disables supplementing spot instances.
|
|
1411
|
+
* Specifies whether to enable supplementation of spot instances. If enabled, when the system receives 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:
|
|
1610
1412
|
*
|
|
1611
1413
|
* @example
|
|
1612
1414
|
* false
|
|
@@ -1614,20 +1416,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1614
1416
|
spotInstanceRemedy?: boolean;
|
|
1615
1417
|
/**
|
|
1616
1418
|
* @remarks
|
|
1617
|
-
* The price limit
|
|
1419
|
+
* The price limit configurations for a single spot instance of the current instance type.
|
|
1618
1420
|
*/
|
|
1619
1421
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1620
1422
|
/**
|
|
1621
1423
|
* @remarks
|
|
1622
|
-
* The
|
|
1623
|
-
*
|
|
1624
|
-
* - `NoSpot`: non-spot instance.
|
|
1625
|
-
*
|
|
1626
|
-
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1627
|
-
*
|
|
1628
|
-
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1629
|
-
*
|
|
1630
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1424
|
+
* The type of spot instance. Valid values:
|
|
1631
1425
|
*
|
|
1632
1426
|
* @example
|
|
1633
1427
|
* NoSpot
|
|
@@ -1636,10 +1430,6 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1636
1430
|
/**
|
|
1637
1431
|
* @remarks
|
|
1638
1432
|
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1639
|
-
* - true: enables burst.
|
|
1640
|
-
* - false: disables burst.
|
|
1641
|
-
*
|
|
1642
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1643
1433
|
*
|
|
1644
1434
|
* @example
|
|
1645
1435
|
* true
|
|
@@ -1647,17 +1437,17 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1647
1437
|
systemDiskBurstingEnabled?: boolean;
|
|
1648
1438
|
/**
|
|
1649
1439
|
* @remarks
|
|
1650
|
-
* Multiple system cloud disk
|
|
1440
|
+
* Multiple disk types for the system cloud disk. If a disk type with a higher priority is unavailable, the system automatically attempts to create the system cloud disk with the next priority disk type.
|
|
1651
1441
|
*/
|
|
1652
1442
|
systemDiskCategories?: string[];
|
|
1653
1443
|
/**
|
|
1654
1444
|
* @remarks
|
|
1655
|
-
* The system cloud disk
|
|
1445
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
1656
1446
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1657
1447
|
* - `cloud_ssd`: standard SSD.
|
|
1658
1448
|
* - `cloud_essd`: ESSD.
|
|
1659
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1660
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1449
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
1450
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1661
1451
|
*
|
|
1662
1452
|
* Default value: `cloud_efficiency`.
|
|
1663
1453
|
*
|
|
@@ -1667,7 +1457,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1667
1457
|
systemDiskCategory?: string;
|
|
1668
1458
|
/**
|
|
1669
1459
|
* @remarks
|
|
1670
|
-
* The encryption algorithm
|
|
1460
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1671
1461
|
*
|
|
1672
1462
|
* @example
|
|
1673
1463
|
* aes-256
|
|
@@ -1677,10 +1467,6 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1677
1467
|
* @remarks
|
|
1678
1468
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1679
1469
|
*
|
|
1680
|
-
* - true: encrypts the system cloud disk.
|
|
1681
|
-
*
|
|
1682
|
-
* - false: does not encrypt the system cloud disk.
|
|
1683
|
-
*
|
|
1684
1470
|
* @example
|
|
1685
1471
|
* false
|
|
1686
1472
|
*/
|
|
@@ -1695,11 +1481,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1695
1481
|
systemDiskKmsKeyId?: string;
|
|
1696
1482
|
/**
|
|
1697
1483
|
* @remarks
|
|
1698
|
-
* The performance level of the
|
|
1699
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1700
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1701
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1702
|
-
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1484
|
+
* The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSD disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1703
1485
|
*
|
|
1704
1486
|
* @example
|
|
1705
1487
|
* PL1
|
|
@@ -1707,11 +1489,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1707
1489
|
systemDiskPerformanceLevel?: string;
|
|
1708
1490
|
/**
|
|
1709
1491
|
* @remarks
|
|
1710
|
-
* The provisioned read/write IOPS
|
|
1711
|
-
*
|
|
1712
|
-
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1713
|
-
*
|
|
1714
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1492
|
+
* The provisioned read/write IOPS of the node system cloud disk.
|
|
1715
1493
|
*
|
|
1716
1494
|
* @example
|
|
1717
1495
|
* 1000
|
|
@@ -1719,9 +1497,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1719
1497
|
systemDiskProvisionedIops?: number;
|
|
1720
1498
|
/**
|
|
1721
1499
|
* @remarks
|
|
1722
|
-
* The system cloud disk
|
|
1723
|
-
*
|
|
1724
|
-
* Valid values: [20,2048\\].
|
|
1500
|
+
* The size of the system cloud disk for nodes. Unit: GiB.
|
|
1725
1501
|
*
|
|
1726
1502
|
* @example
|
|
1727
1503
|
* 120
|
|
@@ -1737,9 +1513,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1737
1513
|
systemDiskSnapshotPolicyId?: string;
|
|
1738
1514
|
/**
|
|
1739
1515
|
* @remarks
|
|
1740
|
-
* Tags added only to ECS instances.
|
|
1741
|
-
*
|
|
1742
|
-
* Tag keys cannot be duplicated and have a maximum length of 128 characters. Tag keys and values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1516
|
+
* Tags that are added only to ECS instances.
|
|
1743
1517
|
*/
|
|
1744
1518
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1745
1519
|
/**
|
|
@@ -1762,6 +1536,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1762
1536
|
deploymentsetId: 'deploymentset_id',
|
|
1763
1537
|
desiredSize: 'desired_size',
|
|
1764
1538
|
diskInit: 'disk_init',
|
|
1539
|
+
enableHighDensityMode: 'enable_high_density_mode',
|
|
1765
1540
|
imageId: 'image_id',
|
|
1766
1541
|
imageType: 'image_type',
|
|
1767
1542
|
instanceChargeType: 'instance_charge_type',
|
|
@@ -1818,6 +1593,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1818
1593
|
deploymentsetId: 'string',
|
|
1819
1594
|
desiredSize: 'number',
|
|
1820
1595
|
diskInit: { 'type': 'array', 'itemType': DiskInit },
|
|
1596
|
+
enableHighDensityMode: 'boolean',
|
|
1821
1597
|
imageId: 'string',
|
|
1822
1598
|
imageType: 'string',
|
|
1823
1599
|
instanceChargeType: 'string',
|
|
@@ -1917,11 +1693,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1917
1693
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1918
1694
|
/**
|
|
1919
1695
|
* @remarks
|
|
1920
|
-
* Specifies whether to enable confidential computing
|
|
1921
|
-
*
|
|
1922
|
-
* - true: Enables confidential computing.
|
|
1923
|
-
*
|
|
1924
|
-
* - false: Disables confidential computing.
|
|
1696
|
+
* Specifies whether to enable the confidential computing cluster.
|
|
1925
1697
|
*
|
|
1926
1698
|
* @example
|
|
1927
1699
|
* true
|
|
@@ -1961,9 +1733,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1961
1733
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1962
1734
|
/**
|
|
1963
1735
|
* @remarks
|
|
1964
|
-
* [
|
|
1965
|
-
*
|
|
1966
|
-
* The number of nodes in the node pool.
|
|
1736
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1967
1737
|
*
|
|
1968
1738
|
* @example
|
|
1969
1739
|
* null
|
|
@@ -1978,9 +1748,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1978
1748
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1979
1749
|
/**
|
|
1980
1750
|
* @remarks
|
|
1981
|
-
* Specifies whether the
|
|
1982
|
-
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1983
|
-
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1751
|
+
* Specifies whether the Pod network mode uses host network mode.
|
|
1984
1752
|
*
|
|
1985
1753
|
* @example
|
|
1986
1754
|
* true
|
|
@@ -1988,19 +1756,14 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1988
1756
|
hostNetwork?: boolean;
|
|
1989
1757
|
/**
|
|
1990
1758
|
* @remarks
|
|
1991
|
-
* [
|
|
1992
|
-
*
|
|
1993
|
-
* The edge node pool configuration.
|
|
1759
|
+
* **[Deprecated]**
|
|
1994
1760
|
*
|
|
1995
1761
|
* @deprecated
|
|
1996
1762
|
*/
|
|
1997
1763
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1998
1764
|
/**
|
|
1999
1765
|
* @remarks
|
|
2000
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
2001
|
-
*
|
|
2002
|
-
* - `basic`: Public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
2003
|
-
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1766
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
2004
1767
|
*
|
|
2005
1768
|
* @example
|
|
2006
1769
|
* basic
|
|
@@ -2009,8 +1772,6 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2009
1772
|
/**
|
|
2010
1773
|
* @remarks
|
|
2011
1774
|
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
2012
|
-
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity with each other.
|
|
2013
|
-
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity with each other.
|
|
2014
1775
|
*
|
|
2015
1776
|
* @example
|
|
2016
1777
|
* true
|
|
@@ -2023,14 +1784,12 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2023
1784
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2024
1785
|
/**
|
|
2025
1786
|
* @remarks
|
|
2026
|
-
* The managed node pool
|
|
1787
|
+
* The configuration of the managed node pool feature.
|
|
2027
1788
|
*/
|
|
2028
1789
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2029
1790
|
/**
|
|
2030
1791
|
* @remarks
|
|
2031
|
-
* [
|
|
2032
|
-
*
|
|
2033
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1792
|
+
* **[Deprecated]**
|
|
2034
1793
|
*
|
|
2035
1794
|
* @example
|
|
2036
1795
|
* null
|