@alicloud/cs20151215 7.0.2 → 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 +50 -28
- package/dist/client.js +53 -28
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
- package/dist/models/CreateClusterNodePoolRequest.js +31 -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 +119 -91
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -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 +266 -220
- package/dist/models/Nodepool.js +31 -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 +54 -28
- package/src/models/CreateClusterNodePoolRequest.ts +155 -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 +140 -91
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
- package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +287 -220
- package/src/models/model.ts +7 -0
|
@@ -66,7 +66,7 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
66
66
|
* @remarks
|
|
67
67
|
* Specifies whether auto scaling is enabled. Valid values:
|
|
68
68
|
*
|
|
69
|
-
* - `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
|
|
69
|
+
* - `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 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).
|
|
70
70
|
*
|
|
71
71
|
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
72
72
|
*
|
|
@@ -194,7 +194,7 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
194
194
|
* @remarks
|
|
195
195
|
* [This field is deprecated]
|
|
196
196
|
*
|
|
197
|
-
* The network bandwidth of the enhanced edge node pool, in
|
|
197
|
+
* The network bandwidth of the enhanced edge node pool, in Mbps.
|
|
198
198
|
*
|
|
199
199
|
* @example
|
|
200
200
|
* 10
|
|
@@ -214,7 +214,7 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
214
214
|
* @remarks
|
|
215
215
|
* [This field is deprecated]
|
|
216
216
|
*
|
|
217
|
-
* The region of the
|
|
217
|
+
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
218
218
|
*
|
|
219
219
|
* @example
|
|
220
220
|
* cn-shanghai
|
|
@@ -234,7 +234,7 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
234
234
|
* @remarks
|
|
235
235
|
* [This field is deprecated]
|
|
236
236
|
*
|
|
237
|
-
* The
|
|
237
|
+
* The purchase duration of the enhanced edge node pool, in months.
|
|
238
238
|
*
|
|
239
239
|
* @example
|
|
240
240
|
* 1
|
|
@@ -274,8 +274,8 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
274
274
|
* @remarks
|
|
275
275
|
* 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:
|
|
276
276
|
*
|
|
277
|
-
* - `true`:
|
|
278
|
-
* - `false`:
|
|
277
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
278
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
279
279
|
*
|
|
280
280
|
* @example
|
|
281
281
|
* true
|
|
@@ -285,8 +285,8 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
285
285
|
* @remarks
|
|
286
286
|
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
287
287
|
*
|
|
288
|
-
* - `static`:
|
|
289
|
-
* - `none`:
|
|
288
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
289
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
290
290
|
*
|
|
291
291
|
* @example
|
|
292
292
|
* none
|
|
@@ -303,7 +303,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
303
303
|
*
|
|
304
304
|
* The node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
305
305
|
*
|
|
306
|
-
* -
|
|
306
|
+
* - Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit.
|
|
307
307
|
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
|
|
308
308
|
*
|
|
309
309
|
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
@@ -314,7 +314,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
314
314
|
nodeNameMode?: string;
|
|
315
315
|
/**
|
|
316
316
|
* @remarks
|
|
317
|
-
* The pre-
|
|
317
|
+
* 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).
|
|
318
318
|
*
|
|
319
319
|
* @example
|
|
320
320
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -324,9 +324,9 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
324
324
|
* @remarks
|
|
325
325
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
326
326
|
*
|
|
327
|
-
* - containerd:
|
|
328
|
-
* - Sandboxed-Container.runv:
|
|
329
|
-
* - docker:
|
|
327
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
328
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
329
|
+
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
330
330
|
*
|
|
331
331
|
* @example
|
|
332
332
|
* containerd
|
|
@@ -342,16 +342,16 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
342
342
|
runtimeVersion?: string;
|
|
343
343
|
/**
|
|
344
344
|
* @remarks
|
|
345
|
-
* The node taint information. Taints work together
|
|
345
|
+
* The node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
346
346
|
*/
|
|
347
347
|
taints?: Taint[];
|
|
348
348
|
/**
|
|
349
349
|
* @remarks
|
|
350
|
-
* Indicates whether nodes are unschedulable
|
|
350
|
+
* Indicates whether the scaled-out nodes are unschedulable.
|
|
351
351
|
*
|
|
352
|
-
* - true:
|
|
352
|
+
* - true: Unschedulable.
|
|
353
353
|
*
|
|
354
|
-
* - false:
|
|
354
|
+
* - false: Schedulable.
|
|
355
355
|
*
|
|
356
356
|
* @example
|
|
357
357
|
* true
|
|
@@ -359,7 +359,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
359
359
|
unschedulable?: boolean;
|
|
360
360
|
/**
|
|
361
361
|
* @remarks
|
|
362
|
-
* The custom data
|
|
362
|
+
* 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).
|
|
363
363
|
*
|
|
364
364
|
* @example
|
|
365
365
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -427,12 +427,22 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
427
427
|
* r-xxxxxxxxxx
|
|
428
428
|
*/
|
|
429
429
|
autoRepairPolicyId?: string;
|
|
430
|
+
/**
|
|
431
|
+
* @example
|
|
432
|
+
* 1
|
|
433
|
+
*/
|
|
434
|
+
maxParallelRepairingNodes?: string;
|
|
435
|
+
/**
|
|
436
|
+
* @example
|
|
437
|
+
* 10%
|
|
438
|
+
*/
|
|
439
|
+
maxUnhealthyNodesThreshold?: string;
|
|
430
440
|
/**
|
|
431
441
|
* @remarks
|
|
432
|
-
* Specifies whether to allow node
|
|
442
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`.
|
|
433
443
|
*
|
|
434
|
-
* - `true`: Allow node
|
|
435
|
-
* - `false`: Do not allow node
|
|
444
|
+
* - `true`: Allow node restarts.
|
|
445
|
+
* - `false`: Do not allow node restarts.
|
|
436
446
|
*
|
|
437
447
|
* @example
|
|
438
448
|
* true
|
|
@@ -442,6 +452,8 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
442
452
|
return {
|
|
443
453
|
approvalRequired: 'approval_required',
|
|
444
454
|
autoRepairPolicyId: 'auto_repair_policy_id',
|
|
455
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
456
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
445
457
|
restartNode: 'restart_node',
|
|
446
458
|
};
|
|
447
459
|
}
|
|
@@ -450,6 +462,8 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
450
462
|
return {
|
|
451
463
|
approvalRequired: 'boolean',
|
|
452
464
|
autoRepairPolicyId: 'string',
|
|
465
|
+
maxParallelRepairingNodes: 'string',
|
|
466
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
453
467
|
restartNode: 'boolean',
|
|
454
468
|
};
|
|
455
469
|
}
|
|
@@ -466,9 +480,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
466
480
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $dara.Model {
|
|
467
481
|
/**
|
|
468
482
|
* @remarks
|
|
469
|
-
* Specifies whether to allow automatic kubelet
|
|
470
|
-
* - `true`: Allow automatic kubelet
|
|
471
|
-
* - `false`: Do not allow automatic kubelet
|
|
483
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
484
|
+
* - `true`: Allow automatic kubelet upgrades.
|
|
485
|
+
* - `false`: Do not allow automatic kubelet upgrades.
|
|
472
486
|
*
|
|
473
487
|
* @example
|
|
474
488
|
* true
|
|
@@ -498,7 +512,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolic
|
|
|
498
512
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $dara.Model {
|
|
499
513
|
/**
|
|
500
514
|
* @remarks
|
|
501
|
-
* The packages to exclude during vulnerability
|
|
515
|
+
* The packages to exclude during vulnerability fixing.
|
|
502
516
|
*
|
|
503
517
|
* @example
|
|
504
518
|
* kernel
|
|
@@ -506,9 +520,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
506
520
|
excludePackages?: string;
|
|
507
521
|
/**
|
|
508
522
|
* @remarks
|
|
509
|
-
* Specifies whether to allow node
|
|
510
|
-
* - `true`: Allow node
|
|
511
|
-
* - `false`: Do not allow node
|
|
523
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
524
|
+
* - `true`: Allow node restarts.
|
|
525
|
+
* - `false`: Do not allow node restarts.
|
|
512
526
|
*
|
|
513
527
|
* @example
|
|
514
528
|
* true
|
|
@@ -516,7 +530,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
516
530
|
restartNode?: boolean;
|
|
517
531
|
/**
|
|
518
532
|
* @remarks
|
|
519
|
-
* The vulnerability levels
|
|
533
|
+
* The vulnerability levels allowed for automatic fixing, separated by commas.
|
|
520
534
|
*
|
|
521
535
|
* - `asap`: high
|
|
522
536
|
* - `later`: medium
|
|
@@ -554,10 +568,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
554
568
|
export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $dara.Model {
|
|
555
569
|
/**
|
|
556
570
|
* @remarks
|
|
557
|
-
* Specifies whether to enable automatic
|
|
571
|
+
* Specifies whether to enable automatic upgrades. Valid values:
|
|
558
572
|
*
|
|
559
|
-
* - `true`: Enable automatic
|
|
560
|
-
* - `false`: Disable automatic
|
|
573
|
+
* - `true`: Enable automatic upgrades.
|
|
574
|
+
* - `false`: Disable automatic upgrades.
|
|
561
575
|
*
|
|
562
576
|
* @example
|
|
563
577
|
* true
|
|
@@ -575,7 +589,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
575
589
|
maxUnavailable?: number;
|
|
576
590
|
/**
|
|
577
591
|
* @remarks
|
|
578
|
-
* The number of extra nodes.
|
|
592
|
+
* The number of extra nodes. Specify either this parameter or surge_percentage.
|
|
579
593
|
*
|
|
580
594
|
* @example
|
|
581
595
|
* 5
|
|
@@ -583,7 +597,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
583
597
|
surge?: number;
|
|
584
598
|
/**
|
|
585
599
|
* @remarks
|
|
586
|
-
* The percentage of extra nodes.
|
|
600
|
+
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
587
601
|
*
|
|
588
602
|
* Number of extra nodes = extra node percentage × number of nodes. For example, if the extra node percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
589
603
|
*
|
|
@@ -638,9 +652,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
638
652
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
639
653
|
/**
|
|
640
654
|
* @remarks
|
|
641
|
-
* Specifies whether to enable automatic node
|
|
642
|
-
* - `true`: Enable automatic
|
|
643
|
-
* - `false`: Disable automatic
|
|
655
|
+
* Specifies whether to enable automatic node upgrades. This parameter takes effect only when `enable=true`.
|
|
656
|
+
* - `true`: Enable automatic upgrades.
|
|
657
|
+
* - `false`: Disable automatic upgrades.
|
|
644
658
|
*
|
|
645
659
|
* @example
|
|
646
660
|
* true
|
|
@@ -653,10 +667,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
653
667
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
654
668
|
/**
|
|
655
669
|
* @remarks
|
|
656
|
-
* Specifies whether to enable automatic CVE
|
|
670
|
+
* Specifies whether to enable automatic CVE fixing. This parameter takes effect only when `enable=true`.
|
|
657
671
|
*
|
|
658
|
-
* - `true`: Enable automatic CVE
|
|
659
|
-
* - `false`: Disable automatic CVE
|
|
672
|
+
* - `true`: Enable automatic CVE fixing.
|
|
673
|
+
* - `false`: Disable automatic CVE fixing.
|
|
660
674
|
*
|
|
661
675
|
* @example
|
|
662
676
|
* true
|
|
@@ -667,6 +681,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
667
681
|
* The automatic CVE fix policy.
|
|
668
682
|
*/
|
|
669
683
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
684
|
+
driftEnabled?: boolean;
|
|
670
685
|
/**
|
|
671
686
|
* @remarks
|
|
672
687
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
@@ -692,6 +707,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
692
707
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
693
708
|
autoVulFix: 'auto_vul_fix',
|
|
694
709
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
710
|
+
driftEnabled: 'drift_enabled',
|
|
695
711
|
enable: 'enable',
|
|
696
712
|
upgradeConfig: 'upgrade_config',
|
|
697
713
|
};
|
|
@@ -706,6 +722,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
706
722
|
autoUpgradePolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy,
|
|
707
723
|
autoVulFix: 'boolean',
|
|
708
724
|
autoVulFixPolicy: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy,
|
|
725
|
+
driftEnabled: 'boolean',
|
|
709
726
|
enable: 'boolean',
|
|
710
727
|
upgradeConfig: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig,
|
|
711
728
|
};
|
|
@@ -735,7 +752,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
735
752
|
export class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig extends $dara.Model {
|
|
736
753
|
/**
|
|
737
754
|
* @remarks
|
|
738
|
-
* The node component
|
|
755
|
+
* The custom configuration of the node component.
|
|
739
756
|
*
|
|
740
757
|
* @example
|
|
741
758
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -947,7 +964,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
947
964
|
/**
|
|
948
965
|
* @remarks
|
|
949
966
|
* The node pool type. Valid values:
|
|
950
|
-
* - `ess`: standard node pool (includes managed and
|
|
967
|
+
* - `ess`: standard node pool (includes managed and automatic scaling features).
|
|
951
968
|
* - `edge`: edge node pool.
|
|
952
969
|
* - `lingjun`: Lingjun node pool.
|
|
953
970
|
*
|
|
@@ -998,6 +1015,33 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
998
1015
|
}
|
|
999
1016
|
}
|
|
1000
1017
|
|
|
1018
|
+
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions extends $dara.Model {
|
|
1019
|
+
/**
|
|
1020
|
+
* @example
|
|
1021
|
+
* enabled
|
|
1022
|
+
*/
|
|
1023
|
+
nestedVirtualization?: string;
|
|
1024
|
+
static names(): { [key: string]: string } {
|
|
1025
|
+
return {
|
|
1026
|
+
nestedVirtualization: 'nested_virtualization',
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
static types(): { [key: string]: any } {
|
|
1031
|
+
return {
|
|
1032
|
+
nestedVirtualization: 'string',
|
|
1033
|
+
};
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
validate() {
|
|
1037
|
+
super.validate();
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
constructor(map?: { [key: string]: any }) {
|
|
1041
|
+
super(map);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1001
1045
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1002
1046
|
/**
|
|
1003
1047
|
* @remarks
|
|
@@ -1009,13 +1053,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOpt
|
|
|
1009
1053
|
id?: string;
|
|
1010
1054
|
/**
|
|
1011
1055
|
* @remarks
|
|
1012
|
-
* The private node pool type
|
|
1056
|
+
* The private node pool type, which is the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool capacity is generated for instance launch. Valid values:
|
|
1013
1057
|
*
|
|
1014
|
-
* - `Open`:
|
|
1058
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for launch.
|
|
1015
1059
|
*
|
|
1016
|
-
* - `Target`:
|
|
1060
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.
|
|
1017
1061
|
*
|
|
1018
|
-
* - `None`:
|
|
1062
|
+
* - `None`: Do not use mode. Instance launch does not use private pool capacity.
|
|
1019
1063
|
*
|
|
1020
1064
|
* @example
|
|
1021
1065
|
* Open
|
|
@@ -1055,7 +1099,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOp
|
|
|
1055
1099
|
* The resource pool strategy used when creating instances. Valid values:
|
|
1056
1100
|
* PrivatePoolFirst: private pool first.
|
|
1057
1101
|
* PrivatePoolOnly: private pool only.
|
|
1058
|
-
* None:
|
|
1102
|
+
* None: do not use a resource pool strategy.
|
|
1059
1103
|
*
|
|
1060
1104
|
* @example
|
|
1061
1105
|
* PrivatePoolFirst
|
|
@@ -1098,7 +1142,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
1098
1142
|
instanceType?: string;
|
|
1099
1143
|
/**
|
|
1100
1144
|
* @remarks
|
|
1101
|
-
* The
|
|
1145
|
+
* The price per instance.
|
|
1102
1146
|
*
|
|
1103
1147
|
* <props="china">Unit: CNY/hour.
|
|
1104
1148
|
*
|
|
@@ -1168,18 +1212,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1168
1212
|
cisEnabled?: boolean;
|
|
1169
1213
|
/**
|
|
1170
1214
|
* @remarks
|
|
1171
|
-
* When
|
|
1215
|
+
* When multi_az_policy is set to `COST_OPTIMIZED`, specifies whether to allow the automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
1172
1216
|
*
|
|
1173
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
1174
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
1217
|
+
* - `true`: Allows the automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1218
|
+
* - `false`: Does not allow the automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1175
1219
|
*
|
|
1176
1220
|
* @example
|
|
1177
1221
|
* true
|
|
1178
1222
|
*/
|
|
1179
1223
|
compensateWithOnDemand?: boolean;
|
|
1224
|
+
cpuOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions;
|
|
1180
1225
|
/**
|
|
1181
1226
|
* @remarks
|
|
1182
|
-
* The
|
|
1227
|
+
* The configuration of data cloud disks, including type and size.
|
|
1183
1228
|
*/
|
|
1184
1229
|
dataDisks?: DataDisk[];
|
|
1185
1230
|
/**
|
|
@@ -1276,7 +1321,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1276
1321
|
internetMaxBandwidthOut?: number;
|
|
1277
1322
|
/**
|
|
1278
1323
|
* @remarks
|
|
1279
|
-
* The key pair name.
|
|
1324
|
+
* The key pair name. Specify either this parameter or `login_password`. For managed node pools, only `key_pair` is supported.
|
|
1280
1325
|
*
|
|
1281
1326
|
* @example
|
|
1282
1327
|
* pro-nodepool
|
|
@@ -1296,9 +1341,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1296
1341
|
loginAsNonRoot?: boolean;
|
|
1297
1342
|
/**
|
|
1298
1343
|
* @remarks
|
|
1299
|
-
* The SSH
|
|
1344
|
+
* The SSH login password. Specify either this parameter or `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.
|
|
1300
1345
|
*
|
|
1301
|
-
* For security purposes,
|
|
1346
|
+
* For security purposes, logon password is encrypted in query results.
|
|
1302
1347
|
*
|
|
1303
1348
|
* @example
|
|
1304
1349
|
* ********
|
|
@@ -1308,13 +1353,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1308
1353
|
* @remarks
|
|
1309
1354
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1310
1355
|
*
|
|
1311
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch
|
|
1356
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch.
|
|
1312
1357
|
*
|
|
1313
|
-
* - `COST_OPTIMIZED`:
|
|
1358
|
+
* - `COST_OPTIMIZED`: Creates instances in ascending order of vCPU unit price. When the scaling configuration specifies multiple instance types with the spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1314
1359
|
*
|
|
1315
1360
|
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1316
1361
|
*
|
|
1317
|
-
* - `BALANCE`:
|
|
1362
|
+
* - `BALANCE`: Distributes ECS instances evenly across the zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, call the RebalanceInstances operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1318
1363
|
*
|
|
1319
1364
|
* Default value: `PRIORITY`.
|
|
1320
1365
|
*
|
|
@@ -1324,7 +1369,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1324
1369
|
multiAzPolicy?: string;
|
|
1325
1370
|
/**
|
|
1326
1371
|
* @remarks
|
|
1327
|
-
* The minimum number of pay-
|
|
1372
|
+
* The minimum number of pay-
|
|
1328
1373
|
*
|
|
1329
1374
|
* @example
|
|
1330
1375
|
* 0
|
|
@@ -1332,7 +1377,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1332
1377
|
onDemandBaseCapacity?: number;
|
|
1333
1378
|
/**
|
|
1334
1379
|
* @remarks
|
|
1335
|
-
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (
|
|
1380
|
+
* 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\\].
|
|
1336
1381
|
*
|
|
1337
1382
|
* @example
|
|
1338
1383
|
* 20
|
|
@@ -1353,8 +1398,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1353
1398
|
* @remarks
|
|
1354
1399
|
* The unit of the subscription period. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1355
1400
|
*
|
|
1356
|
-
* - `Month`: month as the billing
|
|
1357
|
-
* - `Week`: week as the billing
|
|
1401
|
+
* - `Month`: month as the billing cycle.
|
|
1402
|
+
* - `Week`: week as the billing cycle.
|
|
1358
1403
|
*
|
|
1359
1404
|
* @example
|
|
1360
1405
|
* Month
|
|
@@ -1396,7 +1441,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1396
1441
|
ramRoleName?: string;
|
|
1397
1442
|
/**
|
|
1398
1443
|
* @remarks
|
|
1399
|
-
* If an
|
|
1444
|
+
* If an RDS instance list is specified, the ECS instances of cluster nodes are automatically added to the RDS access whitelist.
|
|
1400
1445
|
*/
|
|
1401
1446
|
rdsInstances?: string[];
|
|
1402
1447
|
/**
|
|
@@ -1417,8 +1462,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1417
1462
|
* The scaling group mode. Valid values:
|
|
1418
1463
|
*
|
|
1419
1464
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1420
|
-
* - `recycle`: swift mode. Scales by creating, stopping, and starting instances, which accelerates subsequent scaling operations.
|
|
1421
|
-
* [_single.resp.200.props.scaling_group.on_demand
|
|
1465
|
+
* - `recycle`: swift mode. Scales by creating, stopping, and starting instances, which accelerates subsequent scaling operations. Stopped instances are not charged for compute resources, but storage fees still apply. This does not apply to instances with local disks.
|
|
1422
1466
|
*
|
|
1423
1467
|
* @example
|
|
1424
1468
|
* release
|
|
@@ -1460,7 +1504,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1460
1504
|
socEnabled?: boolean;
|
|
1461
1505
|
/**
|
|
1462
1506
|
* @remarks
|
|
1463
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1507
|
+
* The number of available instance types. The scaling group creates spot instances of multiple lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
1464
1508
|
*
|
|
1465
1509
|
* @example
|
|
1466
1510
|
* 5
|
|
@@ -1468,10 +1512,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1468
1512
|
spotInstancePools?: number;
|
|
1469
1513
|
/**
|
|
1470
1514
|
* @remarks
|
|
1471
|
-
* Indicates whether spot instance supplementation is enabled.
|
|
1515
|
+
* Indicates whether spot instance supplementation is enabled. If enabled, when the system notifies that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1472
1516
|
*
|
|
1473
1517
|
* - `true`: Spot instance supplementation is enabled.
|
|
1474
|
-
* - `false`: Spot instance supplementation is
|
|
1518
|
+
* - `false`: Spot instance supplementation is not enabled.
|
|
1475
1519
|
*
|
|
1476
1520
|
* @example
|
|
1477
1521
|
* false
|
|
@@ -1487,7 +1531,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1487
1531
|
* The type of spot instance. Valid values:
|
|
1488
1532
|
* - NoSpot: non-spot instance.
|
|
1489
1533
|
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1490
|
-
* - SpotAsPriceGo:
|
|
1534
|
+
* - SpotAsPriceGo: spot instance priced at the market rate.
|
|
1491
1535
|
*
|
|
1492
1536
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1493
1537
|
*
|
|
@@ -1497,8 +1541,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1497
1541
|
spotStrategy?: string;
|
|
1498
1542
|
/**
|
|
1499
1543
|
* @remarks
|
|
1500
|
-
* Specifies whether to enable burst
|
|
1501
|
-
* - true: Enable. When enabled, the cloud disk temporarily boosts performance
|
|
1544
|
+
* Specifies whether to enable burst performance for the system cloud disk. Valid values:
|
|
1545
|
+
* - true: Enable. When enabled, the cloud disk temporarily boosts performance to handle sudden data read/write pressure during fluctuating workloads until the workload stabilizes.
|
|
1502
1546
|
* - false: Disable.
|
|
1503
1547
|
*
|
|
1504
1548
|
* 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).
|
|
@@ -1527,7 +1571,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1527
1571
|
systemDiskCategory?: string;
|
|
1528
1572
|
/**
|
|
1529
1573
|
* @remarks
|
|
1530
|
-
* The encryption algorithm used
|
|
1574
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1531
1575
|
*
|
|
1532
1576
|
* @example
|
|
1533
1577
|
* aes-256
|
|
@@ -1536,8 +1580,8 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1536
1580
|
/**
|
|
1537
1581
|
* @remarks
|
|
1538
1582
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1539
|
-
* - `true`:
|
|
1540
|
-
* - `false`:
|
|
1583
|
+
* - `true`: Encrypt.
|
|
1584
|
+
* - `false`: Do not encrypt.
|
|
1541
1585
|
*
|
|
1542
1586
|
* @example
|
|
1543
1587
|
* false
|
|
@@ -1545,7 +1589,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1545
1589
|
systemDiskEncrypted?: boolean;
|
|
1546
1590
|
/**
|
|
1547
1591
|
* @remarks
|
|
1548
|
-
* The KMS key ID used
|
|
1592
|
+
* The KMS key ID used by the system cloud disk.
|
|
1549
1593
|
*
|
|
1550
1594
|
* @example
|
|
1551
1595
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1609,6 +1653,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1609
1653
|
autoRenewPeriod: 'auto_renew_period',
|
|
1610
1654
|
cisEnabled: 'cis_enabled',
|
|
1611
1655
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
1656
|
+
cpuOptions: 'cpu_options',
|
|
1612
1657
|
dataDisks: 'data_disks',
|
|
1613
1658
|
deploymentsetId: 'deploymentset_id',
|
|
1614
1659
|
desiredSize: 'desired_size',
|
|
@@ -1666,6 +1711,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1666
1711
|
autoRenewPeriod: 'number',
|
|
1667
1712
|
cisEnabled: 'boolean',
|
|
1668
1713
|
compensateWithOnDemand: 'boolean',
|
|
1714
|
+
cpuOptions: DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions,
|
|
1669
1715
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
1670
1716
|
deploymentsetId: 'string',
|
|
1671
1717
|
desiredSize: 'number',
|
|
@@ -1718,6 +1764,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1718
1764
|
}
|
|
1719
1765
|
|
|
1720
1766
|
validate() {
|
|
1767
|
+
if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
|
|
1768
|
+
(this.cpuOptions as any).validate();
|
|
1769
|
+
}
|
|
1721
1770
|
if(Array.isArray(this.dataDisks)) {
|
|
1722
1771
|
$dara.Model.validateArray(this.dataDisks);
|
|
1723
1772
|
}
|
|
@@ -1838,7 +1887,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1838
1887
|
export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model {
|
|
1839
1888
|
/**
|
|
1840
1889
|
* @remarks
|
|
1841
|
-
* The
|
|
1890
|
+
* The node pool conditions, which represent the status information of the node pool across different dimensions.
|
|
1842
1891
|
*/
|
|
1843
1892
|
conditions?: DescribeClusterNodePoolDetailResponseBodyStatusConditions[];
|
|
1844
1893
|
/**
|
|
@@ -1894,10 +1943,10 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1894
1943
|
* The node pool status. Valid values:
|
|
1895
1944
|
*
|
|
1896
1945
|
* - `active`: Active.
|
|
1897
|
-
* - `scaling`: Scaling
|
|
1898
|
-
* - `removing`:
|
|
1899
|
-
* - `deleting`:
|
|
1900
|
-
* - `updating`:
|
|
1946
|
+
* - `scaling`: Scaling.
|
|
1947
|
+
* - `removing`: Removing nodes.
|
|
1948
|
+
* - `deleting`: Deleting.
|
|
1949
|
+
* - `updating`: Updating.
|
|
1901
1950
|
*
|
|
1902
1951
|
* @example
|
|
1903
1952
|
* active
|
|
@@ -1956,8 +2005,8 @@ export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Mo
|
|
|
1956
2005
|
* @remarks
|
|
1957
2006
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1958
2007
|
*
|
|
1959
|
-
* - `true`:
|
|
1960
|
-
* - `false`:
|
|
2008
|
+
* - `true`: Enabled.
|
|
2009
|
+
* - `false`: Not enabled.
|
|
1961
2010
|
*
|
|
1962
2011
|
* @example
|
|
1963
2012
|
* false
|
|
@@ -1998,9 +2047,9 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1998
2047
|
efloNodeGroup?: DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup;
|
|
1999
2048
|
/**
|
|
2000
2049
|
* @remarks
|
|
2001
|
-
*
|
|
2002
|
-
* - `true`:
|
|
2003
|
-
* - `false`:
|
|
2050
|
+
* Indicates whether the pod network uses host network mode.
|
|
2051
|
+
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
2052
|
+
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
2004
2053
|
*
|
|
2005
2054
|
* @example
|
|
2006
2055
|
* true
|
|
@@ -2010,15 +2059,15 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2010
2059
|
* @remarks
|
|
2011
2060
|
* [This field is deprecated]
|
|
2012
2061
|
*
|
|
2013
|
-
* The network configuration for edge node pools. This value is only meaningful for edge-type node pools.
|
|
2062
|
+
* The network-related configuration for edge node pools. This value is only meaningful for edge-type node pools.
|
|
2014
2063
|
*/
|
|
2015
2064
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
2016
2065
|
/**
|
|
2017
2066
|
* @remarks
|
|
2018
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
2067
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
2019
2068
|
*
|
|
2020
|
-
* - `basic`:
|
|
2021
|
-
* - `private`:
|
|
2069
|
+
* - `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.
|
|
2070
|
+
* - `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.
|
|
2022
2071
|
*
|
|
2023
2072
|
* @example
|
|
2024
2073
|
* basic
|
|
@@ -2027,8 +2076,8 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2027
2076
|
/**
|
|
2028
2077
|
* @remarks
|
|
2029
2078
|
* Indicates whether nodes within the edge node pool have Layer 3 network connectivity.
|
|
2030
|
-
* - `true`:
|
|
2031
|
-
* - `false`:
|
|
2079
|
+
* - `true`: Connected. All nodes within the node pool have Layer 3 network connectivity.
|
|
2080
|
+
* - `false`: Not connected. All nodes within the node pool do not have Layer 3 network connectivity.
|
|
2032
2081
|
*
|
|
2033
2082
|
* @example
|
|
2034
2083
|
* true
|