@alicloud/cs20151215 7.0.2 → 7.0.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 +26 -4
- package/dist/client.js +26 -4
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +102 -107
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +121 -125
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +112 -95
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +106 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +198 -196
- package/dist/models/Nodepool.js +2 -0
- package/dist/models/Nodepool.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +26 -4
- package/src/models/CreateClusterNodePoolRequest.ts +104 -107
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +123 -125
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +114 -95
- package/src/models/ModifyClusterNodePoolRequest.ts +108 -95
- package/src/models/Nodepool.ts +200 -196
|
@@ -10,7 +10,7 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export declare class DescribeClusterNodePoolDetailResponseBodyAutoMode extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Specifies whether to enable intelligent managed mode.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* false
|
|
@@ -30,7 +30,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyAutoMode extends $
|
|
|
30
30
|
export declare class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The peak bandwidth
|
|
33
|
+
* The EIP peak bandwidth.
|
|
34
34
|
*
|
|
35
35
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
36
36
|
*
|
|
@@ -43,7 +43,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyAutoScaling extend
|
|
|
43
43
|
* The EIP billing type. Valid values:
|
|
44
44
|
*
|
|
45
45
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
46
|
-
* - `PayByTraffic`: pay-by-
|
|
46
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* PayByBandwidth
|
|
@@ -51,11 +51,11 @@ export declare class DescribeClusterNodePoolDetailResponseBodyAutoScaling extend
|
|
|
51
51
|
eipInternetChargeType?: string;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
* Specifies whether auto scaling is enabled. Valid values:
|
|
54
|
+
* Specifies whether the auto scaling feature is enabled. Valid values:
|
|
55
55
|
*
|
|
56
|
-
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application
|
|
56
|
+
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application Pods, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later use instant elasticity by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
57
57
|
*
|
|
58
|
-
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count
|
|
58
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count, maintaining the node count at the desired value.
|
|
59
59
|
*
|
|
60
60
|
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
61
61
|
*
|
|
@@ -65,10 +65,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyAutoScaling extend
|
|
|
65
65
|
enable?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* Specifies whether
|
|
68
|
+
* Specifies whether an EIP is associated. Valid values:
|
|
69
69
|
*
|
|
70
|
-
* - `true`:
|
|
71
|
-
* - `false`:
|
|
70
|
+
* - `true`: An EIP is associated.
|
|
71
|
+
* - `false`: No EIP is associated.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* true
|
|
@@ -143,7 +143,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
|
|
|
143
143
|
* @remarks
|
|
144
144
|
* [This field is deprecated]
|
|
145
145
|
*
|
|
146
|
-
* The network bandwidth of the enhanced edge node pool, in
|
|
146
|
+
* The network bandwidth of the enhanced edge node pool, in Mbps.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
149
|
* 10
|
|
@@ -163,7 +163,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
|
|
|
163
163
|
* @remarks
|
|
164
164
|
* [This field is deprecated]
|
|
165
165
|
*
|
|
166
|
-
* The region of the
|
|
166
|
+
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* cn-shanghai
|
|
@@ -205,8 +205,8 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
205
205
|
* @remarks
|
|
206
206
|
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information for the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
207
207
|
*
|
|
208
|
-
* - `true`:
|
|
209
|
-
* - `false`:
|
|
208
|
+
* - `true`: Install the CloudMonitor agent on ECS nodes.
|
|
209
|
+
* - `false`: Do not install the CloudMonitor agent on ECS nodes.
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* true
|
|
@@ -245,7 +245,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
245
245
|
nodeNameMode?: string;
|
|
246
246
|
/**
|
|
247
247
|
* @remarks
|
|
248
|
-
* The pre-
|
|
248
|
+
* The node pool pre-custom data, which is a script that runs before node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
249
249
|
*
|
|
250
250
|
* @example
|
|
251
251
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -255,9 +255,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
255
255
|
* @remarks
|
|
256
256
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
257
257
|
*
|
|
258
|
-
* - containerd: recommended
|
|
259
|
-
* - Sandboxed-Container.runv: sandboxed container
|
|
260
|
-
* - docker: no longer maintained
|
|
258
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
259
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
260
|
+
* - docker: no longer maintained. Supports cluster versions 1.22 and earlier.
|
|
261
261
|
*
|
|
262
262
|
* @example
|
|
263
263
|
* containerd
|
|
@@ -278,11 +278,11 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
278
278
|
taints?: Taint[];
|
|
279
279
|
/**
|
|
280
280
|
* @remarks
|
|
281
|
-
*
|
|
281
|
+
* Specifies whether nodes are unschedulable after scale-out.
|
|
282
282
|
*
|
|
283
|
-
* - true:
|
|
283
|
+
* - true: Unschedulable.
|
|
284
284
|
*
|
|
285
|
-
* - false:
|
|
285
|
+
* - false: Schedulable.
|
|
286
286
|
*
|
|
287
287
|
* @example
|
|
288
288
|
* true
|
|
@@ -290,7 +290,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
290
290
|
unschedulable?: boolean;
|
|
291
291
|
/**
|
|
292
292
|
* @remarks
|
|
293
|
-
* The custom data
|
|
293
|
+
* The node pool custom data, which is a script that runs after node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
294
294
|
*
|
|
295
295
|
* @example
|
|
296
296
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -326,10 +326,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepa
|
|
|
326
326
|
autoRepairPolicyId?: string;
|
|
327
327
|
/**
|
|
328
328
|
* @remarks
|
|
329
|
-
* Specifies whether
|
|
329
|
+
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
330
330
|
*
|
|
331
|
-
* - `true`:
|
|
332
|
-
* - `false`:
|
|
331
|
+
* - `true`: Node restart is allowed.
|
|
332
|
+
* - `false`: Node restart is not allowed.
|
|
333
333
|
*
|
|
334
334
|
* @example
|
|
335
335
|
* true
|
|
@@ -349,9 +349,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepa
|
|
|
349
349
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $dara.Model {
|
|
350
350
|
/**
|
|
351
351
|
* @remarks
|
|
352
|
-
* Specifies whether
|
|
353
|
-
* - `true`:
|
|
354
|
-
* - `false`:
|
|
352
|
+
* Specifies whether automatic kubelet upgrade is allowed. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
353
|
+
* - `true`: Automatic kubelet upgrade is allowed.
|
|
354
|
+
* - `false`: Automatic kubelet upgrade is not allowed.
|
|
355
355
|
*
|
|
356
356
|
* @example
|
|
357
357
|
* true
|
|
@@ -379,9 +379,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulF
|
|
|
379
379
|
excludePackages?: string;
|
|
380
380
|
/**
|
|
381
381
|
* @remarks
|
|
382
|
-
* Specifies whether
|
|
383
|
-
* - `true`:
|
|
384
|
-
* - `false`:
|
|
382
|
+
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
383
|
+
* - `true`: Node restart is allowed.
|
|
384
|
+
* - `false`: Node restart is not allowed.
|
|
385
385
|
*
|
|
386
386
|
* @example
|
|
387
387
|
* true
|
|
@@ -389,7 +389,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulF
|
|
|
389
389
|
restartNode?: boolean;
|
|
390
390
|
/**
|
|
391
391
|
* @remarks
|
|
392
|
-
* The vulnerability levels
|
|
392
|
+
* The vulnerability levels allowed for automatic fix, separated by commas.
|
|
393
393
|
*
|
|
394
394
|
* - `asap`: high
|
|
395
395
|
* - `later`: medium
|
|
@@ -413,10 +413,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulF
|
|
|
413
413
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $dara.Model {
|
|
414
414
|
/**
|
|
415
415
|
* @remarks
|
|
416
|
-
* Specifies whether
|
|
416
|
+
* Specifies whether auto upgrade is enabled. Valid values:
|
|
417
417
|
*
|
|
418
|
-
* - `true`:
|
|
419
|
-
* - `false`:
|
|
418
|
+
* - `true`: Enables auto upgrade.
|
|
419
|
+
* - `false`: Disables auto upgrade.
|
|
420
420
|
*
|
|
421
421
|
* @example
|
|
422
422
|
* true
|
|
@@ -434,7 +434,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeC
|
|
|
434
434
|
maxUnavailable?: number;
|
|
435
435
|
/**
|
|
436
436
|
* @remarks
|
|
437
|
-
* The number of extra nodes.
|
|
437
|
+
* The number of extra nodes. Mutually exclusive with surge_percentage.
|
|
438
438
|
*
|
|
439
439
|
* @example
|
|
440
440
|
* 5
|
|
@@ -442,9 +442,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeC
|
|
|
442
442
|
surge?: number;
|
|
443
443
|
/**
|
|
444
444
|
* @remarks
|
|
445
|
-
* The percentage of extra nodes.
|
|
445
|
+
* The percentage of extra nodes. Mutually exclusive with `surge`.
|
|
446
446
|
*
|
|
447
|
-
* Number of extra nodes = extra
|
|
447
|
+
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
448
448
|
*
|
|
449
449
|
* @example
|
|
450
450
|
* 50
|
|
@@ -465,10 +465,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
465
465
|
autoFaultDiagnosis?: boolean;
|
|
466
466
|
/**
|
|
467
467
|
* @remarks
|
|
468
|
-
* Specifies whether
|
|
468
|
+
* Specifies whether auto repair is enabled. This parameter takes effect only when `enable=true`. Valid values:
|
|
469
469
|
*
|
|
470
|
-
* - `true`:
|
|
471
|
-
* - `false`:
|
|
470
|
+
* - `true`: Enables auto repair.
|
|
471
|
+
* - `false`: Disables auto repair.
|
|
472
472
|
*
|
|
473
473
|
* @example
|
|
474
474
|
* true
|
|
@@ -476,14 +476,14 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
476
476
|
autoRepair?: boolean;
|
|
477
477
|
/**
|
|
478
478
|
* @remarks
|
|
479
|
-
* The auto repair policy
|
|
479
|
+
* The auto repair node policy.
|
|
480
480
|
*/
|
|
481
481
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
482
482
|
/**
|
|
483
483
|
* @remarks
|
|
484
|
-
* Specifies whether
|
|
485
|
-
* - `true`:
|
|
486
|
-
* - `false`:
|
|
484
|
+
* Specifies whether auto upgrade is enabled for nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
485
|
+
* - `true`: Enables auto upgrade.
|
|
486
|
+
* - `false`: Disables auto upgrade.
|
|
487
487
|
*
|
|
488
488
|
* @example
|
|
489
489
|
* true
|
|
@@ -491,15 +491,15 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
491
491
|
autoUpgrade?: boolean;
|
|
492
492
|
/**
|
|
493
493
|
* @remarks
|
|
494
|
-
* The
|
|
494
|
+
* The auto upgrade policy.
|
|
495
495
|
*/
|
|
496
496
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
497
497
|
/**
|
|
498
498
|
* @remarks
|
|
499
|
-
* Specifies whether
|
|
499
|
+
* Specifies whether automatic CVE fix is enabled. This parameter takes effect only when `enable=true`. Valid values:
|
|
500
500
|
*
|
|
501
|
-
* - `true`:
|
|
502
|
-
* - `false`:
|
|
501
|
+
* - `true`: Enables automatic CVE fix.
|
|
502
|
+
* - `false`: Disables automatic CVE fix.
|
|
503
503
|
*
|
|
504
504
|
* @example
|
|
505
505
|
* true
|
|
@@ -510,12 +510,13 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
510
510
|
* The automatic CVE fix policy.
|
|
511
511
|
*/
|
|
512
512
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
513
|
+
driftEnabled?: boolean;
|
|
513
514
|
/**
|
|
514
515
|
* @remarks
|
|
515
|
-
* Specifies whether
|
|
516
|
+
* Specifies whether the managed node pool is enabled. Valid values:
|
|
516
517
|
*
|
|
517
|
-
* - `true`:
|
|
518
|
-
* - `false`:
|
|
518
|
+
* - `true`: Enables the managed node pool.
|
|
519
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
519
520
|
*
|
|
520
521
|
* @example
|
|
521
522
|
* true
|
|
@@ -523,7 +524,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
523
524
|
enable?: boolean;
|
|
524
525
|
/**
|
|
525
526
|
* @remarks
|
|
526
|
-
* The
|
|
527
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
527
528
|
*/
|
|
528
529
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
529
530
|
static names(): {
|
|
@@ -540,7 +541,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
540
541
|
export declare class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig extends $dara.Model {
|
|
541
542
|
/**
|
|
542
543
|
* @remarks
|
|
543
|
-
* The node component
|
|
544
|
+
* The custom configuration of the node component.
|
|
544
545
|
*
|
|
545
546
|
* @example
|
|
546
547
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -600,7 +601,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyNodeComponents ext
|
|
|
600
601
|
export declare class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig extends $dara.Model {
|
|
601
602
|
/**
|
|
602
603
|
* @remarks
|
|
603
|
-
* The
|
|
604
|
+
* The hugepage configuration.
|
|
604
605
|
*/
|
|
605
606
|
hugepage?: Hugepage;
|
|
606
607
|
static names(): {
|
|
@@ -647,10 +648,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo exten
|
|
|
647
648
|
created?: string;
|
|
648
649
|
/**
|
|
649
650
|
* @remarks
|
|
650
|
-
* Indicates whether
|
|
651
|
+
* Indicates whether this is the default node pool. A cluster typically has only one default node pool. Valid values:
|
|
651
652
|
*
|
|
652
|
-
* - `true`:
|
|
653
|
-
* - `false`:
|
|
653
|
+
* - `true`: This is the default node pool.
|
|
654
|
+
* - `false`: This is not the default node pool.
|
|
654
655
|
*
|
|
655
656
|
* @example
|
|
656
657
|
* true
|
|
@@ -691,7 +692,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo exten
|
|
|
691
692
|
/**
|
|
692
693
|
* @remarks
|
|
693
694
|
* The node pool type. Valid values:
|
|
694
|
-
* - `ess`: standard node pool (includes managed and elastic scaling features).
|
|
695
|
+
* - `ess`: standard node pool (includes managed and automatic elastic scaling features).
|
|
695
696
|
* - `edge`: edge node pool.
|
|
696
697
|
* - `lingjun`: Lingjun node pool.
|
|
697
698
|
*
|
|
@@ -733,9 +734,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivat
|
|
|
733
734
|
*
|
|
734
735
|
* - `Open`: open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
735
736
|
*
|
|
736
|
-
* - `Target`:
|
|
737
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, instance launch fails.
|
|
737
738
|
*
|
|
738
|
-
* - `None`: no private pool mode.
|
|
739
|
+
* - `None`: no private pool mode. Instance launch does not use private pool capacity.
|
|
739
740
|
*
|
|
740
741
|
* @example
|
|
741
742
|
* Open
|
|
@@ -818,10 +819,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPr
|
|
|
818
819
|
export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara.Model {
|
|
819
820
|
/**
|
|
820
821
|
* @remarks
|
|
821
|
-
* Specifies whether
|
|
822
|
+
* Specifies whether auto-renewal is enabled for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
822
823
|
*
|
|
823
|
-
* - `true`:
|
|
824
|
-
* - `false`:
|
|
824
|
+
* - `true`: Enables auto-renewal.
|
|
825
|
+
* - `false`: Disables auto-renewal.
|
|
825
826
|
*
|
|
826
827
|
* @example
|
|
827
828
|
* false
|
|
@@ -839,7 +840,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
839
840
|
autoRenewPeriod?: number;
|
|
840
841
|
/**
|
|
841
842
|
* @remarks
|
|
842
|
-
* [
|
|
843
|
+
* [This field is deprecated] Use the security_hardening_os parameter instead.
|
|
843
844
|
*
|
|
844
845
|
* @example
|
|
845
846
|
* false
|
|
@@ -849,10 +850,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
849
850
|
cisEnabled?: boolean;
|
|
850
851
|
/**
|
|
851
852
|
* @remarks
|
|
852
|
-
*
|
|
853
|
+
* Specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when `multi_az_policy` is set to `COST_OPTIMIZED` and sufficient spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
853
854
|
*
|
|
854
|
-
* - `true`:
|
|
855
|
-
* - `false`:
|
|
855
|
+
* - `true`: Automatic creation of pay-as-you-go instances is allowed to meet ECS instance quantity requirements.
|
|
856
|
+
* - `false`: Automatic creation of pay-as-you-go instances is not allowed to meet ECS instance quantity requirements.
|
|
856
857
|
*
|
|
857
858
|
* @example
|
|
858
859
|
* true
|
|
@@ -860,7 +861,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
860
861
|
compensateWithOnDemand?: boolean;
|
|
861
862
|
/**
|
|
862
863
|
* @remarks
|
|
863
|
-
* The combination of data cloud disk type, size, and other configurations
|
|
864
|
+
* The combination of node data cloud disk type, size, and other configurations.
|
|
864
865
|
*/
|
|
865
866
|
dataDisks?: DataDisk[];
|
|
866
867
|
/**
|
|
@@ -938,10 +939,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
938
939
|
instanceTypes?: string[];
|
|
939
940
|
/**
|
|
940
941
|
* @remarks
|
|
941
|
-
* The billing type for
|
|
942
|
+
* The network billing type for node public IP addresses.
|
|
942
943
|
*
|
|
943
944
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
944
|
-
* - PayByTraffic: pay-by-
|
|
945
|
+
* - PayByTraffic: pay-by-traffic.
|
|
945
946
|
*
|
|
946
947
|
* @example
|
|
947
948
|
* PayByBandwidth
|
|
@@ -949,7 +950,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
949
950
|
internetChargeType?: string;
|
|
950
951
|
/**
|
|
951
952
|
* @remarks
|
|
952
|
-
* The maximum outbound public
|
|
953
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbit/s. Valid values: 1 to 100.
|
|
953
954
|
*
|
|
954
955
|
* @example
|
|
955
956
|
* 10
|
|
@@ -957,7 +958,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
957
958
|
internetMaxBandwidthOut?: number;
|
|
958
959
|
/**
|
|
959
960
|
* @remarks
|
|
960
|
-
* The key pair name.
|
|
961
|
+
* The key pair name. Mutually exclusive with `login_password`. When the node pool is a managed node pool, only `key_pair` is supported.
|
|
961
962
|
*
|
|
962
963
|
* @example
|
|
963
964
|
* pro-nodepool
|
|
@@ -965,11 +966,11 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
965
966
|
keyPair?: string;
|
|
966
967
|
/**
|
|
967
968
|
* @remarks
|
|
968
|
-
* Specifies whether
|
|
969
|
+
* Specifies whether the ECS instance uses a non-root user for login.
|
|
969
970
|
*
|
|
970
|
-
* - true:
|
|
971
|
+
* - true: Logs on as a non-root user (ecs-user).
|
|
971
972
|
*
|
|
972
|
-
* - false:
|
|
973
|
+
* - false: Logs on as the root user.
|
|
973
974
|
*
|
|
974
975
|
* @example
|
|
975
976
|
* true
|
|
@@ -977,9 +978,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
977
978
|
loginAsNonRoot?: boolean;
|
|
978
979
|
/**
|
|
979
980
|
* @remarks
|
|
980
|
-
* The SSH
|
|
981
|
+
* The SSH login password. Mutually exclusive with `key_pair`. Logon 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.
|
|
981
982
|
*
|
|
982
|
-
* For security purposes,
|
|
983
|
+
* For security purposes, logon password is encrypted in query results.
|
|
983
984
|
*
|
|
984
985
|
* @example
|
|
985
986
|
* ********
|
|
@@ -989,15 +990,11 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
989
990
|
* @remarks
|
|
990
991
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
991
992
|
*
|
|
992
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N)
|
|
993
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch.
|
|
993
994
|
*
|
|
994
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from
|
|
995
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether the system automatically attempts to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
995
996
|
*
|
|
996
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types
|
|
997
|
-
*
|
|
998
|
-
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the RebalanceInstances operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
999
|
-
*
|
|
1000
|
-
* Default value: `PRIORITY`.
|
|
997
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types
|
|
1001
998
|
*
|
|
1002
999
|
* @example
|
|
1003
1000
|
* BALANCE
|
|
@@ -1005,7 +1002,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1005
1002
|
multiAzPolicy?: string;
|
|
1006
1003
|
/**
|
|
1007
1004
|
* @remarks
|
|
1008
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\].
|
|
1005
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are preferentially created when the number of pay-as-you-go instances is less than this value.
|
|
1009
1006
|
*
|
|
1010
1007
|
* @example
|
|
1011
1008
|
* 0
|
|
@@ -1013,7 +1010,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1013
1010
|
onDemandBaseCapacity?: number;
|
|
1014
1011
|
/**
|
|
1015
1012
|
* @remarks
|
|
1016
|
-
* The percentage of pay-as-you-go instances among the
|
|
1013
|
+
* 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\\].
|
|
1017
1014
|
*
|
|
1018
1015
|
* @example
|
|
1019
1016
|
* 20
|
|
@@ -1032,7 +1029,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1032
1029
|
period?: number;
|
|
1033
1030
|
/**
|
|
1034
1031
|
* @remarks
|
|
1035
|
-
* The
|
|
1032
|
+
* The subscription period unit. This parameter must be specified when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1036
1033
|
*
|
|
1037
1034
|
* - `Month`: month as the billing unit.
|
|
1038
1035
|
* - `Week`: week as the billing unit.
|
|
@@ -1077,12 +1074,12 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1077
1074
|
ramRoleName?: string;
|
|
1078
1075
|
/**
|
|
1079
1076
|
* @remarks
|
|
1080
|
-
* If an
|
|
1077
|
+
* If an RDS instance list is specified, ECS instances in the cluster node pool are automatically added to the RDS access whitelist.
|
|
1081
1078
|
*/
|
|
1082
1079
|
rdsInstances?: string[];
|
|
1083
1080
|
/**
|
|
1084
1081
|
* @remarks
|
|
1085
|
-
* The resource
|
|
1082
|
+
* The resource pool and resource pool strategy used when creating instances.
|
|
1086
1083
|
*/
|
|
1087
1084
|
resourcePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOptions;
|
|
1088
1085
|
/**
|
|
@@ -1095,11 +1092,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1095
1092
|
scalingGroupId?: string;
|
|
1096
1093
|
/**
|
|
1097
1094
|
* @remarks
|
|
1098
|
-
* The scaling group
|
|
1095
|
+
* The scaling group pattern. Valid values:
|
|
1099
1096
|
*
|
|
1100
|
-
* - `release`: standard
|
|
1101
|
-
* - `recycle`: swift
|
|
1102
|
-
* [_single.resp.200.props.scaling_group.on_demand
|
|
1097
|
+
* - `release`: standard pattern. Instances are created and released based on resource usage.
|
|
1098
|
+
* - `recycle`: swift pattern. Instances are created, stopped, and started to improve scaling speed. Stopped instances do not incur compute resource charges, but storage charges still apply, except for instances with local disks.
|
|
1103
1099
|
*
|
|
1104
1100
|
* @example
|
|
1105
1101
|
* release
|
|
@@ -1120,10 +1116,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1120
1116
|
securityGroupIds?: string[];
|
|
1121
1117
|
/**
|
|
1122
1118
|
* @remarks
|
|
1123
|
-
* Specifies whether
|
|
1119
|
+
* Specifies whether Alibaba Cloud OS security hardening is enabled. Valid values:
|
|
1124
1120
|
*
|
|
1125
|
-
* - `true`:
|
|
1126
|
-
* - `false`:
|
|
1121
|
+
* - `true`: Enabled.
|
|
1122
|
+
* - `false`: Disabled.
|
|
1127
1123
|
*
|
|
1128
1124
|
* Default value: `false`.
|
|
1129
1125
|
*
|
|
@@ -1133,7 +1129,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1133
1129
|
securityHardeningOs?: boolean;
|
|
1134
1130
|
/**
|
|
1135
1131
|
* @remarks
|
|
1136
|
-
* Specifies whether
|
|
1132
|
+
* Specifies whether MLPS 2.0 security hardening is enabled. This feature is available 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.
|
|
1137
1133
|
*
|
|
1138
1134
|
* @example
|
|
1139
1135
|
* false
|
|
@@ -1141,7 +1137,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1141
1137
|
socEnabled?: boolean;
|
|
1142
1138
|
/**
|
|
1143
1139
|
* @remarks
|
|
1144
|
-
* The number of available instance types. The scaling group creates spot instances across multiple instance types
|
|
1140
|
+
* The number of available instance types. The scaling group creates spot instances across multiple instance types with the lowest cost. Valid values: [1,10\\].
|
|
1145
1141
|
*
|
|
1146
1142
|
* @example
|
|
1147
1143
|
* 5
|
|
@@ -1149,7 +1145,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1149
1145
|
spotInstancePools?: number;
|
|
1150
1146
|
/**
|
|
1151
1147
|
* @remarks
|
|
1152
|
-
*
|
|
1148
|
+
* Specifies whether to supplement spot instances. If enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1153
1149
|
*
|
|
1154
1150
|
* - `true`: Spot instance supplementation is enabled.
|
|
1155
1151
|
* - `false`: Spot instance supplementation is disabled.
|
|
@@ -1160,12 +1156,12 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1160
1156
|
spotInstanceRemedy?: boolean;
|
|
1161
1157
|
/**
|
|
1162
1158
|
* @remarks
|
|
1163
|
-
* The price
|
|
1159
|
+
* The spot instance price limit configuration.
|
|
1164
1160
|
*/
|
|
1165
1161
|
spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
|
|
1166
1162
|
/**
|
|
1167
1163
|
* @remarks
|
|
1168
|
-
* The
|
|
1164
|
+
* The spot instance type. Valid values:
|
|
1169
1165
|
* - NoSpot: non-spot instance.
|
|
1170
1166
|
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1171
1167
|
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
@@ -1178,9 +1174,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1178
1174
|
spotStrategy?: string;
|
|
1179
1175
|
/**
|
|
1180
1176
|
* @remarks
|
|
1181
|
-
* Specifies whether
|
|
1182
|
-
* - true:
|
|
1183
|
-
* - false:
|
|
1177
|
+
* Specifies whether burst (performance burst) is enabled for the node system cloud disk. Valid values:
|
|
1178
|
+
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure from fluctuating workloads until the workload stabilizes.
|
|
1179
|
+
* - false: Disabled.
|
|
1184
1180
|
*
|
|
1185
1181
|
* 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).
|
|
1186
1182
|
*
|
|
@@ -1190,12 +1186,12 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1190
1186
|
systemDiskBurstingEnabled?: boolean;
|
|
1191
1187
|
/**
|
|
1192
1188
|
* @remarks
|
|
1193
|
-
* The multiple cloud disk types
|
|
1189
|
+
* The multiple system cloud disk types. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk.
|
|
1194
1190
|
*/
|
|
1195
1191
|
systemDiskCategories?: string[];
|
|
1196
1192
|
/**
|
|
1197
1193
|
* @remarks
|
|
1198
|
-
* The
|
|
1194
|
+
* The node system cloud disk type. Valid values:
|
|
1199
1195
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1200
1196
|
* - `cloud_ssd`: standard SSD.
|
|
1201
1197
|
* - `cloud_essd`: ESSD.
|
|
@@ -1208,7 +1204,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1208
1204
|
systemDiskCategory?: string;
|
|
1209
1205
|
/**
|
|
1210
1206
|
* @remarks
|
|
1211
|
-
* The encryption algorithm
|
|
1207
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1212
1208
|
*
|
|
1213
1209
|
* @example
|
|
1214
1210
|
* aes-256
|
|
@@ -1216,7 +1212,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1216
1212
|
systemDiskEncryptAlgorithm?: string;
|
|
1217
1213
|
/**
|
|
1218
1214
|
* @remarks
|
|
1219
|
-
* Specifies whether
|
|
1215
|
+
* Specifies whether the system cloud disk is encrypted. Valid values:
|
|
1220
1216
|
* - `true`: Encrypted.
|
|
1221
1217
|
* - `false`: Not encrypted.
|
|
1222
1218
|
*
|
|
@@ -1234,7 +1230,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1234
1230
|
systemDiskKmsKeyId?: string;
|
|
1235
1231
|
/**
|
|
1236
1232
|
* @remarks
|
|
1237
|
-
* The performance level of the system cloud disk. This parameter takes effect only for ESSD
|
|
1233
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD disks. The performance level is related to the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1238
1234
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1239
1235
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1240
1236
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1246,7 +1242,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1246
1242
|
systemDiskPerformanceLevel?: string;
|
|
1247
1243
|
/**
|
|
1248
1244
|
* @remarks
|
|
1249
|
-
* The provisioned read/write IOPS for the system cloud disk.
|
|
1245
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1250
1246
|
*
|
|
1251
1247
|
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1252
1248
|
*
|
|
@@ -1258,7 +1254,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1258
1254
|
systemDiskProvisionedIops?: number;
|
|
1259
1255
|
/**
|
|
1260
1256
|
* @remarks
|
|
1261
|
-
* The
|
|
1257
|
+
* The node system cloud disk size. Unit: GiB.
|
|
1262
1258
|
*
|
|
1263
1259
|
* Valid values: [20,2048\\].
|
|
1264
1260
|
*
|
|
@@ -1306,7 +1302,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyStatusConditions e
|
|
|
1306
1302
|
lastTransitionTime?: string;
|
|
1307
1303
|
/**
|
|
1308
1304
|
* @remarks
|
|
1309
|
-
* The detailed
|
|
1305
|
+
* The detailed information.
|
|
1310
1306
|
*
|
|
1311
1307
|
* @example
|
|
1312
1308
|
* AutoUpgradeDisabled
|
|
@@ -1350,7 +1346,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyStatusConditions e
|
|
|
1350
1346
|
export declare class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model {
|
|
1351
1347
|
/**
|
|
1352
1348
|
* @remarks
|
|
1353
|
-
* The
|
|
1349
|
+
* The node pool conditions, which represent the status information of the node pool across different dimensions.
|
|
1354
1350
|
*/
|
|
1355
1351
|
conditions?: DescribeClusterNodePoolDetailResponseBodyStatusConditions[];
|
|
1356
1352
|
/**
|
|
@@ -1405,11 +1401,11 @@ export declare class DescribeClusterNodePoolDetailResponseBodyStatus extends $da
|
|
|
1405
1401
|
* @remarks
|
|
1406
1402
|
* The node pool status. Valid values:
|
|
1407
1403
|
*
|
|
1408
|
-
* - `active`:
|
|
1409
|
-
* - `scaling`:
|
|
1410
|
-
* - `removing`:
|
|
1411
|
-
* - `deleting`:
|
|
1412
|
-
* - `updating`:
|
|
1404
|
+
* - `active`: active.
|
|
1405
|
+
* - `scaling`: scaling in progress.
|
|
1406
|
+
* - `removing`: nodes are being removed.
|
|
1407
|
+
* - `deleting`: being deleted.
|
|
1408
|
+
* - `updating`: being updated.
|
|
1413
1409
|
*
|
|
1414
1410
|
* @example
|
|
1415
1411
|
* active
|
|
@@ -1439,8 +1435,8 @@ export declare class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends
|
|
|
1439
1435
|
* @remarks
|
|
1440
1436
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1441
1437
|
*
|
|
1442
|
-
* - `true`:
|
|
1443
|
-
* - `false`:
|
|
1438
|
+
* - `true`: Enabled.
|
|
1439
|
+
* - `false`: Disabled.
|
|
1444
1440
|
*
|
|
1445
1441
|
* @example
|
|
1446
1442
|
* false
|
|
@@ -1488,9 +1484,9 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
1488
1484
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
1489
1485
|
/**
|
|
1490
1486
|
* @remarks
|
|
1491
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1487
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
1492
1488
|
*
|
|
1493
|
-
* - `basic`: public network. Nodes in cloud node pool
|
|
1489
|
+
* - `basic`: public network. Nodes in cloud node pool interact with cloud nodes over the public network. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
1494
1490
|
* - `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.
|
|
1495
1491
|
*
|
|
1496
1492
|
* @example
|
|
@@ -1499,9 +1495,9 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
1499
1495
|
interconnectMode?: string;
|
|
1500
1496
|
/**
|
|
1501
1497
|
* @remarks
|
|
1502
|
-
*
|
|
1503
|
-
* - `true`: connected. All nodes
|
|
1504
|
-
* - `false`: not connected. All nodes
|
|
1498
|
+
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
1499
|
+
* - `true`: connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1500
|
+
* - `false`: not connected. All nodes in the node pool do not have Layer 3 network connectivity.
|
|
1505
1501
|
*
|
|
1506
1502
|
* @example
|
|
1507
1503
|
* true
|