@alicloud/cs20151215 7.0.3 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +30 -30
- package/dist/client.js +33 -30
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +139 -83
- package/dist/models/CreateClusterNodePoolRequest.js +29 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +163 -131
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +120 -92
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +64 -49
- package/dist/models/ModifyClusterNodePoolRequest.js +4 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/Nodepool.d.ts +132 -88
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +34 -30
- package/src/models/CreateClusterNodePoolRequest.ts +158 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +182 -131
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +139 -92
- package/src/models/ModifyClusterNodePoolRequest.ts +68 -49
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +151 -88
- package/src/models/model.ts +7 -0
|
@@ -52,7 +52,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Specifies whether auto scaling is enabled. Valid values:
|
|
54
54
|
*
|
|
55
|
-
* - `true`: Enables the
|
|
55
|
+
* - `true`: Enables the node pool automatic scaling feature. When the cluster capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later use instant node 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).
|
|
56
56
|
*
|
|
57
57
|
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count to maintain the node count at the desired number.
|
|
58
58
|
*
|
|
@@ -154,9 +154,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup
|
|
|
154
154
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig extends $dara.Model {
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
|
-
* [
|
|
157
|
+
* [Deprecated]
|
|
158
158
|
*
|
|
159
|
-
* The network bandwidth of the enhanced edge node pool
|
|
159
|
+
* The network bandwidth of the enhanced edge node pool, in Mbps.
|
|
160
160
|
*
|
|
161
161
|
* @example
|
|
162
162
|
* 10
|
|
@@ -164,7 +164,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
164
164
|
bandwidth?: number;
|
|
165
165
|
/**
|
|
166
166
|
* @remarks
|
|
167
|
-
* [
|
|
167
|
+
* [Deprecated]
|
|
168
168
|
*
|
|
169
169
|
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
170
170
|
*
|
|
@@ -174,7 +174,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
174
174
|
ccnId?: string;
|
|
175
175
|
/**
|
|
176
176
|
* @remarks
|
|
177
|
-
* [
|
|
177
|
+
* [Deprecated]
|
|
178
178
|
*
|
|
179
179
|
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
180
180
|
*
|
|
@@ -184,7 +184,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
184
184
|
ccnRegionId?: string;
|
|
185
185
|
/**
|
|
186
186
|
* @remarks
|
|
187
|
-
* [
|
|
187
|
+
* [Deprecated]
|
|
188
188
|
*
|
|
189
189
|
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
190
190
|
*
|
|
@@ -194,9 +194,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
194
194
|
cenId?: string;
|
|
195
195
|
/**
|
|
196
196
|
* @remarks
|
|
197
|
-
* [
|
|
197
|
+
* [Deprecated]
|
|
198
198
|
*
|
|
199
|
-
* The subscription duration of the enhanced edge node pool
|
|
199
|
+
* The subscription duration of the enhanced edge node pool, in months.
|
|
200
200
|
*
|
|
201
201
|
* @example
|
|
202
202
|
* 1
|
|
@@ -216,7 +216,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
216
216
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $dara.Model {
|
|
217
217
|
/**
|
|
218
218
|
* @remarks
|
|
219
|
-
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information
|
|
219
|
+
* 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:
|
|
220
220
|
*
|
|
221
221
|
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
222
222
|
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
@@ -245,7 +245,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
245
245
|
* @remarks
|
|
246
246
|
* The custom node name.
|
|
247
247
|
*
|
|
248
|
-
*
|
|
248
|
+
* A node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
249
249
|
*
|
|
250
250
|
* - The prefix and suffix can each consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit.
|
|
251
251
|
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
|
|
@@ -258,7 +258,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
258
258
|
nodeNameMode?: string;
|
|
259
259
|
/**
|
|
260
260
|
* @remarks
|
|
261
|
-
* The
|
|
261
|
+
* The pre-initialization custom data for the node pool. This is a script that runs before node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
262
262
|
*
|
|
263
263
|
* @example
|
|
264
264
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD
|
|
@@ -266,7 +266,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
266
266
|
preUserData?: string;
|
|
267
267
|
/**
|
|
268
268
|
* @remarks
|
|
269
|
-
* The container runtime
|
|
269
|
+
* The container runtime. ACK supports the following three container runtimes:
|
|
270
270
|
*
|
|
271
271
|
* - containerd: recommended. Supports all cluster versions.
|
|
272
272
|
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
@@ -303,7 +303,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
303
303
|
unschedulable?: boolean;
|
|
304
304
|
/**
|
|
305
305
|
* @remarks
|
|
306
|
-
* The node pool
|
|
306
|
+
* The custom data for the node pool. This is a script that runs after node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
307
307
|
*
|
|
308
308
|
* @example
|
|
309
309
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -323,7 +323,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
323
323
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
|
|
324
324
|
/**
|
|
325
325
|
* @remarks
|
|
326
|
-
*
|
|
326
|
+
* Specifies whether manual approval is required for node repair.
|
|
327
327
|
*
|
|
328
328
|
* @example
|
|
329
329
|
* false
|
|
@@ -337,9 +337,19 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
337
337
|
* r-xxxxxxxxx
|
|
338
338
|
*/
|
|
339
339
|
autoRepairPolicyId?: string;
|
|
340
|
+
/**
|
|
341
|
+
* @example
|
|
342
|
+
* 1
|
|
343
|
+
*/
|
|
344
|
+
maxParallelRepairingNodes?: string;
|
|
345
|
+
/**
|
|
346
|
+
* @example
|
|
347
|
+
* 10%
|
|
348
|
+
*/
|
|
349
|
+
maxUnhealthyNodesThreshold?: string;
|
|
340
350
|
/**
|
|
341
351
|
* @remarks
|
|
342
|
-
* Specifies whether node restart
|
|
352
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`.
|
|
343
353
|
*
|
|
344
354
|
* - `true`: Allow node restart.
|
|
345
355
|
* - `false`: Do not allow node restart.
|
|
@@ -362,7 +372,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
362
372
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
363
373
|
/**
|
|
364
374
|
* @remarks
|
|
365
|
-
* Specifies whether automatic kubelet upgrade
|
|
375
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
366
376
|
* - `true`: Allow automatic kubelet upgrade.
|
|
367
377
|
* - `false`: Do not allow automatic kubelet upgrade.
|
|
368
378
|
*
|
|
@@ -392,7 +402,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
392
402
|
excludePackages?: string;
|
|
393
403
|
/**
|
|
394
404
|
* @remarks
|
|
395
|
-
* Specifies whether node restart
|
|
405
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
396
406
|
* - `true`: Allow node restart.
|
|
397
407
|
* - `false`: Do not allow node restart.
|
|
398
408
|
*
|
|
@@ -426,10 +436,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
426
436
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
|
|
427
437
|
/**
|
|
428
438
|
* @remarks
|
|
429
|
-
* Specifies whether to enable
|
|
439
|
+
* Specifies whether to enable automatic upgrade. Valid values:
|
|
430
440
|
*
|
|
431
|
-
* - `true`: Enable
|
|
432
|
-
* - `false`: Disable
|
|
441
|
+
* - `true`: Enable automatic upgrade.
|
|
442
|
+
* - `false`: Disable automatic upgrade.
|
|
433
443
|
*
|
|
434
444
|
* @example
|
|
435
445
|
* true
|
|
@@ -457,7 +467,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
457
467
|
* @remarks
|
|
458
468
|
* The percentage of extra nodes. Mutually exclusive with `surge`.
|
|
459
469
|
*
|
|
460
|
-
* Extra nodes =
|
|
470
|
+
* Extra nodes = surge percentage × node count. For example, if the surge percentage is 50% and the existing node count is 6, the number of extra nodes = 50% × 6 = 3.
|
|
461
471
|
*
|
|
462
472
|
* @example
|
|
463
473
|
* 50
|
|
@@ -477,7 +487,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
477
487
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Model {
|
|
478
488
|
/**
|
|
479
489
|
* @remarks
|
|
480
|
-
*
|
|
490
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
481
491
|
*/
|
|
482
492
|
autoFaultDiagnosis?: boolean;
|
|
483
493
|
/**
|
|
@@ -493,14 +503,14 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
493
503
|
autoRepair?: boolean;
|
|
494
504
|
/**
|
|
495
505
|
* @remarks
|
|
496
|
-
* The auto repair
|
|
506
|
+
* The auto repair policy for nodes.
|
|
497
507
|
*/
|
|
498
508
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
499
509
|
/**
|
|
500
510
|
* @remarks
|
|
501
511
|
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
502
|
-
* - `true`: Enable
|
|
503
|
-
* - `false`: Disable
|
|
512
|
+
* - `true`: Enable automatic upgrade.
|
|
513
|
+
* - `false`: Disable automatic upgrade.
|
|
504
514
|
*
|
|
505
515
|
* @example
|
|
506
516
|
* true
|
|
@@ -508,7 +518,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
508
518
|
autoUpgrade?: boolean;
|
|
509
519
|
/**
|
|
510
520
|
* @remarks
|
|
511
|
-
* The
|
|
521
|
+
* The automatic upgrade policy.
|
|
512
522
|
*/
|
|
513
523
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
514
524
|
/**
|
|
@@ -541,7 +551,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
541
551
|
enable?: boolean;
|
|
542
552
|
/**
|
|
543
553
|
* @remarks
|
|
544
|
-
* The
|
|
554
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
545
555
|
*/
|
|
546
556
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
547
557
|
static names(): {
|
|
@@ -558,7 +568,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
558
568
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
559
569
|
/**
|
|
560
570
|
* @remarks
|
|
561
|
-
* The custom
|
|
571
|
+
* The custom node component configuration.
|
|
562
572
|
*
|
|
563
573
|
* @example
|
|
564
574
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -585,7 +595,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents
|
|
|
585
595
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
586
596
|
/**
|
|
587
597
|
* @remarks
|
|
588
|
-
* The custom configuration revision number
|
|
598
|
+
* The custom node component configuration revision number.
|
|
589
599
|
*
|
|
590
600
|
* @example
|
|
591
601
|
* 1
|
|
@@ -621,7 +631,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents
|
|
|
621
631
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig extends $dara.Model {
|
|
622
632
|
/**
|
|
623
633
|
* @remarks
|
|
624
|
-
* The
|
|
634
|
+
* The hugepage configuration.
|
|
625
635
|
*/
|
|
626
636
|
hugepage?: Hugepage;
|
|
627
637
|
static names(): {
|
|
@@ -668,10 +678,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
668
678
|
created?: string;
|
|
669
679
|
/**
|
|
670
680
|
* @remarks
|
|
671
|
-
* Indicates whether
|
|
681
|
+
* Indicates whether the node pool is the default node pool. A cluster typically has only one default node pool. Valid values:
|
|
672
682
|
*
|
|
673
|
-
* - `true`:
|
|
674
|
-
* - `false`:
|
|
683
|
+
* - `true`: The node pool is the default node pool.
|
|
684
|
+
* - `false`: The node pool is not the default node pool.
|
|
675
685
|
*
|
|
676
686
|
* @example
|
|
677
687
|
* true
|
|
@@ -740,6 +750,23 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
740
750
|
[key: string]: any;
|
|
741
751
|
});
|
|
742
752
|
}
|
|
753
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions extends $dara.Model {
|
|
754
|
+
/**
|
|
755
|
+
* @example
|
|
756
|
+
* enabled
|
|
757
|
+
*/
|
|
758
|
+
nestedVirtualization?: string;
|
|
759
|
+
static names(): {
|
|
760
|
+
[key: string]: string;
|
|
761
|
+
};
|
|
762
|
+
static types(): {
|
|
763
|
+
[key: string]: any;
|
|
764
|
+
};
|
|
765
|
+
validate(): void;
|
|
766
|
+
constructor(map?: {
|
|
767
|
+
[key: string]: any;
|
|
768
|
+
});
|
|
769
|
+
}
|
|
743
770
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
744
771
|
/**
|
|
745
772
|
* @remarks
|
|
@@ -751,13 +778,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPr
|
|
|
751
778
|
id?: string;
|
|
752
779
|
/**
|
|
753
780
|
* @remarks
|
|
754
|
-
* The private node pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for
|
|
781
|
+
* The private node pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
755
782
|
*
|
|
756
|
-
* - `Open`: open mode. Automatically matches open
|
|
783
|
+
* - `Open`: open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
757
784
|
*
|
|
758
|
-
* - `Target`:
|
|
785
|
+
* - `Target`: targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
759
786
|
*
|
|
760
|
-
* - `None`:
|
|
787
|
+
* - `None`: no private pool. The instance launch does not use private pool capacity.
|
|
761
788
|
*
|
|
762
789
|
* @example
|
|
763
790
|
* Open
|
|
@@ -837,7 +864,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSp
|
|
|
837
864
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $dara.Model {
|
|
838
865
|
/**
|
|
839
866
|
* @remarks
|
|
840
|
-
* Specifies whether auto-renewal
|
|
867
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
841
868
|
*
|
|
842
869
|
* - `true`: Enable auto-renewal.
|
|
843
870
|
* - `false`: Disable auto-renewal.
|
|
@@ -849,8 +876,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
849
876
|
/**
|
|
850
877
|
* @remarks
|
|
851
878
|
* The duration of each auto-renewal cycle. Valid values:
|
|
852
|
-
* -
|
|
853
|
-
* -
|
|
879
|
+
* - PeriodUnit=Week: 1, 2, 3.
|
|
880
|
+
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
854
881
|
*
|
|
855
882
|
* @example
|
|
856
883
|
* 0
|
|
@@ -858,7 +885,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
858
885
|
autoRenewPeriod?: number;
|
|
859
886
|
/**
|
|
860
887
|
* @remarks
|
|
861
|
-
* [
|
|
888
|
+
* [Deprecated]
|
|
862
889
|
*
|
|
863
890
|
* Use the security_hardening_os parameter instead.
|
|
864
891
|
*
|
|
@@ -870,15 +897,16 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
870
897
|
cisEnabled?: boolean;
|
|
871
898
|
/**
|
|
872
899
|
* @remarks
|
|
873
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet
|
|
900
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
874
901
|
*
|
|
875
|
-
* - `true`:
|
|
876
|
-
* - `false`:
|
|
902
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
903
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
877
904
|
*
|
|
878
905
|
* @example
|
|
879
906
|
* true
|
|
880
907
|
*/
|
|
881
908
|
compensateWithOnDemand?: boolean;
|
|
909
|
+
cpuOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions;
|
|
882
910
|
/**
|
|
883
911
|
* @remarks
|
|
884
912
|
* The combination of data cloud disk type, size, and other configurations for nodes.
|
|
@@ -915,7 +943,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
915
943
|
imageId?: string;
|
|
916
944
|
/**
|
|
917
945
|
* @remarks
|
|
918
|
-
* The operating system image type.
|
|
946
|
+
* The operating system image type. Valid values:
|
|
919
947
|
* - `AliyunLinux`: Alinux2 image.
|
|
920
948
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
921
949
|
* - `AliyunLinux3`: Alinux3 image.
|
|
@@ -949,7 +977,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
949
977
|
instancePatterns?: InstancePatterns[];
|
|
950
978
|
/**
|
|
951
979
|
* @remarks
|
|
952
|
-
* The list of node instance types. You can select multiple instance types as alternatives.
|
|
980
|
+
* The list of node instance types. You can select multiple instance types as alternatives. Each node creation attempts to purchase from the first specification until successful. The final purchased instance type may vary depending on inventory.
|
|
953
981
|
*
|
|
954
982
|
* @example
|
|
955
983
|
* ecs.n4.large
|
|
@@ -957,10 +985,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
957
985
|
instanceTypes?: string[];
|
|
958
986
|
/**
|
|
959
987
|
* @remarks
|
|
960
|
-
* The billing method for the public IP
|
|
988
|
+
* The billing method for the public IP addresses of nodes.
|
|
961
989
|
*
|
|
962
|
-
* - PayByBandwidth: billed on a fixed
|
|
963
|
-
* - PayByTraffic: billed on
|
|
990
|
+
* - PayByBandwidth: billed on a fixed-bandwidth basis.
|
|
991
|
+
* - PayByTraffic: billed based on actual traffic usage.
|
|
964
992
|
*
|
|
965
993
|
* @example
|
|
966
994
|
* PayByBandwidth
|
|
@@ -968,7 +996,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
968
996
|
internetChargeType?: string;
|
|
969
997
|
/**
|
|
970
998
|
* @remarks
|
|
971
|
-
* The maximum outbound bandwidth for the public IP
|
|
999
|
+
* The maximum outbound bandwidth for the public IP addresses of nodes, in Mbps (Mega bit per second). Valid values: 1 to 100.
|
|
972
1000
|
*
|
|
973
1001
|
* @example
|
|
974
1002
|
* 10
|
|
@@ -986,12 +1014,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
986
1014
|
keyPair?: string;
|
|
987
1015
|
/**
|
|
988
1016
|
* @remarks
|
|
989
|
-
* Specifies whether scaled-out ECS instances use non-root
|
|
1017
|
+
* Specifies whether scaled-out ECS instances use non-root logon.
|
|
990
1018
|
*
|
|
991
1019
|
* - true: Log on as a non-root user (ecs-user).
|
|
992
1020
|
*
|
|
993
1021
|
* - false: Log on as the root user.
|
|
994
|
-
* [_single.resp.200.props.nodepools.items.
|
|
1022
|
+
* [_single.resp.200.props.nodepools.items.scaling_group.cis
|
|
995
1023
|
*
|
|
996
1024
|
* @example
|
|
997
1025
|
* true
|
|
@@ -999,9 +1027,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
999
1027
|
loginAsNonRoot?: boolean;
|
|
1000
1028
|
/**
|
|
1001
1029
|
* @remarks
|
|
1002
|
-
* The SSH
|
|
1030
|
+
* The SSH logon password. Mutually exclusive with `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.
|
|
1003
1031
|
*
|
|
1004
|
-
* For security purposes,
|
|
1032
|
+
* For security purposes, the password is encrypted in query results.
|
|
1005
1033
|
*
|
|
1006
1034
|
* @example
|
|
1007
1035
|
* ******
|
|
@@ -1009,15 +1037,15 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1009
1037
|
loginPassword?: string;
|
|
1010
1038
|
/**
|
|
1011
1039
|
* @remarks
|
|
1012
|
-
* The
|
|
1040
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1013
1041
|
*
|
|
1014
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the next
|
|
1042
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1015
1043
|
*
|
|
1016
|
-
* - `COST_OPTIMIZED`:
|
|
1044
|
+
* - `COST_OPTIMIZED`: Attempts to create instances based on the unit price of vCPUs, from low to high. When the scaling configuration sets multiple instance types with the spot billing method, spot instances are preferentially created. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1017
1045
|
*
|
|
1018
1046
|
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
|
|
1019
1047
|
*
|
|
1020
|
-
* - `BALANCE`:
|
|
1048
|
+
* - `BALANCE`: Evenly allocates ECS instances across the active zones specified for the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1021
1049
|
*
|
|
1022
1050
|
* @example
|
|
1023
1051
|
* COST_OPTIMIZED
|
|
@@ -1025,7 +1053,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1025
1053
|
multiAzPolicy?: string;
|
|
1026
1054
|
/**
|
|
1027
1055
|
* @remarks
|
|
1028
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created
|
|
1056
|
+
* 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.
|
|
1029
1057
|
*
|
|
1030
1058
|
* @example
|
|
1031
1059
|
* 0
|
|
@@ -1033,7 +1061,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1033
1061
|
onDemandBaseCapacity?: number;
|
|
1034
1062
|
/**
|
|
1035
1063
|
* @remarks
|
|
1036
|
-
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
1064
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) required in the scaling group. Valid values: [0,100\\].
|
|
1037
1065
|
*
|
|
1038
1066
|
* @example
|
|
1039
1067
|
* 20
|
|
@@ -1052,7 +1080,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1052
1080
|
period?: number;
|
|
1053
1081
|
/**
|
|
1054
1082
|
* @remarks
|
|
1055
|
-
* The
|
|
1083
|
+
* The node billing period unit. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1056
1084
|
*
|
|
1057
1085
|
* - `Month`: month.
|
|
1058
1086
|
* - `Week`: week.
|
|
@@ -1063,7 +1091,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1063
1091
|
periodUnit?: string;
|
|
1064
1092
|
/**
|
|
1065
1093
|
* @remarks
|
|
1066
|
-
* [
|
|
1094
|
+
* [Deprecated]
|
|
1067
1095
|
*
|
|
1068
1096
|
* The operating system distribution. Valid values:
|
|
1069
1097
|
*
|
|
@@ -1099,7 +1127,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1099
1127
|
ramRoleName?: string;
|
|
1100
1128
|
/**
|
|
1101
1129
|
* @remarks
|
|
1102
|
-
* If RDS
|
|
1130
|
+
* If an RDS instance list is specified, the ECS instances in the cluster nodes are automatically added to the RDS access whitelist.
|
|
1103
1131
|
*/
|
|
1104
1132
|
rdsInstances?: string[];
|
|
1105
1133
|
/**
|
|
@@ -1120,7 +1148,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1120
1148
|
* The scaling group mode. Valid values:
|
|
1121
1149
|
*
|
|
1122
1150
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1123
|
-
* - `recycle`: swift mode. Scales by creating, stopping, and starting ECS instances, which improves the speed of subsequent scaling operations. Compute resources are not charged during the
|
|
1151
|
+
* - `recycle`: swift mode. Scales by creating, stopping, and starting ECS instances, which improves the speed of subsequent scaling operations. Compute resources are not charged during the stopped state. Only storage fees are charged, except for instances with local disks.
|
|
1124
1152
|
*
|
|
1125
1153
|
* @example
|
|
1126
1154
|
* release
|
|
@@ -1128,7 +1156,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1128
1156
|
scalingPolicy?: string;
|
|
1129
1157
|
/**
|
|
1130
1158
|
* @remarks
|
|
1131
|
-
* [
|
|
1159
|
+
* [Deprecated]
|
|
1132
1160
|
*
|
|
1133
1161
|
* The security group ID of the node pool. When the node pool is associated with multiple security groups, this is the first value in `security_group_ids`.
|
|
1134
1162
|
*
|
|
@@ -1156,7 +1184,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1156
1184
|
securityHardeningOs?: boolean;
|
|
1157
1185
|
/**
|
|
1158
1186
|
* @remarks
|
|
1159
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1187
|
+
* Specifies whether to enable MLPS 2.0 security hardening. MLPS 2.0 security hardening can be enabled 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 MLPS 2.0 Level 3 images of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3.
|
|
1160
1188
|
*
|
|
1161
1189
|
* @example
|
|
1162
1190
|
* false
|
|
@@ -1164,7 +1192,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1164
1192
|
socEnabled?: boolean;
|
|
1165
1193
|
/**
|
|
1166
1194
|
* @remarks
|
|
1167
|
-
* The number of
|
|
1195
|
+
* The number of available instance types. The scaling group creates spot instances across multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1168
1196
|
*
|
|
1169
1197
|
* @example
|
|
1170
1198
|
* 5
|
|
@@ -1172,7 +1200,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1172
1200
|
spotInstancePools?: number;
|
|
1173
1201
|
/**
|
|
1174
1202
|
* @remarks
|
|
1175
|
-
* Specifies whether to enable supplementing
|
|
1203
|
+
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1176
1204
|
*
|
|
1177
1205
|
* - `true`: Enabled.
|
|
1178
1206
|
* - `false`: Disabled.
|
|
@@ -1201,9 +1229,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1201
1229
|
spotStrategy?: string;
|
|
1202
1230
|
/**
|
|
1203
1231
|
* @remarks
|
|
1204
|
-
* Specifies whether burst (performance burst)
|
|
1205
|
-
* - true:
|
|
1206
|
-
* - false:
|
|
1232
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1233
|
+
* - true: Enable. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure until the workload stabilizes.
|
|
1234
|
+
* - false: Disable.
|
|
1207
1235
|
*
|
|
1208
1236
|
* 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).
|
|
1209
1237
|
*
|
|
@@ -1231,7 +1259,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1231
1259
|
systemDiskCategory?: string;
|
|
1232
1260
|
/**
|
|
1233
1261
|
* @remarks
|
|
1234
|
-
* The encryption algorithm
|
|
1262
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1235
1263
|
*
|
|
1236
1264
|
* @example
|
|
1237
1265
|
* aes-256
|
|
@@ -1239,7 +1267,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1239
1267
|
systemDiskEncryptAlgorithm?: string;
|
|
1240
1268
|
/**
|
|
1241
1269
|
* @remarks
|
|
1242
|
-
* Specifies whether the system cloud disk
|
|
1270
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1243
1271
|
*
|
|
1244
1272
|
* - true: Encrypted.
|
|
1245
1273
|
* - false: Not encrypted.
|
|
@@ -1258,11 +1286,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1258
1286
|
systemDiskKmsKeyId?: string;
|
|
1259
1287
|
/**
|
|
1260
1288
|
* @remarks
|
|
1261
|
-
* 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 [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1262
|
-
* - PL0: moderate
|
|
1263
|
-
* - PL1: moderate
|
|
1264
|
-
* - PL2: high
|
|
1265
|
-
* - PL3: ultra-high
|
|
1289
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1290
|
+
* - PL0: moderate concurrent I/O performance with relatively stable read/write latency.
|
|
1291
|
+
* - PL1: moderate concurrent I/O performance with relatively stable read/write latency.
|
|
1292
|
+
* - PL2: high concurrent I/O performance with stable read/write latency.
|
|
1293
|
+
* - PL3: ultra-high concurrent I/O performance with extremely stable read/write latency.
|
|
1266
1294
|
*
|
|
1267
1295
|
* @example
|
|
1268
1296
|
* PL1
|
|
@@ -1270,7 +1298,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1270
1298
|
systemDiskPerformanceLevel?: string;
|
|
1271
1299
|
/**
|
|
1272
1300
|
* @remarks
|
|
1273
|
-
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1301
|
+
* The provisioned read/write IOPS for the node system cloud disk. Configure this parameter when the disk type is cloud_auto.
|
|
1274
1302
|
*
|
|
1275
1303
|
* @example
|
|
1276
1304
|
* 1000
|
|
@@ -1278,7 +1306,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1278
1306
|
systemDiskProvisionedIops?: number;
|
|
1279
1307
|
/**
|
|
1280
1308
|
* @remarks
|
|
1281
|
-
* The node system cloud disk size
|
|
1309
|
+
* The node system cloud disk size. Unit: GiB.
|
|
1282
1310
|
*
|
|
1283
1311
|
* Valid values: [20,2048\\].
|
|
1284
1312
|
*
|
|
@@ -1288,7 +1316,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1288
1316
|
systemDiskSize?: number;
|
|
1289
1317
|
/**
|
|
1290
1318
|
* @remarks
|
|
1291
|
-
* The system cloud disk
|
|
1319
|
+
* The snapshot policy for the system cloud disk.
|
|
1292
1320
|
*
|
|
1293
1321
|
* @example
|
|
1294
1322
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1366,13 +1394,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends
|
|
|
1366
1394
|
servingNodes?: number;
|
|
1367
1395
|
/**
|
|
1368
1396
|
* @remarks
|
|
1369
|
-
* The node pool
|
|
1397
|
+
* The node pool status. Valid values:
|
|
1370
1398
|
*
|
|
1371
|
-
* - `active`:
|
|
1372
|
-
* - `scaling`:
|
|
1373
|
-
* - `removing`:
|
|
1374
|
-
* - `deleting`:
|
|
1375
|
-
* - `updating`:
|
|
1399
|
+
* - `active`: active.
|
|
1400
|
+
* - `scaling`: scaling.
|
|
1401
|
+
* - `removing`: removing nodes.
|
|
1402
|
+
* - `deleting`: deleting.
|
|
1403
|
+
* - `updating`: updating.
|
|
1376
1404
|
*
|
|
1377
1405
|
* @example
|
|
1378
1406
|
* active
|
|
@@ -1438,17 +1466,17 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1438
1466
|
efloNodeGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup;
|
|
1439
1467
|
/**
|
|
1440
1468
|
* @remarks
|
|
1441
|
-
* [
|
|
1469
|
+
* [Deprecated]
|
|
1442
1470
|
*
|
|
1443
1471
|
* The network configuration for edge node pools. This value is meaningful only for edge-type node pools.
|
|
1444
1472
|
*/
|
|
1445
1473
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
1446
1474
|
/**
|
|
1447
1475
|
* @remarks
|
|
1448
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1476
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1449
1477
|
*
|
|
1450
1478
|
* - `basic`: public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
1451
|
-
* - `private`: private network. Nodes in cloud node pool connect to the cloud through
|
|
1479
|
+
* - `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.
|
|
1452
1480
|
*
|
|
1453
1481
|
* @example
|
|
1454
1482
|
* basic
|
|
@@ -1461,12 +1489,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1461
1489
|
kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
1462
1490
|
/**
|
|
1463
1491
|
* @remarks
|
|
1464
|
-
* The managed node pool configuration. This configuration takes effect only in
|
|
1492
|
+
* The managed node pool configuration. This configuration takes effect only in ACK Pro clusters.
|
|
1465
1493
|
*/
|
|
1466
1494
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
1467
1495
|
/**
|
|
1468
1496
|
* @remarks
|
|
1469
|
-
* The maximum number of nodes allowed in the edge node pool. This
|
|
1497
|
+
* The maximum number of nodes allowed in the edge node pool. This parameter must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the maximum number of nodes the cluster can accommodate, with no additional limit on the node pool itself). This value is typically greater than 0 for edge node pools. For ESS-type node pools and default edge-type node pools, this value is 0.
|
|
1470
1498
|
*
|
|
1471
1499
|
* @example
|
|
1472
1500
|
* 10
|