@alicloud/cs20151215 7.1.1 → 7.1.3
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 +4 -4
- package/dist/client.js +4 -4
- package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
- package/dist/models/CreateClusterNodePoolRequest.js +27 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
- package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +221 -70
- package/dist/models/Nodepool.js +27 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
- package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +110 -92
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -4
- package/src/models/CreateClusterNodePoolRequest.ts +379 -76
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
- package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
- package/src/models/Nodepool.ts +238 -70
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
- package/src/models/model.ts +9 -0
|
@@ -12,7 +12,7 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Indicates whether intelligent managed mode is enabled.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -42,7 +42,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara
|
|
|
42
42
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $dara.Model {
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The peak bandwidth
|
|
45
|
+
* The EIP peak bandwidth.
|
|
46
|
+
*
|
|
47
|
+
* Valid values: [1,100]. Unit: Mbit/s.
|
|
46
48
|
*
|
|
47
49
|
* @example
|
|
48
50
|
* 5
|
|
@@ -50,9 +52,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
50
52
|
eipBandwidth?: number;
|
|
51
53
|
/**
|
|
52
54
|
* @remarks
|
|
53
|
-
* The billing
|
|
55
|
+
* The EIP billing type. Valid values:
|
|
54
56
|
*
|
|
55
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
57
|
+
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
56
58
|
* - `PayByTraffic`: pay-by-data-transfer.
|
|
57
59
|
*
|
|
58
60
|
* @example
|
|
@@ -61,7 +63,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
61
63
|
eipInternetChargeType?: string;
|
|
62
64
|
/**
|
|
63
65
|
* @remarks
|
|
64
|
-
*
|
|
66
|
+
* Specifies whether to enable elastic scaling. Valid values:
|
|
67
|
+
*
|
|
68
|
+
* - `true`: Enables the elastic 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 or later use instant node scaling by default. Clusters of versions earlier than 1.24 use node elastic scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
69
|
+
*
|
|
70
|
+
* - `false`: Disables elastic 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.
|
|
71
|
+
*
|
|
72
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
65
73
|
*
|
|
66
74
|
* @example
|
|
67
75
|
* true
|
|
@@ -69,7 +77,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
69
77
|
enable?: boolean;
|
|
70
78
|
/**
|
|
71
79
|
* @remarks
|
|
72
|
-
*
|
|
80
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
81
|
+
*
|
|
82
|
+
* - `true`: Associate an EIP.
|
|
83
|
+
* - `false`: Do not associate an EIP.
|
|
73
84
|
*
|
|
74
85
|
* @example
|
|
75
86
|
* true
|
|
@@ -77,7 +88,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
77
88
|
isBondEip?: boolean;
|
|
78
89
|
/**
|
|
79
90
|
* @remarks
|
|
80
|
-
* The maximum number of instances
|
|
91
|
+
* The maximum number of scalable instances in the node pool, excluding your existing instances.
|
|
81
92
|
*
|
|
82
93
|
* @example
|
|
83
94
|
* 10
|
|
@@ -85,7 +96,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
85
96
|
maxInstances?: number;
|
|
86
97
|
/**
|
|
87
98
|
* @remarks
|
|
88
|
-
* The minimum number of instances
|
|
99
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances.
|
|
89
100
|
*
|
|
90
101
|
* @example
|
|
91
102
|
* 2
|
|
@@ -93,7 +104,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
93
104
|
minInstances?: number;
|
|
94
105
|
/**
|
|
95
106
|
* @remarks
|
|
96
|
-
* The auto scaling type,
|
|
107
|
+
* The auto scaling type, categorized by instance type. Valid values:
|
|
108
|
+
*
|
|
109
|
+
* - `cpu`: standard instance type.
|
|
110
|
+
* - `gpu`: GPU instance type.
|
|
111
|
+
* - `gpushare`: GPU sharing type.
|
|
112
|
+
* - `spot`: spot instance type.
|
|
97
113
|
*
|
|
98
114
|
* @example
|
|
99
115
|
* cpu
|
|
@@ -135,7 +151,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
135
151
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends $dara.Model {
|
|
136
152
|
/**
|
|
137
153
|
* @remarks
|
|
138
|
-
*
|
|
154
|
+
* Indicates whether automatic node addition is enabled for the Lingjun node pool (not effective).
|
|
139
155
|
*/
|
|
140
156
|
autoAttachEnabled?: boolean;
|
|
141
157
|
/**
|
|
@@ -156,7 +172,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
156
172
|
groupId?: string;
|
|
157
173
|
/**
|
|
158
174
|
* @remarks
|
|
159
|
-
* The
|
|
175
|
+
* The worker RAM role used by the Lingjun node pool.
|
|
160
176
|
*/
|
|
161
177
|
workerRamRoleName?: string;
|
|
162
178
|
static names(): { [key: string]: string } {
|
|
@@ -191,6 +207,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
191
207
|
* @remarks
|
|
192
208
|
* **[Deprecated]**
|
|
193
209
|
*
|
|
210
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
211
|
+
*
|
|
194
212
|
* @example
|
|
195
213
|
* 10
|
|
196
214
|
*/
|
|
@@ -199,6 +217,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
199
217
|
* @remarks
|
|
200
218
|
* **[Deprecated]**
|
|
201
219
|
*
|
|
220
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
221
|
+
*
|
|
202
222
|
* @example
|
|
203
223
|
* ccn-qm5i0i0q9yi*******
|
|
204
224
|
*/
|
|
@@ -207,6 +227,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
207
227
|
* @remarks
|
|
208
228
|
* **[Deprecated]**
|
|
209
229
|
*
|
|
230
|
+
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
231
|
+
*
|
|
210
232
|
* @example
|
|
211
233
|
* cn-shanghai
|
|
212
234
|
*/
|
|
@@ -215,6 +237,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
215
237
|
* @remarks
|
|
216
238
|
* **[Deprecated]**
|
|
217
239
|
*
|
|
240
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
241
|
+
*
|
|
218
242
|
* @example
|
|
219
243
|
* cen-ey9k9nfhz0f*******
|
|
220
244
|
*/
|
|
@@ -223,6 +247,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
223
247
|
* @remarks
|
|
224
248
|
* **[Deprecated]**
|
|
225
249
|
*
|
|
250
|
+
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
251
|
+
*
|
|
226
252
|
* @example
|
|
227
253
|
* 1
|
|
228
254
|
*/
|
|
@@ -261,13 +287,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
261
287
|
* @remarks
|
|
262
288
|
* 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:
|
|
263
289
|
*
|
|
290
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
291
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
292
|
+
*
|
|
264
293
|
* @example
|
|
265
294
|
* true
|
|
266
295
|
*/
|
|
267
296
|
cmsEnabled?: boolean;
|
|
268
297
|
/**
|
|
269
298
|
* @remarks
|
|
270
|
-
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6
|
|
299
|
+
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
300
|
+
*
|
|
301
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
302
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
271
303
|
*
|
|
272
304
|
* @example
|
|
273
305
|
* none
|
|
@@ -282,6 +314,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
282
314
|
* @remarks
|
|
283
315
|
* The custom node name.
|
|
284
316
|
*
|
|
317
|
+
* A node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
318
|
+
*
|
|
319
|
+
* - 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.
|
|
320
|
+
* - The IP address segment length specifies the number of digits to extract from the end of the node IP address. Valid values: 5 to 12.
|
|
321
|
+
*
|
|
322
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
323
|
+
*
|
|
285
324
|
* @example
|
|
286
325
|
* aliyun.com192.XX.YY.55test
|
|
287
326
|
*/
|
|
@@ -296,7 +335,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
296
335
|
preUserData?: string;
|
|
297
336
|
/**
|
|
298
337
|
* @remarks
|
|
299
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
338
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
339
|
+
*
|
|
340
|
+
* - containerd: Recommended. Supported by all cluster versions.
|
|
341
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
342
|
+
* - docker: No longer maintained. Supported by clusters of version 1.22 and earlier.
|
|
300
343
|
*
|
|
301
344
|
* @example
|
|
302
345
|
* containerd
|
|
@@ -319,6 +362,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
319
362
|
* @remarks
|
|
320
363
|
* Specifies whether scaled-out nodes are unschedulable.
|
|
321
364
|
*
|
|
365
|
+
* - true: Unschedulable.
|
|
366
|
+
*
|
|
367
|
+
* - false: Schedulable.
|
|
368
|
+
*
|
|
322
369
|
* @example
|
|
323
370
|
* true
|
|
324
371
|
*/
|
|
@@ -379,7 +426,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
379
426
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
|
|
380
427
|
/**
|
|
381
428
|
* @remarks
|
|
382
|
-
*
|
|
429
|
+
* Indicates whether manual approval is required for node repair.
|
|
383
430
|
*
|
|
384
431
|
* @example
|
|
385
432
|
* false
|
|
@@ -395,7 +442,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
395
442
|
autoRepairPolicyId?: string;
|
|
396
443
|
/**
|
|
397
444
|
* @remarks
|
|
398
|
-
* The maximum number of
|
|
445
|
+
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this specifies the maximum number or percentage of nodes that can be repaired simultaneously.
|
|
399
446
|
*
|
|
400
447
|
* @example
|
|
401
448
|
* 1
|
|
@@ -403,7 +450,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
403
450
|
maxParallelRepairingNodes?: string;
|
|
404
451
|
/**
|
|
405
452
|
* @remarks
|
|
406
|
-
* The self-healing circuit breaker
|
|
453
|
+
* The self-healing circuit breaker condition. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions.
|
|
407
454
|
*
|
|
408
455
|
* @example
|
|
409
456
|
* 10%
|
|
@@ -411,7 +458,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
411
458
|
maxUnhealthyNodesThreshold?: string;
|
|
412
459
|
/**
|
|
413
460
|
* @remarks
|
|
414
|
-
* Specifies whether node restart
|
|
461
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`.
|
|
462
|
+
*
|
|
463
|
+
* - `true`: Allow node restart.
|
|
464
|
+
* - `false`: Do not allow node restart.
|
|
415
465
|
*
|
|
416
466
|
* @example
|
|
417
467
|
* true
|
|
@@ -449,7 +499,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
449
499
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
450
500
|
/**
|
|
451
501
|
* @remarks
|
|
452
|
-
* Specifies whether to allow
|
|
502
|
+
* Specifies whether to allow auto upgrade of kubelet. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
503
|
+
* - `true`: Auto upgrade of kubelet is allowed.
|
|
504
|
+
* - `false`: Auto upgrade of kubelet is not allowed.
|
|
453
505
|
*
|
|
454
506
|
* @example
|
|
455
507
|
* true
|
|
@@ -488,6 +540,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
488
540
|
/**
|
|
489
541
|
* @remarks
|
|
490
542
|
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
543
|
+
* - `true`: Node restarts are allowed.
|
|
544
|
+
* - `false`: Node restarts are not allowed.
|
|
491
545
|
*
|
|
492
546
|
* @example
|
|
493
547
|
* true
|
|
@@ -495,7 +549,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
495
549
|
restartNode?: boolean;
|
|
496
550
|
/**
|
|
497
551
|
* @remarks
|
|
498
|
-
* The vulnerability levels
|
|
552
|
+
* The vulnerability levels allowed for automatic fix, separated by commas. Valid values:
|
|
499
553
|
*
|
|
500
554
|
* - `asap`: high
|
|
501
555
|
* - `later`: medium
|
|
@@ -533,7 +587,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
533
587
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
|
|
534
588
|
/**
|
|
535
589
|
* @remarks
|
|
536
|
-
* Specifies whether to enable
|
|
590
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
591
|
+
*
|
|
592
|
+
* - `true`: Auto upgrade is enabled.
|
|
593
|
+
* - `false`: Auto upgrade is not enabled.
|
|
537
594
|
*
|
|
538
595
|
* @example
|
|
539
596
|
* true
|
|
@@ -543,6 +600,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
543
600
|
* @remarks
|
|
544
601
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
545
602
|
*
|
|
603
|
+
* Default value: 1.
|
|
604
|
+
*
|
|
546
605
|
* @example
|
|
547
606
|
* 1
|
|
548
607
|
*/
|
|
@@ -557,9 +616,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
557
616
|
surge?: number;
|
|
558
617
|
/**
|
|
559
618
|
* @remarks
|
|
560
|
-
* The percentage of
|
|
619
|
+
* The percentage of extra nodes. You must set this parameter or `surge`.
|
|
561
620
|
*
|
|
562
|
-
*
|
|
621
|
+
* Number of extra nodes = Extra node percentage × Number of nodes. For example, if the extra node percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6, which means 3 extra nodes are created.
|
|
563
622
|
*
|
|
564
623
|
* @example
|
|
565
624
|
* 50
|
|
@@ -595,15 +654,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
595
654
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Model {
|
|
596
655
|
/**
|
|
597
656
|
* @remarks
|
|
598
|
-
* Specifies whether to enable node self-healing
|
|
657
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
599
658
|
*/
|
|
600
659
|
autoFaultDiagnosis?: boolean;
|
|
601
660
|
/**
|
|
602
661
|
* @remarks
|
|
603
|
-
* Specifies whether to enable
|
|
662
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
|
|
604
663
|
*
|
|
605
|
-
* - `true`:
|
|
606
|
-
* - `false`:
|
|
664
|
+
* - `true`: Enable auto repair.
|
|
665
|
+
* - `false`: Disable auto repair.
|
|
607
666
|
*
|
|
608
667
|
* @example
|
|
609
668
|
* true
|
|
@@ -616,7 +675,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
616
675
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
617
676
|
/**
|
|
618
677
|
* @remarks
|
|
619
|
-
* Specifies whether to enable
|
|
678
|
+
* Specifies whether to enable auto upgrade for nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
679
|
+
* - `true`: Auto upgrade is enabled.
|
|
680
|
+
* - `false`: Auto upgrade is not enabled.
|
|
620
681
|
*
|
|
621
682
|
* @example
|
|
622
683
|
* true
|
|
@@ -624,15 +685,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
624
685
|
autoUpgrade?: boolean;
|
|
625
686
|
/**
|
|
626
687
|
* @remarks
|
|
627
|
-
* The
|
|
688
|
+
* The auto upgrade policy.
|
|
628
689
|
*/
|
|
629
690
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
630
691
|
/**
|
|
631
692
|
* @remarks
|
|
632
693
|
* Specifies whether to automatically fix CVEs. This parameter takes effect only when `enable=true`.
|
|
633
694
|
*
|
|
634
|
-
* - `true`:
|
|
635
|
-
* - `false`: Do not
|
|
695
|
+
* - `true`: Allow automatic CVE fixes.
|
|
696
|
+
* - `false`: Do not allow automatic CVE fixes.
|
|
636
697
|
*
|
|
637
698
|
* @example
|
|
638
699
|
* true
|
|
@@ -640,17 +701,20 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
640
701
|
autoVulFix?: boolean;
|
|
641
702
|
/**
|
|
642
703
|
* @remarks
|
|
643
|
-
* The
|
|
704
|
+
* The auto CVE fix policy.
|
|
644
705
|
*/
|
|
645
706
|
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
646
707
|
/**
|
|
647
708
|
* @remarks
|
|
648
|
-
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default.
|
|
709
|
+
* 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.
|
|
649
710
|
*/
|
|
650
711
|
driftEnabled?: boolean;
|
|
651
712
|
/**
|
|
652
713
|
* @remarks
|
|
653
|
-
*
|
|
714
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
715
|
+
*
|
|
716
|
+
* - `true`: Enable the managed node pool.
|
|
717
|
+
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
654
718
|
*
|
|
655
719
|
* @example
|
|
656
720
|
* true
|
|
@@ -658,7 +722,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
658
722
|
enable?: boolean;
|
|
659
723
|
/**
|
|
660
724
|
* @remarks
|
|
661
|
-
* The
|
|
725
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
662
726
|
*/
|
|
663
727
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
664
728
|
static names(): { [key: string]: string } {
|
|
@@ -712,6 +776,46 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
712
776
|
}
|
|
713
777
|
}
|
|
714
778
|
|
|
779
|
+
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfigEnvs extends $dara.Model {
|
|
780
|
+
/**
|
|
781
|
+
* @remarks
|
|
782
|
+
* The environment variable name.
|
|
783
|
+
*
|
|
784
|
+
* @example
|
|
785
|
+
* LOG_LEVEL
|
|
786
|
+
*/
|
|
787
|
+
name?: string;
|
|
788
|
+
/**
|
|
789
|
+
* @remarks
|
|
790
|
+
* The environment variable value.
|
|
791
|
+
*
|
|
792
|
+
* @example
|
|
793
|
+
* info
|
|
794
|
+
*/
|
|
795
|
+
value?: string;
|
|
796
|
+
static names(): { [key: string]: string } {
|
|
797
|
+
return {
|
|
798
|
+
name: 'name',
|
|
799
|
+
value: 'value',
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
static types(): { [key: string]: any } {
|
|
804
|
+
return {
|
|
805
|
+
name: 'string',
|
|
806
|
+
value: 'string',
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
validate() {
|
|
811
|
+
super.validate();
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
constructor(map?: { [key: string]: any }) {
|
|
815
|
+
super(map);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
|
|
715
819
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
716
820
|
/**
|
|
717
821
|
* @remarks
|
|
@@ -721,15 +825,22 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig e
|
|
|
721
825
|
* {"cpuManagerPolicy":"static"}
|
|
722
826
|
*/
|
|
723
827
|
customConfig?: { [key: string]: any };
|
|
828
|
+
/**
|
|
829
|
+
* @remarks
|
|
830
|
+
* The node component environment variables.
|
|
831
|
+
*/
|
|
832
|
+
envs?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfigEnvs[];
|
|
724
833
|
static names(): { [key: string]: string } {
|
|
725
834
|
return {
|
|
726
835
|
customConfig: 'custom_config',
|
|
836
|
+
envs: 'envs',
|
|
727
837
|
};
|
|
728
838
|
}
|
|
729
839
|
|
|
730
840
|
static types(): { [key: string]: any } {
|
|
731
841
|
return {
|
|
732
842
|
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
843
|
+
envs: { 'type': 'array', 'itemType': DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfigEnvs },
|
|
733
844
|
};
|
|
734
845
|
}
|
|
735
846
|
|
|
@@ -737,6 +848,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig e
|
|
|
737
848
|
if(this.customConfig) {
|
|
738
849
|
$dara.Model.validateMap(this.customConfig);
|
|
739
850
|
}
|
|
851
|
+
if(Array.isArray(this.envs)) {
|
|
852
|
+
$dara.Model.validateArray(this.envs);
|
|
853
|
+
}
|
|
740
854
|
super.validate();
|
|
741
855
|
}
|
|
742
856
|
|
|
@@ -753,7 +867,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
753
867
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
754
868
|
/**
|
|
755
869
|
* @remarks
|
|
756
|
-
* The node component custom configuration
|
|
870
|
+
* The node component custom configuration version number.
|
|
757
871
|
*
|
|
758
872
|
* @example
|
|
759
873
|
* 1
|
|
@@ -808,7 +922,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
808
922
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig extends $dara.Model {
|
|
809
923
|
/**
|
|
810
924
|
* @remarks
|
|
811
|
-
* The
|
|
925
|
+
* The hugepage configuration.
|
|
812
926
|
*/
|
|
813
927
|
hugepage?: Hugepage;
|
|
814
928
|
static names(): { [key: string]: string } {
|
|
@@ -888,6 +1002,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
888
1002
|
* @remarks
|
|
889
1003
|
* Indicates whether this is the default node pool. Typically, a cluster has only one default node pool. Valid values:
|
|
890
1004
|
*
|
|
1005
|
+
* - `true`: Default node pool.
|
|
1006
|
+
* - `false`: Non-default node pool.
|
|
1007
|
+
*
|
|
891
1008
|
* @example
|
|
892
1009
|
* true
|
|
893
1010
|
*/
|
|
@@ -928,6 +1045,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
928
1045
|
* @remarks
|
|
929
1046
|
* The node pool type. Valid values:
|
|
930
1047
|
*
|
|
1048
|
+
* - `ess`: standard node pool (includes managed features and elastic scaling).
|
|
1049
|
+
* - `edge`: edge node pool.
|
|
1050
|
+
* - `lingjun`: Lingjun node pool.
|
|
1051
|
+
*
|
|
931
1052
|
* @example
|
|
932
1053
|
* ess
|
|
933
1054
|
*/
|
|
@@ -980,6 +1101,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions
|
|
|
980
1101
|
* @remarks
|
|
981
1102
|
* Specifies whether nested virtualization is enabled. Valid values:
|
|
982
1103
|
*
|
|
1104
|
+
* - disabled: Nested virtualization is disabled.
|
|
1105
|
+
* - enabled: Nested virtualization is enabled.
|
|
1106
|
+
*
|
|
983
1107
|
* @example
|
|
984
1108
|
* enabled
|
|
985
1109
|
*/
|
|
@@ -1008,7 +1132,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions
|
|
|
1008
1132
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1009
1133
|
/**
|
|
1010
1134
|
* @remarks
|
|
1011
|
-
* The private pool ID, which is the
|
|
1135
|
+
* The private pool ID, which is the elasticity assurance ID or capacity reservation ID.
|
|
1012
1136
|
*
|
|
1013
1137
|
* @example
|
|
1014
1138
|
* eap-bp67acfmxazb4****
|
|
@@ -1016,13 +1140,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoo
|
|
|
1016
1140
|
id?: string;
|
|
1017
1141
|
/**
|
|
1018
1142
|
* @remarks
|
|
1019
|
-
* The type
|
|
1143
|
+
* The private node pool type. Specifies the capacity option for the private pool used to launch instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
1020
1144
|
*
|
|
1021
|
-
* - `Open`:
|
|
1145
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1022
1146
|
*
|
|
1023
|
-
* - `Target`:
|
|
1147
|
+
* - `Target`: Specified mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.
|
|
1024
1148
|
*
|
|
1025
|
-
* - `None`: not
|
|
1149
|
+
* - `None`: Do not use mode. The instance launch does not use private pool capacity.
|
|
1026
1150
|
*
|
|
1027
1151
|
* @example
|
|
1028
1152
|
* Open
|
|
@@ -1060,6 +1184,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePo
|
|
|
1060
1184
|
/**
|
|
1061
1185
|
* @remarks
|
|
1062
1186
|
* The resource pool policy used when creating instances. Valid values:
|
|
1187
|
+
* PrivatePoolFirst: Private pool first.
|
|
1188
|
+
* PrivatePoolOnly: Private pool only.
|
|
1189
|
+
* None: Do not use a resource pool policy.
|
|
1063
1190
|
*
|
|
1064
1191
|
* @example
|
|
1065
1192
|
* PrivatePoolFirst
|
|
@@ -1102,7 +1229,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
|
|
|
1102
1229
|
instanceType?: string;
|
|
1103
1230
|
/**
|
|
1104
1231
|
* @remarks
|
|
1105
|
-
* The price
|
|
1232
|
+
* The price range for a single instance.
|
|
1106
1233
|
*
|
|
1107
1234
|
* <props="china">Unit: CNY/hour.
|
|
1108
1235
|
*
|
|
@@ -1140,6 +1267,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1140
1267
|
* @remarks
|
|
1141
1268
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1142
1269
|
*
|
|
1270
|
+
* - `true`: Auto-renewal is enabled.
|
|
1271
|
+
* - `false`: Auto-renewal is not enabled.
|
|
1272
|
+
*
|
|
1143
1273
|
* @example
|
|
1144
1274
|
* false
|
|
1145
1275
|
*/
|
|
@@ -1147,6 +1277,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1147
1277
|
/**
|
|
1148
1278
|
* @remarks
|
|
1149
1279
|
* The duration of each auto-renewal cycle. Valid values:
|
|
1280
|
+
* - PeriodUnit=Week: 1, 2, 3.
|
|
1281
|
+
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1150
1282
|
*
|
|
1151
1283
|
* @example
|
|
1152
1284
|
* 0
|
|
@@ -1156,6 +1288,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1156
1288
|
* @remarks
|
|
1157
1289
|
* **[Deprecated]**
|
|
1158
1290
|
*
|
|
1291
|
+
* Use the security_hardening_os parameter instead.
|
|
1292
|
+
*
|
|
1159
1293
|
* @example
|
|
1160
1294
|
* false
|
|
1161
1295
|
*
|
|
@@ -1164,10 +1298,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1164
1298
|
cisEnabled?: boolean;
|
|
1165
1299
|
/**
|
|
1166
1300
|
* @remarks
|
|
1167
|
-
*
|
|
1301
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
1168
1302
|
*
|
|
1169
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
1170
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
1303
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1304
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1171
1305
|
*
|
|
1172
1306
|
* @example
|
|
1173
1307
|
* true
|
|
@@ -1180,7 +1314,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1180
1314
|
cpuOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions;
|
|
1181
1315
|
/**
|
|
1182
1316
|
* @remarks
|
|
1183
|
-
* The
|
|
1317
|
+
* The configurations of node data cloud disks, including type and size.
|
|
1184
1318
|
*/
|
|
1185
1319
|
dataDisks?: DataDisk[];
|
|
1186
1320
|
/**
|
|
@@ -1206,7 +1340,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1206
1340
|
diskInit?: DiskInit[];
|
|
1207
1341
|
/**
|
|
1208
1342
|
* @remarks
|
|
1209
|
-
* 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
|
|
1343
|
+
* 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 disks and data cloud disks does not exceed the maximum number of high-density cloud disks supported by the instance type.
|
|
1210
1344
|
*
|
|
1211
1345
|
* @example
|
|
1212
1346
|
* false
|
|
@@ -1222,7 +1356,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1222
1356
|
imageId?: string;
|
|
1223
1357
|
/**
|
|
1224
1358
|
* @remarks
|
|
1225
|
-
* The operating system image type.
|
|
1359
|
+
* The operating system image type. Valid values:
|
|
1360
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1361
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1362
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1363
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1364
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1365
|
+
* - `CentOS`: CentOS image.
|
|
1366
|
+
* - `Windows`: Windows image.
|
|
1367
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1368
|
+
* - `ContainerOS`: container-optimized image.
|
|
1369
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1226
1370
|
*
|
|
1227
1371
|
* @example
|
|
1228
1372
|
* AliyunLinux3
|
|
@@ -1246,7 +1390,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1246
1390
|
instancePatterns?: InstancePatterns[];
|
|
1247
1391
|
/**
|
|
1248
1392
|
* @remarks
|
|
1249
|
-
* The list of node instance types. You can select multiple instance types as alternatives.
|
|
1393
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The actual instance type purchased may vary depending on inventory availability.
|
|
1250
1394
|
*
|
|
1251
1395
|
* @example
|
|
1252
1396
|
* ecs.n4.large
|
|
@@ -1256,9 +1400,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1256
1400
|
* @remarks
|
|
1257
1401
|
* The billing method for the public IP addresses of nodes.
|
|
1258
1402
|
*
|
|
1259
|
-
*
|
|
1260
|
-
* -
|
|
1261
|
-
* - PayByTraffic: pay-by-data-transfer.
|
|
1403
|
+
* - PayByBandwidth: billed by fixed bandwidth.
|
|
1404
|
+
* - PayByTraffic: billed by traffic usage.
|
|
1262
1405
|
*
|
|
1263
1406
|
* @example
|
|
1264
1407
|
* PayByBandwidth
|
|
@@ -1266,7 +1409,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1266
1409
|
internetChargeType?: string;
|
|
1267
1410
|
/**
|
|
1268
1411
|
* @remarks
|
|
1269
|
-
* The maximum outbound bandwidth for
|
|
1412
|
+
* The maximum outbound public bandwidth for nodes, in Mbps (Mega bit per second). Valid values: 1 to 100.
|
|
1270
1413
|
*
|
|
1271
1414
|
* @example
|
|
1272
1415
|
* 10
|
|
@@ -1274,9 +1417,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1274
1417
|
internetMaxBandwidthOut?: number;
|
|
1275
1418
|
/**
|
|
1276
1419
|
* @remarks
|
|
1277
|
-
* The name of the key pair
|
|
1420
|
+
* The name of the key pair, mutually exclusive with `login_password`.
|
|
1278
1421
|
*
|
|
1279
|
-
*
|
|
1422
|
+
* For managed node pools, only `key_pair` is supported.
|
|
1280
1423
|
*
|
|
1281
1424
|
* @example
|
|
1282
1425
|
* pro-nodepool
|
|
@@ -1284,7 +1427,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1284
1427
|
keyPair?: string;
|
|
1285
1428
|
/**
|
|
1286
1429
|
* @remarks
|
|
1287
|
-
*
|
|
1430
|
+
* Specifies whether the scaled-out ECS instances use a non-root user for logon.
|
|
1288
1431
|
*
|
|
1289
1432
|
* - true: Log on as a non-root user (ecs-user).
|
|
1290
1433
|
*
|
|
@@ -1296,7 +1439,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1296
1439
|
loginAsNonRoot?: boolean;
|
|
1297
1440
|
/**
|
|
1298
1441
|
* @remarks
|
|
1299
|
-
* The SSH logon password
|
|
1442
|
+
* The SSH logon password, mutually exclusive with `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.
|
|
1443
|
+
*
|
|
1444
|
+
* For security purposes, the password returned in the query result is encrypted.
|
|
1300
1445
|
*
|
|
1301
1446
|
* @example
|
|
1302
1447
|
* ******
|
|
@@ -1306,13 +1451,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1306
1451
|
* @remarks
|
|
1307
1452
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1308
1453
|
*
|
|
1309
|
-
* - `PRIORITY`: Scales
|
|
1454
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of the highest-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1310
1455
|
*
|
|
1311
|
-
* - `COST_OPTIMIZED`:
|
|
1456
|
+
* - `COST_OPTIMIZED`: Creates instances by vCPU unit price from low to high. When the scaling configuration sets multiple instance types with the preemptible billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1312
1457
|
*
|
|
1313
|
-
* >`COST_OPTIMIZED` takes effect only when
|
|
1458
|
+
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
|
|
1314
1459
|
*
|
|
1315
|
-
* - `BALANCE`: Evenly
|
|
1460
|
+
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1316
1461
|
*
|
|
1317
1462
|
* @example
|
|
1318
1463
|
* COST_OPTIMIZED
|
|
@@ -1320,7 +1465,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1320
1465
|
multiAzPolicy?: string;
|
|
1321
1466
|
/**
|
|
1322
1467
|
* @remarks
|
|
1323
|
-
* 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
|
|
1468
|
+
* 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 created first.
|
|
1324
1469
|
*
|
|
1325
1470
|
* @example
|
|
1326
1471
|
* 0
|
|
@@ -1328,7 +1473,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1328
1473
|
onDemandBaseCapacity?: number;
|
|
1329
1474
|
/**
|
|
1330
1475
|
* @remarks
|
|
1331
|
-
* The percentage of pay-as-you-go instances among the
|
|
1476
|
+
* The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) is met. Valid values: [0,100\\].
|
|
1332
1477
|
*
|
|
1333
1478
|
* @example
|
|
1334
1479
|
* 20
|
|
@@ -1338,13 +1483,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1338
1483
|
* @remarks
|
|
1339
1484
|
* The subscription duration of nodes. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1340
1485
|
*
|
|
1486
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1487
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1488
|
+
*
|
|
1341
1489
|
* @example
|
|
1342
1490
|
* 1
|
|
1343
1491
|
*/
|
|
1344
1492
|
period?: number;
|
|
1345
1493
|
/**
|
|
1346
1494
|
* @remarks
|
|
1347
|
-
* The
|
|
1495
|
+
* The billing epoch of nodes. This parameter must be specified when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1496
|
+
*
|
|
1497
|
+
* - `Month`: month as the compute unit (CU).
|
|
1498
|
+
* - `Week`: week as the compute unit (CU).
|
|
1348
1499
|
*
|
|
1349
1500
|
* @example
|
|
1350
1501
|
* Month
|
|
@@ -1356,10 +1507,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1356
1507
|
*
|
|
1357
1508
|
* The operating system distribution. Valid values:
|
|
1358
1509
|
*
|
|
1359
|
-
* - CentOS
|
|
1360
|
-
* - AliyunLinux
|
|
1361
|
-
* - Windows
|
|
1362
|
-
* - WindowsCore
|
|
1510
|
+
* - `CentOS`
|
|
1511
|
+
* - `AliyunLinux`
|
|
1512
|
+
* - `Windows`
|
|
1513
|
+
* - `WindowsCore`
|
|
1363
1514
|
*
|
|
1364
1515
|
* @example
|
|
1365
1516
|
* AliyunLinux
|
|
@@ -1380,7 +1531,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1380
1531
|
ramPolicy?: string;
|
|
1381
1532
|
/**
|
|
1382
1533
|
* @remarks
|
|
1383
|
-
* The
|
|
1534
|
+
* The Worker RAM role name.
|
|
1384
1535
|
*
|
|
1385
1536
|
* @example
|
|
1386
1537
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -1388,12 +1539,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1388
1539
|
ramRoleName?: string;
|
|
1389
1540
|
/**
|
|
1390
1541
|
* @remarks
|
|
1391
|
-
* If RDS instances are specified, the ECS instances in the cluster
|
|
1542
|
+
* If RDS instances are specified, the ECS instances in the cluster node pool are automatically added to the RDS access whitelist.
|
|
1392
1543
|
*/
|
|
1393
1544
|
rdsInstances?: string[];
|
|
1394
1545
|
/**
|
|
1395
1546
|
* @remarks
|
|
1396
|
-
* The resource
|
|
1547
|
+
* The resource pool and resource pool policy used when creating instances.
|
|
1397
1548
|
*/
|
|
1398
1549
|
resourcePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePoolOptions;
|
|
1399
1550
|
/**
|
|
@@ -1406,10 +1557,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1406
1557
|
scalingGroupId?: string;
|
|
1407
1558
|
/**
|
|
1408
1559
|
* @remarks
|
|
1409
|
-
* The scaling mode
|
|
1560
|
+
* The scaling group mode. Valid values:
|
|
1410
1561
|
*
|
|
1411
|
-
* - `release`:
|
|
1412
|
-
* - `recycle`:
|
|
1562
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1563
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting ECS instances, which improves scaling speed. (Compute resources are not charged during the stopped state. Only storage fees are charged, except for local disk instance types.)
|
|
1413
1564
|
*
|
|
1414
1565
|
* @example
|
|
1415
1566
|
* release
|
|
@@ -1419,7 +1570,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1419
1570
|
* @remarks
|
|
1420
1571
|
* **[Deprecated]**
|
|
1421
1572
|
*
|
|
1422
|
-
* The security group ID of the node pool. When the node pool is associated with multiple security groups, this is the first value in security_group_ids
|
|
1573
|
+
* The security group ID of the node pool. When the node pool is associated with multiple security groups, this is the first value in `security_group_ids`.
|
|
1423
1574
|
*
|
|
1424
1575
|
* @example
|
|
1425
1576
|
* sg-2ze1iuk12m2sb4c4****
|
|
@@ -1434,13 +1585,18 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1434
1585
|
* @remarks
|
|
1435
1586
|
* Alibaba Cloud OS security hardening. Valid values:
|
|
1436
1587
|
*
|
|
1588
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1589
|
+
* - `false`: Does not enable Alibaba Cloud OS security hardening.
|
|
1590
|
+
*
|
|
1591
|
+
* Default value: `false`.
|
|
1592
|
+
*
|
|
1437
1593
|
* @example
|
|
1438
1594
|
* false
|
|
1439
1595
|
*/
|
|
1440
1596
|
securityHardeningOs?: boolean;
|
|
1441
1597
|
/**
|
|
1442
1598
|
* @remarks
|
|
1443
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1599
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable this feature 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.
|
|
1444
1600
|
*
|
|
1445
1601
|
* @example
|
|
1446
1602
|
* false
|
|
@@ -1448,7 +1604,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1448
1604
|
socEnabled?: boolean;
|
|
1449
1605
|
/**
|
|
1450
1606
|
* @remarks
|
|
1451
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1607
|
+
* The number of available instance types. The scaling group creates spot instances across the lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
1452
1608
|
*
|
|
1453
1609
|
* @example
|
|
1454
1610
|
* 5
|
|
@@ -1456,7 +1612,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1456
1612
|
spotInstancePools?: number;
|
|
1457
1613
|
/**
|
|
1458
1614
|
* @remarks
|
|
1459
|
-
* Specifies whether to enable
|
|
1615
|
+
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1616
|
+
*
|
|
1617
|
+
* - `true`: Enables supplementing spot instances.
|
|
1618
|
+
* - `false`: Does not enable supplementing spot instances.
|
|
1460
1619
|
*
|
|
1461
1620
|
* @example
|
|
1462
1621
|
* false
|
|
@@ -1464,12 +1623,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1464
1623
|
spotInstanceRemedy?: boolean;
|
|
1465
1624
|
/**
|
|
1466
1625
|
* @remarks
|
|
1467
|
-
* The price
|
|
1626
|
+
* The price range configurations for spot instances.
|
|
1468
1627
|
*/
|
|
1469
1628
|
spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
|
|
1470
1629
|
/**
|
|
1471
1630
|
* @remarks
|
|
1472
1631
|
* The type of spot instance. Valid values:
|
|
1632
|
+
* - NoSpot: non-spot instance.
|
|
1633
|
+
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1634
|
+
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1635
|
+
*
|
|
1636
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1473
1637
|
*
|
|
1474
1638
|
* @example
|
|
1475
1639
|
* NoSpot
|
|
@@ -1477,7 +1641,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1477
1641
|
spotStrategy?: string;
|
|
1478
1642
|
/**
|
|
1479
1643
|
* @remarks
|
|
1480
|
-
* Specifies whether to enable burst
|
|
1644
|
+
* Specifies whether to enable burst performance for the node system cloud disk. Valid values:
|
|
1645
|
+
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure from fluctuating workloads until the workload stabilizes.
|
|
1646
|
+
* - false: Not enabled.
|
|
1647
|
+
*
|
|
1648
|
+
* 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).
|
|
1481
1649
|
*
|
|
1482
1650
|
* @example
|
|
1483
1651
|
* true
|
|
@@ -1485,12 +1653,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1485
1653
|
systemDiskBurstingEnabled?: boolean;
|
|
1486
1654
|
/**
|
|
1487
1655
|
* @remarks
|
|
1488
|
-
* The multiple disk types for the system cloud disk. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk.
|
|
1656
|
+
* The multiple cloud disk types for the system cloud disk. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
|
|
1489
1657
|
*/
|
|
1490
1658
|
systemDiskCategories?: string[];
|
|
1491
1659
|
/**
|
|
1492
1660
|
* @remarks
|
|
1493
|
-
* The type of the system cloud disk. Valid values:
|
|
1661
|
+
* The type of the node system cloud disk. Valid values:
|
|
1662
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1663
|
+
* - `cloud_ssd`: standard SSD.
|
|
1664
|
+
* - `cloud_essd`: ESSD.
|
|
1665
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1666
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1494
1667
|
*
|
|
1495
1668
|
* @example
|
|
1496
1669
|
* cloud_efficiency
|
|
@@ -1508,6 +1681,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1508
1681
|
* @remarks
|
|
1509
1682
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1510
1683
|
*
|
|
1684
|
+
* - true: Encrypted.
|
|
1685
|
+
* - false: Not encrypted.
|
|
1686
|
+
*
|
|
1511
1687
|
* @example
|
|
1512
1688
|
* false
|
|
1513
1689
|
*/
|
|
@@ -1522,7 +1698,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1522
1698
|
systemDiskKmsKeyId?: string;
|
|
1523
1699
|
/**
|
|
1524
1700
|
* @remarks
|
|
1525
|
-
* The performance level of the system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level
|
|
1701
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1702
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1703
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1704
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1705
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1526
1706
|
*
|
|
1527
1707
|
* @example
|
|
1528
1708
|
* PL1
|
|
@@ -1530,7 +1710,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1530
1710
|
systemDiskPerformanceLevel?: string;
|
|
1531
1711
|
/**
|
|
1532
1712
|
* @remarks
|
|
1533
|
-
* The provisioned read/write IOPS
|
|
1713
|
+
* The provisioned read/write IOPS for the node system cloud disk. This parameter is applicable when the cloud disk type is cloud_auto.
|
|
1534
1714
|
*
|
|
1535
1715
|
* @example
|
|
1536
1716
|
* 1000
|
|
@@ -1538,7 +1718,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1538
1718
|
systemDiskProvisionedIops?: number;
|
|
1539
1719
|
/**
|
|
1540
1720
|
* @remarks
|
|
1541
|
-
* The size of the system cloud disk, in GiB.
|
|
1721
|
+
* The size of the node system cloud disk, in GiB.
|
|
1722
|
+
*
|
|
1723
|
+
* Valid values: [20,2048\\].
|
|
1542
1724
|
*
|
|
1543
1725
|
* @example
|
|
1544
1726
|
* 120
|
|
@@ -1554,7 +1736,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1554
1736
|
systemDiskSnapshotPolicyId?: string;
|
|
1555
1737
|
/**
|
|
1556
1738
|
* @remarks
|
|
1557
|
-
* The ECS
|
|
1739
|
+
* The labels of ECS instances.
|
|
1558
1740
|
*/
|
|
1559
1741
|
tags?: Tag[];
|
|
1560
1742
|
/**
|
|
@@ -1779,6 +1961,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1779
1961
|
* @remarks
|
|
1780
1962
|
* The node pool status. Valid values:
|
|
1781
1963
|
*
|
|
1964
|
+
* - `active`: Activated.
|
|
1965
|
+
* - `scaling`: Scaling in progress.
|
|
1966
|
+
* - `removing`: Nodes are being removed.
|
|
1967
|
+
* - `deleting`: Being deleted.
|
|
1968
|
+
* - `updating`: Being updated.
|
|
1969
|
+
*
|
|
1782
1970
|
* @example
|
|
1783
1971
|
* active
|
|
1784
1972
|
*/
|
|
@@ -1831,6 +2019,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig extends $dar
|
|
|
1831
2019
|
* @remarks
|
|
1832
2020
|
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1833
2021
|
*
|
|
2022
|
+
* - `true`: Enabled.
|
|
2023
|
+
* - `false`: Not enabled.
|
|
2024
|
+
*
|
|
1834
2025
|
* @example
|
|
1835
2026
|
* false
|
|
1836
2027
|
*/
|
|
@@ -1875,12 +2066,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1875
2066
|
/**
|
|
1876
2067
|
* @remarks
|
|
1877
2068
|
* **[Deprecated]**
|
|
2069
|
+
*
|
|
2070
|
+
* The network-related configuration for edge node pools. This value is meaningful only for edge-type node pools.
|
|
1878
2071
|
*/
|
|
1879
2072
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
1880
2073
|
/**
|
|
1881
2074
|
* @remarks
|
|
1882
2075
|
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1883
2076
|
*
|
|
2077
|
+
* - `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.
|
|
2078
|
+
* - `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.
|
|
2079
|
+
*
|
|
1884
2080
|
* @example
|
|
1885
2081
|
* basic
|
|
1886
2082
|
*/
|
|
@@ -1897,7 +2093,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1897
2093
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
1898
2094
|
/**
|
|
1899
2095
|
* @remarks
|
|
1900
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
2096
|
+
* The maximum number of nodes allowed in the edge node pool. This parameter specifies the maximum number of nodes that the node pool can contain and must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the total number of nodes the cluster can contain, with no additional limit on the node pool itself). This parameter is typically greater than 0 for edge node pools. For ess-type node pools and default edge-type node pools, this parameter is 0.
|
|
1901
2097
|
*
|
|
1902
2098
|
* @example
|
|
1903
2099
|
* 10
|
|
@@ -1905,7 +2101,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1905
2101
|
maxNodes?: number;
|
|
1906
2102
|
/**
|
|
1907
2103
|
* @remarks
|
|
1908
|
-
* The
|
|
2104
|
+
* The node component list.
|
|
1909
2105
|
*/
|
|
1910
2106
|
nodeComponents?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents[];
|
|
1911
2107
|
/**
|