@alicloud/cs20151215 7.2.4 → 7.2.6
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 +88 -88
- package/dist/client.js +107 -88
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -13
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateClusterNodePoolRequest.d.ts +214 -163
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +310 -392
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
- package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +15 -7
- package/dist/models/DeleteClusterNodesRequest.js +2 -0
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +85 -77
- package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +23 -12
- package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +27 -15
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +70 -54
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +3 -3
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +111 -99
- package/dist/models/ModifyClusterRequest.js +2 -0
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +19 -11
- package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +19 -11
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +112 -88
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateClusterNodePoolRequest.ts +214 -163
- package/src/models/CreateClusterRequest.ts +312 -392
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
- package/src/models/DeleteClusterNodesRequest.ts +17 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
- package/src/models/DescribeClusterDetailResponseBody.ts +87 -77
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
- package/src/models/DescribeClustersForRegionRequest.ts +14 -14
- package/src/models/DescribeClustersForRegionResponseBody.ts +25 -12
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +29 -15
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +90 -70
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
- package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
- package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
- package/src/models/ModifyClusterRequest.ts +113 -99
- package/src/models/ModifyClusterResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +21 -11
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +21 -11
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
- package/src/models/UpdateUserPermissionsRequest.ts +22 -22
|
@@ -12,7 +12,7 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Specifies whether
|
|
15
|
+
* Specifies whether auto mode is enabled.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -51,9 +51,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
53
|
* The billing method of the EIP. Valid values:
|
|
54
|
-
*
|
|
55
|
-
* -
|
|
56
|
-
* - `PayByTraffic`: pay-by-data-transfer.
|
|
54
|
+
* - PayByBandwidth: pay-by-bandwidth
|
|
55
|
+
* - PayByTraffic: pay-by-data-transfer
|
|
57
56
|
*
|
|
58
57
|
* @example
|
|
59
58
|
* PayByBandwidth
|
|
@@ -61,13 +60,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
61
60
|
eipInternetChargeType?: string;
|
|
62
61
|
/**
|
|
63
62
|
* @remarks
|
|
64
|
-
* Specifies whether
|
|
65
|
-
*
|
|
66
|
-
* -
|
|
67
|
-
*
|
|
68
|
-
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes, and always maintains the number of nodes at the expected number.
|
|
69
|
-
*
|
|
70
|
-
* If this parameter is set to false, other configuration parameters in auto_scaling do not take effect.
|
|
63
|
+
* Specifies whether auto scaling is enabled. Valid values:
|
|
64
|
+
* - true: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales the node resources based on the configured minimum and maximum number of instances. For clusters of version 1.24 and later, node instant elasticity is enabled by default. For clusters earlier than version 1.24, node auto scaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
65
|
+
* - false: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes, and always maintains the number of nodes at the expected number.
|
|
66
|
+
* When this parameter is set to false, other configuration parameters in auto_scaling do not take effect.
|
|
71
67
|
*
|
|
72
68
|
* @example
|
|
73
69
|
* true
|
|
@@ -75,10 +71,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
75
71
|
enable?: boolean;
|
|
76
72
|
/**
|
|
77
73
|
* @remarks
|
|
78
|
-
* Specifies whether to
|
|
79
|
-
*
|
|
80
|
-
* -
|
|
81
|
-
* - `false`: does not associate an EIP.
|
|
74
|
+
* Specifies whether to bind an EIP. Valid values:
|
|
75
|
+
* - true: binds an EIP.
|
|
76
|
+
* - false: does not bind an EIP.
|
|
82
77
|
*
|
|
83
78
|
* @example
|
|
84
79
|
* true
|
|
@@ -103,11 +98,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
103
98
|
/**
|
|
104
99
|
* @remarks
|
|
105
100
|
* The auto scaling type, which is categorized by the auto scaling instance type. Valid values:
|
|
106
|
-
*
|
|
107
|
-
* -
|
|
108
|
-
* -
|
|
109
|
-
* -
|
|
110
|
-
* - `spot`: spot instance.
|
|
101
|
+
* - cpu: regular instance.
|
|
102
|
+
* - gpu: GPU-accelerated instance.
|
|
103
|
+
* - gpushare: shared GPU instance.
|
|
104
|
+
* - spot: spot instance.
|
|
111
105
|
*
|
|
112
106
|
* @example
|
|
113
107
|
* cpu
|
|
@@ -214,7 +208,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
214
208
|
bandwidth?: number;
|
|
215
209
|
/**
|
|
216
210
|
* @remarks
|
|
217
|
-
* **[Deprecated]** The
|
|
211
|
+
* **[Deprecated]** The Cloud Connect Network (CCN) instance ID attached to the edge-optimized node pool.
|
|
218
212
|
*
|
|
219
213
|
* @example
|
|
220
214
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -222,7 +216,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
222
216
|
ccnId?: string;
|
|
223
217
|
/**
|
|
224
218
|
* @remarks
|
|
225
|
-
* **[Deprecated]** The region of the CCN instance
|
|
219
|
+
* **[Deprecated]** The region of the CCN instance bound to the edge-optimized node pool.
|
|
226
220
|
*
|
|
227
221
|
* @example
|
|
228
222
|
* cn-shanghai
|
|
@@ -230,7 +224,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
230
224
|
ccnRegionId?: string;
|
|
231
225
|
/**
|
|
232
226
|
* @remarks
|
|
233
|
-
* **[Deprecated]** The
|
|
227
|
+
* **[Deprecated]** The Cloud Enterprise Network (CEN) instance ID attached to the edge-optimized node pool.
|
|
234
228
|
*
|
|
235
229
|
* @example
|
|
236
230
|
* cen-ey9k9nfhz0f*******
|
|
@@ -276,10 +270,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
276
270
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $dara.Model {
|
|
277
271
|
/**
|
|
278
272
|
* @remarks
|
|
279
|
-
* Specifies whether to install
|
|
280
|
-
*
|
|
281
|
-
* -
|
|
282
|
-
* - `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
273
|
+
* Specifies whether to install CloudMonitor on ECS nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Enable this feature. Valid values:
|
|
274
|
+
* - true: installs CloudMonitor on ECS nodes.
|
|
275
|
+
* - false: does not install CloudMonitor on ECS nodes.
|
|
283
276
|
*
|
|
284
277
|
* @example
|
|
285
278
|
* true
|
|
@@ -287,10 +280,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
287
280
|
cmsEnabled?: boolean;
|
|
288
281
|
/**
|
|
289
282
|
* @remarks
|
|
290
|
-
* The CPU management policy for nodes.
|
|
291
|
-
*
|
|
292
|
-
* -
|
|
293
|
-
* - `none`: uses the existing default CPU affinity scheme.
|
|
283
|
+
* The CPU management policy for nodes. When the cluster version is 1.12.6 or later, the following two policies are supported:
|
|
284
|
+
* - static: allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
285
|
+
* - none: enables the existing default CPU affinity scheme.
|
|
294
286
|
*
|
|
295
287
|
* @example
|
|
296
288
|
* none
|
|
@@ -304,12 +296,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
304
296
|
/**
|
|
305
297
|
* @remarks
|
|
306
298
|
* The custom node name.
|
|
307
|
-
*
|
|
308
299
|
* A node name consists of three parts: prefix + node IP address substring + suffix:
|
|
309
|
-
*
|
|
310
|
-
* - The prefix and suffix can each consist of one or more parts separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or a digit.
|
|
300
|
+
* - The prefix and suffix can each consist of one or more parts separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit.
|
|
311
301
|
* - The IP address substring length refers to the number of digits intercepted from the end of the node IP address. Valid values: 5 to 12.
|
|
312
|
-
*
|
|
313
302
|
* For example, if the node IP address is 192.168.0.55, the specified prefix is aliyun.com, the IP address substring length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
314
303
|
*
|
|
315
304
|
* @example
|
|
@@ -327,10 +316,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
327
316
|
/**
|
|
328
317
|
* @remarks
|
|
329
318
|
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
330
|
-
*
|
|
331
|
-
* -
|
|
332
|
-
* -
|
|
333
|
-
* - docker: no longer maintained. Supported by clusters of Kubernetes 1.22 and earlier.
|
|
319
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
320
|
+
* - Sandboxed-Container.runv: sandboxed container. Provides higher isolation. Supports clusters of version 1.31 and earlier.
|
|
321
|
+
* - docker: deprecated. Supports clusters of version 1.22 and earlier.
|
|
334
322
|
*
|
|
335
323
|
* @example
|
|
336
324
|
* containerd
|
|
@@ -346,16 +334,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
346
334
|
runtimeVersion?: string;
|
|
347
335
|
/**
|
|
348
336
|
* @remarks
|
|
349
|
-
* The taint information
|
|
337
|
+
* The node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see [Taints and Tolerations](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
350
338
|
*/
|
|
351
339
|
taints?: Taint[];
|
|
352
340
|
/**
|
|
353
341
|
* @remarks
|
|
354
|
-
* Specifies whether the
|
|
355
|
-
*
|
|
356
|
-
* -
|
|
357
|
-
*
|
|
358
|
-
* - `false`: schedulable.
|
|
342
|
+
* Specifies whether the nodes are unschedulable after scale-out. Valid values:
|
|
343
|
+
* - true: unschedulable.
|
|
344
|
+
* - false: schedulable.
|
|
359
345
|
*
|
|
360
346
|
* @example
|
|
361
347
|
* true
|
|
@@ -449,9 +435,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
449
435
|
maxUnhealthyNodesThreshold?: string;
|
|
450
436
|
/**
|
|
451
437
|
* @remarks
|
|
452
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when auto_repair
|
|
453
|
-
* - true
|
|
454
|
-
* - false
|
|
438
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
439
|
+
* - `true`: Node restarts are allowed.
|
|
440
|
+
* - `false`: Node restarts are not allowed.
|
|
455
441
|
*
|
|
456
442
|
* @example
|
|
457
443
|
* true
|
|
@@ -489,9 +475,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
|
|
|
489
475
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
490
476
|
/**
|
|
491
477
|
* @remarks
|
|
492
|
-
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when auto_upgrade
|
|
493
|
-
* - true
|
|
494
|
-
* - false
|
|
478
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
479
|
+
* - `true`: Automatic kubelet upgrades are allowed.
|
|
480
|
+
* - `false`: Automatic kubelet upgrades are not allowed.
|
|
495
481
|
*
|
|
496
482
|
* @example
|
|
497
483
|
* true
|
|
@@ -521,7 +507,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradeP
|
|
|
521
507
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy extends $dara.Model {
|
|
522
508
|
/**
|
|
523
509
|
* @remarks
|
|
524
|
-
* The packages to
|
|
510
|
+
* The packages to exclude during the vulnerability fix process.
|
|
525
511
|
*
|
|
526
512
|
* @example
|
|
527
513
|
* kernel
|
|
@@ -529,9 +515,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
529
515
|
excludePackages?: string;
|
|
530
516
|
/**
|
|
531
517
|
* @remarks
|
|
532
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when auto_vul_fix
|
|
533
|
-
* - true
|
|
534
|
-
* - false
|
|
518
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
519
|
+
* - `true`: Node restarts are allowed.
|
|
520
|
+
* - `false`: Node restarts are not allowed.
|
|
535
521
|
*
|
|
536
522
|
* @example
|
|
537
523
|
* true
|
|
@@ -540,9 +526,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
|
|
|
540
526
|
/**
|
|
541
527
|
* @remarks
|
|
542
528
|
* The vulnerability levels that are allowed for automatic fixes, separated by commas. Valid values:
|
|
543
|
-
* - asap
|
|
544
|
-
* - later
|
|
545
|
-
* - nntf
|
|
529
|
+
* - `asap`: high
|
|
530
|
+
* - `later`: medium
|
|
531
|
+
* - `nntf`: low
|
|
546
532
|
*
|
|
547
533
|
* @example
|
|
548
534
|
* asap,nntf
|
|
@@ -577,8 +563,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
577
563
|
/**
|
|
578
564
|
* @remarks
|
|
579
565
|
* Specifies whether to enable auto-upgrade. Valid values:
|
|
580
|
-
* - true
|
|
581
|
-
* - false
|
|
566
|
+
* - `true`: Auto-upgrade is enabled.
|
|
567
|
+
* - `false`: Auto-upgrade is disabled.
|
|
582
568
|
*
|
|
583
569
|
* @example
|
|
584
570
|
* true
|
|
@@ -594,7 +580,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
594
580
|
maxUnavailable?: number;
|
|
595
581
|
/**
|
|
596
582
|
* @remarks
|
|
597
|
-
* The number of surge nodes. This parameter and surge_percentage are mutually exclusive.
|
|
583
|
+
* The number of surge nodes. This parameter and `surge_percentage` are mutually exclusive.
|
|
598
584
|
*
|
|
599
585
|
* @example
|
|
600
586
|
* 5
|
|
@@ -602,7 +588,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
|
|
|
602
588
|
surge?: number;
|
|
603
589
|
/**
|
|
604
590
|
* @remarks
|
|
605
|
-
* The percentage of surge nodes. This parameter and surge are mutually exclusive. The number of surge nodes is calculated by multiplying the
|
|
591
|
+
* The percentage of surge nodes. This parameter and `surge` are mutually exclusive. The number of surge nodes is calculated by multiplying the percentage by the total number of nodes. For example, if the percentage is set to 50% and the total number of nodes is 6, the number of surge nodes is 50% × 6, which results in 3 surge nodes.
|
|
606
592
|
*
|
|
607
593
|
* @example
|
|
608
594
|
* 50
|
|
@@ -643,10 +629,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
643
629
|
autoFaultDiagnosis?: boolean;
|
|
644
630
|
/**
|
|
645
631
|
* @remarks
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
* -
|
|
649
|
-
* - `false`: disables auto repair.
|
|
632
|
+
* The auto repair feature. This feature takes effect only when enable is set to true. Valid values:
|
|
633
|
+
* - true: enables auto repair.
|
|
634
|
+
* - false: disables auto repair.
|
|
650
635
|
*
|
|
651
636
|
* @example
|
|
652
637
|
* true
|
|
@@ -659,9 +644,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
659
644
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
660
645
|
/**
|
|
661
646
|
* @remarks
|
|
662
|
-
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when enable
|
|
663
|
-
* - true
|
|
664
|
-
* - false
|
|
647
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
648
|
+
* - `true`: Auto-upgrade is enabled.
|
|
649
|
+
* - `false`: Auto-upgrade is disabled.
|
|
665
650
|
*
|
|
666
651
|
* @example
|
|
667
652
|
* true
|
|
@@ -674,9 +659,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
674
659
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
675
660
|
/**
|
|
676
661
|
* @remarks
|
|
677
|
-
* Specifies whether to automatically fix CVEs. This parameter takes effect only when enable
|
|
678
|
-
* - true
|
|
679
|
-
* - false
|
|
662
|
+
* Specifies whether to automatically fix CVEs. This parameter takes effect only when `enable=true`. Valid values:
|
|
663
|
+
* - `true`: Automatic CVE fixes are allowed.
|
|
664
|
+
* - `false`: Automatic CVE fixes are not allowed.
|
|
680
665
|
*
|
|
681
666
|
* @example
|
|
682
667
|
* true
|
|
@@ -684,19 +669,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
684
669
|
autoVulFix?: boolean;
|
|
685
670
|
/**
|
|
686
671
|
* @remarks
|
|
687
|
-
* The
|
|
672
|
+
* The automatic CVE fix policy.
|
|
688
673
|
*/
|
|
689
674
|
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
690
675
|
/**
|
|
691
676
|
* @remarks
|
|
692
|
-
* Specifies whether to enable the node rotation capability. This capability is supported only by smart managed node pools and is enabled by default.
|
|
677
|
+
* Specifies whether to enable the node rotation capability. This capability is supported only by smart managed node pools and is enabled by default. Standard node pools do not support this capability.
|
|
693
678
|
*/
|
|
694
679
|
driftEnabled?: boolean;
|
|
695
680
|
/**
|
|
696
681
|
* @remarks
|
|
697
682
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
698
|
-
* - true
|
|
699
|
-
* - false
|
|
683
|
+
* - `true`: The managed node pool is enabled.
|
|
684
|
+
* - `false`: The managed node pool is disabled. Other related configurations take effect only when `enable=true`.
|
|
700
685
|
*
|
|
701
686
|
* @example
|
|
702
687
|
* true
|
|
@@ -704,7 +689,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
704
689
|
enable?: boolean;
|
|
705
690
|
/**
|
|
706
691
|
* @remarks
|
|
707
|
-
* The auto-upgrade configuration. This configuration takes effect only when enable
|
|
692
|
+
* The auto-upgrade configuration. This configuration takes effect only when `enable=true`.
|
|
708
693
|
*/
|
|
709
694
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
710
695
|
static names(): { [key: string]: string } {
|
|
@@ -844,7 +829,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig e
|
|
|
844
829
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends $dara.Model {
|
|
845
830
|
/**
|
|
846
831
|
* @remarks
|
|
847
|
-
* The node component
|
|
832
|
+
* The configuration of the node component.
|
|
848
833
|
*/
|
|
849
834
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
850
835
|
/**
|
|
@@ -993,8 +978,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
993
978
|
/**
|
|
994
979
|
* @remarks
|
|
995
980
|
* Specifies whether the node pool is the default node pool. Typically, a cluster has only one default node pool. Valid values:
|
|
996
|
-
* - true
|
|
997
|
-
* - false
|
|
981
|
+
* - `true`: The node pool is the default node pool.
|
|
982
|
+
* - `false`: The node pool is not the default node pool.
|
|
998
983
|
*
|
|
999
984
|
* @example
|
|
1000
985
|
* true
|
|
@@ -1035,7 +1020,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
1035
1020
|
/**
|
|
1036
1021
|
* @remarks
|
|
1037
1022
|
* The node pool type. Valid values:
|
|
1038
|
-
* - `ess`: standard node pool
|
|
1023
|
+
* - `ess`: standard node pool (includes managed features and elastic scaling features).
|
|
1039
1024
|
* - `edge`: edge node pool.
|
|
1040
1025
|
* - `lingjun`: Lingjun node pool.
|
|
1041
1026
|
*
|
|
@@ -1090,8 +1075,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions
|
|
|
1090
1075
|
/**
|
|
1091
1076
|
* @remarks
|
|
1092
1077
|
* Specifies whether to enable nested virtualization. Valid values:
|
|
1093
|
-
* - disabled:
|
|
1094
|
-
* - enabled:
|
|
1078
|
+
* - disabled: Disables nested virtualization.
|
|
1079
|
+
* - enabled: Enables nested virtualization.
|
|
1095
1080
|
*
|
|
1096
1081
|
* @example
|
|
1097
1082
|
* enabled
|
|
@@ -1130,9 +1115,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoo
|
|
|
1130
1115
|
/**
|
|
1131
1116
|
* @remarks
|
|
1132
1117
|
* The private pool capacity matching criteria for instance startup. After an elasticity assurance or capacity reservation takes effect, private pool capacity is generated for you to select when you start instances. Valid values:
|
|
1133
|
-
* - Open
|
|
1134
|
-
* - Target
|
|
1135
|
-
* - None
|
|
1118
|
+
* - `Open`: Open mode. The system automatically matches the private pool capacity of the open type. If no matching private pool capacity is available, the system uses public pool resources to start the instance. In this mode, you do not need to specify the PrivatePoolOptions.Id parameter.
|
|
1119
|
+
* - `Target`: Specified mode. The system uses the specified private pool capacity to start the instance. If the specified private pool capacity is unavailable, the instance fails to start. In this mode, you must specify the private pool ID by setting the PrivatePoolOptions.Id parameter.
|
|
1120
|
+
* - `None`: No private pool mode. The system does not use private pool capacity to start the instance.
|
|
1136
1121
|
*
|
|
1137
1122
|
* @example
|
|
1138
1123
|
* Open
|
|
@@ -1169,10 +1154,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePo
|
|
|
1169
1154
|
privatePoolIds?: string[];
|
|
1170
1155
|
/**
|
|
1171
1156
|
* @remarks
|
|
1172
|
-
* The resource pool
|
|
1173
|
-
* - PrivatePoolFirst: Private pools
|
|
1157
|
+
* The resource pool strategy used when creating instances. Valid values:
|
|
1158
|
+
* - PrivatePoolFirst: Private pools take priority.
|
|
1174
1159
|
* - PrivatePoolOnly: Only private pools are used.
|
|
1175
|
-
* - None: No resource pool
|
|
1160
|
+
* - None: No resource pool strategy is used.
|
|
1176
1161
|
*
|
|
1177
1162
|
* @example
|
|
1178
1163
|
* PrivatePoolFirst
|
|
@@ -1252,8 +1237,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1252
1237
|
/**
|
|
1253
1238
|
* @remarks
|
|
1254
1239
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when instance_charge_type is set to PrePaid. Valid values:
|
|
1255
|
-
* - true
|
|
1256
|
-
* - false
|
|
1240
|
+
* - `true`: Enables auto-renewal.
|
|
1241
|
+
* - `false`: Disables auto-renewal.
|
|
1257
1242
|
*
|
|
1258
1243
|
* @example
|
|
1259
1244
|
* false
|
|
@@ -1281,9 +1266,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1281
1266
|
cisEnabled?: boolean;
|
|
1282
1267
|
/**
|
|
1283
1268
|
* @remarks
|
|
1284
|
-
* Specifies whether to automatically create pay-as-you-
|
|
1285
|
-
* - true
|
|
1286
|
-
* - false
|
|
1269
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when the multi_az_policy parameter is set to COST_OPTIMIZED and sufficient spot instances cannot be created due to price or inventory issues. Valid values:
|
|
1270
|
+
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
1271
|
+
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
1287
1272
|
*
|
|
1288
1273
|
* @example
|
|
1289
1274
|
* true
|
|
@@ -1291,12 +1276,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1291
1276
|
compensateWithOnDemand?: boolean;
|
|
1292
1277
|
/**
|
|
1293
1278
|
* @remarks
|
|
1294
|
-
* The CPU
|
|
1279
|
+
* The CPU options.
|
|
1295
1280
|
*/
|
|
1296
1281
|
cpuOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions;
|
|
1297
1282
|
/**
|
|
1298
1283
|
* @remarks
|
|
1299
|
-
* The configurations of the data
|
|
1284
|
+
* The configurations of the data disks for nodes, such as the disk category and size.
|
|
1300
1285
|
*/
|
|
1301
1286
|
dataDisks?: DataDisk[];
|
|
1302
1287
|
/**
|
|
@@ -1339,16 +1324,16 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1339
1324
|
/**
|
|
1340
1325
|
* @remarks
|
|
1341
1326
|
* The operating system image type. Valid values:
|
|
1342
|
-
* - AliyunLinux
|
|
1343
|
-
* - AliyunLinuxSecurity
|
|
1344
|
-
* - AliyunLinux3
|
|
1345
|
-
* - AliyunLinux3Arm64
|
|
1346
|
-
* - AliyunLinux3Security
|
|
1347
|
-
* - CentOS
|
|
1348
|
-
* - Windows
|
|
1349
|
-
* - WindowsCore
|
|
1350
|
-
* - ContainerOS
|
|
1351
|
-
* - AliyunLinux3ContainerOptimized
|
|
1327
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1328
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1329
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1330
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1331
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1332
|
+
* - `CentOS`: CentOS image.
|
|
1333
|
+
* - `Windows`: Windows image.
|
|
1334
|
+
* - `WindowsCore`: Windows Core image.
|
|
1335
|
+
* - `ContainerOS`: container-optimized image.
|
|
1336
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1352
1337
|
*
|
|
1353
1338
|
* @example
|
|
1354
1339
|
* AliyunLinux3
|
|
@@ -1357,8 +1342,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1357
1342
|
/**
|
|
1358
1343
|
* @remarks
|
|
1359
1344
|
* The billing method of nodes in the node pool. Valid values:
|
|
1360
|
-
* - PrePaid
|
|
1361
|
-
* - PostPaid
|
|
1345
|
+
* - `PrePaid`: Subscription.
|
|
1346
|
+
* - `PostPaid`: Pay-as-you-go.
|
|
1362
1347
|
*
|
|
1363
1348
|
* @example
|
|
1364
1349
|
* PostPaid
|
|
@@ -1371,7 +1356,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1371
1356
|
instancePatterns?: InstancePatterns[];
|
|
1372
1357
|
/**
|
|
1373
1358
|
* @remarks
|
|
1374
|
-
* The list of instance types for nodes. You can select multiple instance types as
|
|
1359
|
+
* The list of instance types for nodes. You can select multiple instance types as backups. When a node is created, the system attempts to purchase an instance of the first instance type in the list. If the purchase fails, the system tries the next instance type until the node is created. The actual instance type purchased may vary based on inventory.
|
|
1375
1360
|
*
|
|
1376
1361
|
* @example
|
|
1377
1362
|
* ecs.n4.large
|
|
@@ -1379,9 +1364,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1379
1364
|
instanceTypes?: string[];
|
|
1380
1365
|
/**
|
|
1381
1366
|
* @remarks
|
|
1382
|
-
* The billing method of the public IP address for
|
|
1383
|
-
* - PayByBandwidth:
|
|
1384
|
-
* - PayByTraffic:
|
|
1367
|
+
* The billing method of the public IP address for nodes. Valid values:
|
|
1368
|
+
* - PayByBandwidth: Pay-by-bandwidth.
|
|
1369
|
+
* - PayByTraffic: Pay-by-traffic.
|
|
1385
1370
|
*
|
|
1386
1371
|
* @example
|
|
1387
1372
|
* PayByBandwidth
|
|
@@ -1397,7 +1382,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1397
1382
|
internetMaxBandwidthOut?: number;
|
|
1398
1383
|
/**
|
|
1399
1384
|
* @remarks
|
|
1400
|
-
* The name of the key pair. You must specify this parameter or login_password.
|
|
1385
|
+
* The name of the key pair. You must specify this parameter or the login_password parameter.
|
|
1401
1386
|
* If the node pool is a managed node pool, only key_pair is supported.
|
|
1402
1387
|
*
|
|
1403
1388
|
* @example
|
|
@@ -1407,8 +1392,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1407
1392
|
/**
|
|
1408
1393
|
* @remarks
|
|
1409
1394
|
* Specifies whether to log on to the created ECS instances as a non-root user. Valid values:
|
|
1410
|
-
* - true:
|
|
1411
|
-
* - false:
|
|
1395
|
+
* - true: Logs on as a non-root user (ecs-user).
|
|
1396
|
+
* - false: Logs on as the root user.
|
|
1412
1397
|
*
|
|
1413
1398
|
* @example
|
|
1414
1399
|
* true
|
|
@@ -1416,7 +1401,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1416
1401
|
loginAsNonRoot?: boolean;
|
|
1417
1402
|
/**
|
|
1418
1403
|
* @remarks
|
|
1419
|
-
* The SSH logon password. You must specify this parameter or key_pair. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1404
|
+
* The SSH logon password. You must specify this parameter or the key_pair parameter. 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.
|
|
1420
1405
|
* For security reasons, the password is encrypted in the query result.
|
|
1421
1406
|
*
|
|
1422
1407
|
* @example
|
|
@@ -1425,11 +1410,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1425
1410
|
loginPassword?: string;
|
|
1426
1411
|
/**
|
|
1427
1412
|
* @remarks
|
|
1428
|
-
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1429
|
-
*
|
|
1430
|
-
* - `
|
|
1431
|
-
*
|
|
1432
|
-
* - `
|
|
1413
|
+
* The elastic scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1414
|
+
*
|
|
1415
|
+
* - `PRIORITY`: Scales ECS instances based on the vSwitches specified by VSwitchIds.N. If 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.
|
|
1416
|
+
*
|
|
1417
|
+
* - `COST_OPTIMIZED`: Creates ECS instances based on the vCPU unit price in ascending order. When the scaling configuration settings specify multiple instance types with the spot billing method, the system preferentially creates spot instances. 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 inventory issues.
|
|
1418
|
+
*
|
|
1419
|
+
* > The `COST_OPTIMIZED` value is active only when the scaling configuration settings specify multiple instance types or use spot instances.
|
|
1420
|
+
*
|
|
1421
|
+
* - `BALANCE`: Evenly allocates ECS instances across the zones specified in the scaling group. If the instances are unevenly distributed across zones due to inventory shortages, you can call the `RebalanceInstances` operation to balance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1433
1422
|
*
|
|
1434
1423
|
* @example
|
|
1435
1424
|
* COST_OPTIMIZED
|
|
@@ -1445,7 +1434,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1445
1434
|
onDemandBaseCapacity?: number;
|
|
1446
1435
|
/**
|
|
1447
1436
|
* @remarks
|
|
1448
|
-
* The percentage of pay-as-you-go instances among the
|
|
1437
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances specified by on_demand_base_capacity. Valid values: 0 to 100.
|
|
1449
1438
|
*
|
|
1450
1439
|
* @example
|
|
1451
1440
|
* 20
|
|
@@ -1463,9 +1452,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1463
1452
|
period?: number;
|
|
1464
1453
|
/**
|
|
1465
1454
|
* @remarks
|
|
1466
|
-
* The billing cycle of the node. This parameter is required when instance_charge_type is set to PrePaid
|
|
1467
|
-
* - `Month`:
|
|
1468
|
-
* - `Week`:
|
|
1455
|
+
* The billing cycle of the node. This parameter is required when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1456
|
+
* - `Month`: Month.
|
|
1457
|
+
* - `Week`: Week.
|
|
1469
1458
|
*
|
|
1470
1459
|
* @example
|
|
1471
1460
|
* Month
|
|
@@ -1474,10 +1463,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1474
1463
|
/**
|
|
1475
1464
|
* @remarks
|
|
1476
1465
|
* **[Deprecated]** The operating system distribution. Valid values:
|
|
1477
|
-
* - CentOS
|
|
1478
|
-
* - AliyunLinux
|
|
1479
|
-
* - Windows
|
|
1480
|
-
* - WindowsCore
|
|
1466
|
+
* - `CentOS`
|
|
1467
|
+
* - `AliyunLinux`
|
|
1468
|
+
* - `Windows`
|
|
1469
|
+
* - `WindowsCore`
|
|
1481
1470
|
*
|
|
1482
1471
|
* @example
|
|
1483
1472
|
* AliyunLinux
|
|
@@ -1498,7 +1487,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1498
1487
|
ramPolicy?: string;
|
|
1499
1488
|
/**
|
|
1500
1489
|
* @remarks
|
|
1501
|
-
* The name of the RAM role for worker nodes.
|
|
1490
|
+
* The name of the Resource Access Management (RAM) role for worker nodes.
|
|
1502
1491
|
*
|
|
1503
1492
|
* @example
|
|
1504
1493
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -1506,17 +1495,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1506
1495
|
ramRoleName?: string;
|
|
1507
1496
|
/**
|
|
1508
1497
|
* @remarks
|
|
1509
|
-
*
|
|
1498
|
+
* The list of ApsaraDB RDS instances. If this list is specified, the ECS instances of the cluster nodes are automatically added to the RDS access whitelist.
|
|
1510
1499
|
*/
|
|
1511
1500
|
rdsInstances?: string[];
|
|
1512
1501
|
/**
|
|
1513
1502
|
* @remarks
|
|
1514
|
-
* The resource pool and resource pool policy used
|
|
1503
|
+
* The resource pool and resource pool policy used when creating instances.
|
|
1515
1504
|
*/
|
|
1516
1505
|
resourcePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePoolOptions;
|
|
1517
1506
|
/**
|
|
1518
1507
|
* @remarks
|
|
1519
|
-
* The
|
|
1508
|
+
* The scaling group ID.
|
|
1520
1509
|
*
|
|
1521
1510
|
* @example
|
|
1522
1511
|
* asg-2ze8n5qw4atggut8****
|
|
@@ -1524,9 +1513,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1524
1513
|
scalingGroupId?: string;
|
|
1525
1514
|
/**
|
|
1526
1515
|
* @remarks
|
|
1527
|
-
* The scaling group
|
|
1528
|
-
* - `release`: Standard
|
|
1529
|
-
* - `recycle`: Swift
|
|
1516
|
+
* The scaling group mode. Valid values:
|
|
1517
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on the requested resource usage.
|
|
1518
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
|
|
1530
1519
|
*
|
|
1531
1520
|
* @example
|
|
1532
1521
|
* release
|
|
@@ -1534,7 +1523,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1534
1523
|
scalingPolicy?: string;
|
|
1535
1524
|
/**
|
|
1536
1525
|
* @remarks
|
|
1537
|
-
* **[Deprecated]**
|
|
1526
|
+
* **[Deprecated]**
|
|
1527
|
+
*
|
|
1528
|
+
* The security group ID of the node pool. If the node pool is associated with multiple security groups, this value is the first ID in `security_group_ids`.
|
|
1538
1529
|
*
|
|
1539
1530
|
* @example
|
|
1540
1531
|
* sg-2ze1iuk12m2sb4c4****
|
|
@@ -1549,7 +1540,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1549
1540
|
* @remarks
|
|
1550
1541
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1551
1542
|
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1552
|
-
* - `false`:
|
|
1543
|
+
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
1553
1544
|
* Default value: `false`.
|
|
1554
1545
|
*
|
|
1555
1546
|
* @example
|
|
@@ -1558,7 +1549,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1558
1549
|
securityHardeningOs?: boolean;
|
|
1559
1550
|
/**
|
|
1560
1551
|
* @remarks
|
|
1561
|
-
* Specifies whether to enable MLPS 2.0 security hardening. You can enable
|
|
1552
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable this feature for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs for classified protection compliance for the MLPS 2.0 Level 3 images of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3.
|
|
1562
1553
|
*
|
|
1563
1554
|
* @example
|
|
1564
1555
|
* false
|
|
@@ -1566,7 +1557,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1566
1557
|
socEnabled?: boolean;
|
|
1567
1558
|
/**
|
|
1568
1559
|
* @remarks
|
|
1569
|
-
* The number of available instance types. The scaling group evenly creates spot instances across multiple instance types with the lowest costs. Valid values: 1
|
|
1560
|
+
* The number of available instance types. The scaling group evenly creates spot instances across multiple instance types with the lowest costs. Valid values: [1,10].
|
|
1570
1561
|
*
|
|
1571
1562
|
* @example
|
|
1572
1563
|
* 5
|
|
@@ -1574,9 +1565,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1574
1565
|
spotInstancePools?: number;
|
|
1575
1566
|
/**
|
|
1576
1567
|
* @remarks
|
|
1577
|
-
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message
|
|
1568
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1578
1569
|
* - `true`: Enables spot instance replenishment.
|
|
1579
|
-
* - `false`:
|
|
1570
|
+
* - `false`: Disables spot instance replenishment.
|
|
1580
1571
|
*
|
|
1581
1572
|
* @example
|
|
1582
1573
|
* false
|
|
@@ -1589,10 +1580,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1589
1580
|
spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
|
|
1590
1581
|
/**
|
|
1591
1582
|
* @remarks
|
|
1592
|
-
* The
|
|
1593
|
-
* - NoSpot:
|
|
1594
|
-
* - SpotWithPriceLimit: Sets
|
|
1595
|
-
* - SpotAsPriceGo:
|
|
1583
|
+
* The spot instance type. Valid values:
|
|
1584
|
+
* - NoSpot: Non-spot instance.
|
|
1585
|
+
* - SpotWithPriceLimit: Sets a maximum price for the spot instance.
|
|
1586
|
+
* - SpotAsPriceGo: The system automatically places bids based on the current market price.
|
|
1587
|
+
*
|
|
1596
1588
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1597
1589
|
*
|
|
1598
1590
|
* @example
|
|
@@ -1601,9 +1593,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1601
1593
|
spotStrategy?: string;
|
|
1602
1594
|
/**
|
|
1603
1595
|
* @remarks
|
|
1604
|
-
* Specifies whether to enable the burst
|
|
1605
|
-
* - true: Enables the burst
|
|
1606
|
-
* - false:
|
|
1596
|
+
* Specifies whether to enable the burst mode (performance burst) for the system cloud disk of the node. Valid values:
|
|
1597
|
+
* - true: Enables the burst mode. When a volatile workload faces sudden data read and write pressure, the cloud disk temporarily improves its performance based on the actual workload conditions until the workload returns to a steady state.
|
|
1598
|
+
* - false: Disables the burst mode.
|
|
1599
|
+
*
|
|
1607
1600
|
* 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).
|
|
1608
1601
|
*
|
|
1609
1602
|
* @example
|
|
@@ -1612,17 +1605,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1612
1605
|
systemDiskBurstingEnabled?: boolean;
|
|
1613
1606
|
/**
|
|
1614
1607
|
* @remarks
|
|
1615
|
-
* The categories of the system disk. If
|
|
1608
|
+
* The categories of the system cloud disk. If a disk category with a higher priority is unavailable, the system automatically attempts to use the next priority disk category to create the system cloud disk.
|
|
1616
1609
|
*/
|
|
1617
1610
|
systemDiskCategories?: string[];
|
|
1618
1611
|
/**
|
|
1619
1612
|
* @remarks
|
|
1620
|
-
* The category of the system disk. Valid values:
|
|
1613
|
+
* The category of the system cloud disk. Valid values:
|
|
1621
1614
|
* - `cloud_efficiency`: Ultra disk.
|
|
1622
1615
|
* - `cloud_ssd`: Standard SSD.
|
|
1623
1616
|
* - `cloud_essd`: ESSD.
|
|
1624
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1625
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1617
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
1618
|
+
* - `cloud_essd_entry`: ESSD Entry.
|
|
1626
1619
|
*
|
|
1627
1620
|
* @example
|
|
1628
1621
|
* cloud_efficiency
|
|
@@ -1630,7 +1623,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1630
1623
|
systemDiskCategory?: string;
|
|
1631
1624
|
/**
|
|
1632
1625
|
* @remarks
|
|
1633
|
-
* The encryption algorithm used for the system disk. Valid
|
|
1626
|
+
* The encryption algorithm used for the system cloud disk. Valid values: aes-256.
|
|
1634
1627
|
*
|
|
1635
1628
|
* @example
|
|
1636
1629
|
* aes-256
|
|
@@ -1638,9 +1631,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1638
1631
|
systemDiskEncryptAlgorithm?: string;
|
|
1639
1632
|
/**
|
|
1640
1633
|
* @remarks
|
|
1641
|
-
* Specifies whether to encrypt the system disk. Valid values:
|
|
1642
|
-
* - true: Encrypts the system disk.
|
|
1643
|
-
* - false: Does not encrypt the system disk.
|
|
1634
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1635
|
+
* - true: Encrypts the system cloud disk.
|
|
1636
|
+
* - false: Does not encrypt the system cloud disk.
|
|
1644
1637
|
*
|
|
1645
1638
|
* @example
|
|
1646
1639
|
* false
|
|
@@ -1648,7 +1641,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1648
1641
|
systemDiskEncrypted?: boolean;
|
|
1649
1642
|
/**
|
|
1650
1643
|
* @remarks
|
|
1651
|
-
* The ID of the KMS key used for the system disk.
|
|
1644
|
+
* The ID of the KMS key used for the system cloud disk.
|
|
1652
1645
|
*
|
|
1653
1646
|
* @example
|
|
1654
1647
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1656,11 +1649,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1656
1649
|
systemDiskKmsKeyId?: string;
|
|
1657
1650
|
/**
|
|
1658
1651
|
* @remarks
|
|
1659
|
-
* The performance level of the system disk. This parameter takes effect only for ESSDs. The performance level is related to the
|
|
1652
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSDs. The performance level is related to the disk size. For more information, see [ESSD standard SSD](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1660
1653
|
* - PL0: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1661
1654
|
* - PL1: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1662
1655
|
* - PL2: High concurrent I/O performance and stable read/write latency.
|
|
1663
|
-
* - PL3: Extremely high concurrent I/O performance and
|
|
1656
|
+
* - PL3: Extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1664
1657
|
*
|
|
1665
1658
|
* @example
|
|
1666
1659
|
* PL1
|
|
@@ -1668,7 +1661,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1668
1661
|
systemDiskPerformanceLevel?: string;
|
|
1669
1662
|
/**
|
|
1670
1663
|
* @remarks
|
|
1671
|
-
* The provisioned read/write IOPS for the system disk. This parameter is configured when the disk category is `cloud_auto`.
|
|
1664
|
+
* The provisioned read/write IOPS for the system cloud disk. This parameter is configured when the disk category is `cloud_auto`.
|
|
1672
1665
|
*
|
|
1673
1666
|
* @example
|
|
1674
1667
|
* 1000
|
|
@@ -1676,7 +1669,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1676
1669
|
systemDiskProvisionedIops?: number;
|
|
1677
1670
|
/**
|
|
1678
1671
|
* @remarks
|
|
1679
|
-
* The size of the system disk. Unit: GiB.
|
|
1672
|
+
* The size of the system cloud disk. Unit: GiB.
|
|
1673
|
+
*
|
|
1674
|
+
* Valid values: [20,2048].
|
|
1680
1675
|
*
|
|
1681
1676
|
* @example
|
|
1682
1677
|
* 120
|
|
@@ -1684,7 +1679,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1684
1679
|
systemDiskSize?: number;
|
|
1685
1680
|
/**
|
|
1686
1681
|
* @remarks
|
|
1687
|
-
* The snapshot policy for the system disk.
|
|
1682
|
+
* The snapshot policy for the system cloud disk.
|
|
1688
1683
|
*
|
|
1689
1684
|
* @example
|
|
1690
1685
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1883,7 +1878,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1883
1878
|
healthyNodes?: number;
|
|
1884
1879
|
/**
|
|
1885
1880
|
* @remarks
|
|
1886
|
-
* The number of nodes
|
|
1881
|
+
* The number of nodes being created.
|
|
1887
1882
|
*
|
|
1888
1883
|
* @example
|
|
1889
1884
|
* 0
|
|
@@ -1899,7 +1894,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1899
1894
|
offlineNodes?: number;
|
|
1900
1895
|
/**
|
|
1901
1896
|
* @remarks
|
|
1902
|
-
* The number of nodes
|
|
1897
|
+
* The number of nodes being removed.
|
|
1903
1898
|
*
|
|
1904
1899
|
* @example
|
|
1905
1900
|
* 0
|
|
@@ -1916,9 +1911,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1916
1911
|
/**
|
|
1917
1912
|
* @remarks
|
|
1918
1913
|
* The state of the node pool. Valid values:
|
|
1919
|
-
*
|
|
1914
|
+
*
|
|
1915
|
+
* - `active`: Activated.
|
|
1920
1916
|
* - `scaling`: Scaling.
|
|
1921
|
-
* - `removing`: Removing.
|
|
1917
|
+
* - `removing`: Removing nodes.
|
|
1922
1918
|
* - `deleting`: Deleting.
|
|
1923
1919
|
* - `updating`: Updating.
|
|
1924
1920
|
*
|
|
@@ -1972,7 +1968,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1972
1968
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig extends $dara.Model {
|
|
1973
1969
|
/**
|
|
1974
1970
|
* @remarks
|
|
1975
|
-
* Specifies whether to enable confidential computing
|
|
1971
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1972
|
+
*
|
|
1976
1973
|
* - `true`: Enabled.
|
|
1977
1974
|
* - `false`: Disabled.
|
|
1978
1975
|
*
|
|
@@ -2019,15 +2016,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
2019
2016
|
efloNodeGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup;
|
|
2020
2017
|
/**
|
|
2021
2018
|
* @remarks
|
|
2022
|
-
* **[Deprecated]** The network configuration
|
|
2019
|
+
* **[Deprecated]** The network configuration of the edge node pool. This parameter is valid only for node pools of the edge type.
|
|
2023
2020
|
*/
|
|
2024
2021
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
2025
2022
|
/**
|
|
2026
2023
|
* @remarks
|
|
2027
2024
|
* The network type of the edge node pool. This parameter takes effect only when type is set to edge. Valid values:
|
|
2028
|
-
*
|
|
2029
|
-
* -
|
|
2030
|
-
* - `private`: private network. Nodes in cloud node pool connect the cloud and on-premises networks through Express Connect circuits, VPNs, or CEN, which provides higher cloud-edge communication quality and more effective security protection.
|
|
2025
|
+
* - basic: Internet. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
|
|
2026
|
+
* - private: private network. Nodes in cloud node pool connect the cloud and on-premises networks through Express Connect circuits, VPNs, or CEN, which provides higher cloud-edge communication quality and more effective security assurance.
|
|
2031
2027
|
*
|
|
2032
2028
|
* @example
|
|
2033
2029
|
* basic
|
|
@@ -2035,7 +2031,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
2035
2031
|
interconnectMode?: string;
|
|
2036
2032
|
/**
|
|
2037
2033
|
* @remarks
|
|
2038
|
-
* The cluster
|
|
2034
|
+
* The cluster-related configurations.
|
|
2039
2035
|
*/
|
|
2040
2036
|
kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
2041
2037
|
/**
|
|
@@ -2045,7 +2041,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
2045
2041
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
2046
2042
|
/**
|
|
2047
2043
|
* @remarks
|
|
2048
|
-
* The maximum number of nodes that the node pool can accommodate. The value must be greater than or equal to 0. A value of 0 indicates no additional limit, meaning the node pool is only limited by the maximum number of nodes that the entire cluster can accommodate. For edge node pools, this value is
|
|
2044
|
+
* The maximum number of nodes that the node pool can accommodate. The value must be greater than or equal to 0. A value of 0 indicates no additional limit, meaning the node pool is only limited by the maximum number of nodes that the entire cluster can accommodate. For edge node pools, this value is typically greater than 0. For ESS node pools and default edge node pools, this value is 0.
|
|
2049
2045
|
*
|
|
2050
2046
|
* @example
|
|
2051
2047
|
* 10
|
|
@@ -2078,7 +2074,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
2078
2074
|
status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
|
|
2079
2075
|
/**
|
|
2080
2076
|
* @remarks
|
|
2081
|
-
* The confidential computing
|
|
2077
|
+
* The confidential computing configuration.
|
|
2082
2078
|
*/
|
|
2083
2079
|
teeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig;
|
|
2084
2080
|
static names(): { [key: string]: string } {
|
|
@@ -2167,7 +2163,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
2167
2163
|
export class DescribeClusterNodePoolsResponseBody extends $dara.Model {
|
|
2168
2164
|
/**
|
|
2169
2165
|
* @remarks
|
|
2170
|
-
* The list of node
|
|
2166
|
+
* The list of node pool instances.
|
|
2171
2167
|
*/
|
|
2172
2168
|
nodepools?: DescribeClusterNodePoolsResponseBodyNodepools[];
|
|
2173
2169
|
static names(): { [key: string]: string } {
|