@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.
Files changed (45) hide show
  1. package/dist/client.d.ts +30 -30
  2. package/dist/client.js +33 -30
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +139 -83
  5. package/dist/models/CreateClusterNodePoolRequest.js +29 -1
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +372 -345
  8. package/dist/models/CreateClusterRequest.js +27 -1
  9. package/dist/models/CreateClusterRequest.js.map +1 -1
  10. package/dist/models/CreateClusterResponseBody.d.ts +3 -3
  11. package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
  12. package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
  13. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  14. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +163 -131
  15. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
  16. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  17. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +120 -92
  18. package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
  19. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  20. package/dist/models/ModifyClusterNodePoolRequest.d.ts +64 -49
  21. package/dist/models/ModifyClusterNodePoolRequest.js +4 -0
  22. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  23. package/dist/models/ModifyClusterRequest.d.ts +151 -112
  24. package/dist/models/ModifyClusterRequest.js +29 -1
  25. package/dist/models/ModifyClusterRequest.js.map +1 -1
  26. package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
  27. package/dist/models/Nodepool.d.ts +132 -88
  28. package/dist/models/Nodepool.js +29 -1
  29. package/dist/models/Nodepool.js.map +1 -1
  30. package/dist/models/model.d.ts +7 -0
  31. package/dist/models/model.js +80 -66
  32. package/dist/models/model.js.map +1 -1
  33. package/package.json +2 -2
  34. package/src/client.ts +34 -30
  35. package/src/models/CreateClusterNodePoolRequest.ts +158 -83
  36. package/src/models/CreateClusterRequest.ts +389 -345
  37. package/src/models/CreateClusterResponseBody.ts +3 -3
  38. package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
  39. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +182 -131
  40. package/src/models/DescribeClusterNodePoolsResponseBody.ts +139 -92
  41. package/src/models/ModifyClusterNodePoolRequest.ts +68 -49
  42. package/src/models/ModifyClusterRequest.ts +170 -112
  43. package/src/models/ModifyClusterResponseBody.ts +3 -3
  44. package/src/models/Nodepool.ts +151 -88
  45. package/src/models/model.ts +7 -0
@@ -65,7 +65,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
65
65
  * @remarks
66
66
  * Specifies whether auto scaling is enabled. Valid values:
67
67
  *
68
- * - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet 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 earlier than version 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
68
+ * - `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).
69
69
  *
70
70
  * - `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.
71
71
  *
@@ -205,9 +205,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
205
205
  export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig extends $dara.Model {
206
206
  /**
207
207
  * @remarks
208
- * [This field is deprecated]
208
+ * [Deprecated]
209
209
  *
210
- * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
210
+ * The network bandwidth of the enhanced edge node pool, in Mbps.
211
211
  *
212
212
  * @example
213
213
  * 10
@@ -215,7 +215,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
215
215
  bandwidth?: number;
216
216
  /**
217
217
  * @remarks
218
- * [This field is deprecated]
218
+ * [Deprecated]
219
219
  *
220
220
  * The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
221
221
  *
@@ -225,7 +225,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
225
225
  ccnId?: string;
226
226
  /**
227
227
  * @remarks
228
- * [This field is deprecated]
228
+ * [Deprecated]
229
229
  *
230
230
  * The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
231
231
  *
@@ -235,7 +235,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
235
235
  ccnRegionId?: string;
236
236
  /**
237
237
  * @remarks
238
- * [This field is deprecated]
238
+ * [Deprecated]
239
239
  *
240
240
  * The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
241
241
  *
@@ -245,9 +245,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
245
245
  cenId?: string;
246
246
  /**
247
247
  * @remarks
248
- * [This field is deprecated]
248
+ * [Deprecated]
249
249
  *
250
- * The subscription duration of the enhanced edge node pool. Unit: months.
250
+ * The subscription duration of the enhanced edge node pool, in months.
251
251
  *
252
252
  * @example
253
253
  * 1
@@ -285,7 +285,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
285
285
  export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig extends $dara.Model {
286
286
  /**
287
287
  * @remarks
288
- * Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
288
+ * 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:
289
289
  *
290
290
  * - `true`: Installs the CloudMonitor agent on ECS nodes.
291
291
  * - `false`: Does not install the CloudMonitor agent on ECS nodes.
@@ -314,7 +314,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
314
314
  * @remarks
315
315
  * The custom node name.
316
316
  *
317
- * The node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
317
+ * A node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
318
318
  *
319
319
  * - 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.
320
320
  * - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
@@ -327,7 +327,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
327
327
  nodeNameMode?: string;
328
328
  /**
329
329
  * @remarks
330
- * 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).
330
+ * 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).
331
331
  *
332
332
  * @example
333
333
  * IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD
@@ -335,7 +335,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
335
335
  preUserData?: string;
336
336
  /**
337
337
  * @remarks
338
- * The container runtime name. ACK supports the following three container runtimes:
338
+ * The container runtime. ACK supports the following three container runtimes:
339
339
  *
340
340
  * - containerd: recommended. Supports all cluster versions.
341
341
  * - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
@@ -372,7 +372,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
372
372
  unschedulable?: boolean;
373
373
  /**
374
374
  * @remarks
375
- * 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).
375
+ * 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).
376
376
  *
377
377
  * @example
378
378
  * IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
@@ -426,7 +426,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
426
426
  export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
427
427
  /**
428
428
  * @remarks
429
- * Indicates whether manual approval is required for node repair.
429
+ * Specifies whether manual approval is required for node repair.
430
430
  *
431
431
  * @example
432
432
  * false
@@ -440,9 +440,19 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
440
440
  * r-xxxxxxxxx
441
441
  */
442
442
  autoRepairPolicyId?: string;
443
+ /**
444
+ * @example
445
+ * 1
446
+ */
447
+ maxParallelRepairingNodes?: string;
448
+ /**
449
+ * @example
450
+ * 10%
451
+ */
452
+ maxUnhealthyNodesThreshold?: string;
443
453
  /**
444
454
  * @remarks
445
- * Specifies whether node restart is allowed. This parameter takes effect only when `auto_repair=true`.
455
+ * Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`.
446
456
  *
447
457
  * - `true`: Allow node restart.
448
458
  * - `false`: Do not allow node restart.
@@ -455,6 +465,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
455
465
  return {
456
466
  approvalRequired: 'approval_required',
457
467
  autoRepairPolicyId: 'auto_repair_policy_id',
468
+ maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
469
+ maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
458
470
  restartNode: 'restart_node',
459
471
  };
460
472
  }
@@ -463,6 +475,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
463
475
  return {
464
476
  approvalRequired: 'boolean',
465
477
  autoRepairPolicyId: 'string',
478
+ maxParallelRepairingNodes: 'string',
479
+ maxUnhealthyNodesThreshold: 'string',
466
480
  restartNode: 'boolean',
467
481
  };
468
482
  }
@@ -479,7 +493,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPo
479
493
  export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
480
494
  /**
481
495
  * @remarks
482
- * Specifies whether automatic kubelet upgrade is allowed. This parameter takes effect only when `auto_upgrade=true`. Valid values:
496
+ * Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
483
497
  * - `true`: Allow automatic kubelet upgrade.
484
498
  * - `false`: Do not allow automatic kubelet upgrade.
485
499
  *
@@ -519,7 +533,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
519
533
  excludePackages?: string;
520
534
  /**
521
535
  * @remarks
522
- * Specifies whether node restart is allowed. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
536
+ * Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
523
537
  * - `true`: Allow node restart.
524
538
  * - `false`: Do not allow node restart.
525
539
  *
@@ -567,10 +581,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPo
567
581
  export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
568
582
  /**
569
583
  * @remarks
570
- * Specifies whether to enable auto upgrade. Valid values:
584
+ * Specifies whether to enable automatic upgrade. Valid values:
571
585
  *
572
- * - `true`: Enable auto upgrade.
573
- * - `false`: Disable auto upgrade.
586
+ * - `true`: Enable automatic upgrade.
587
+ * - `false`: Disable automatic upgrade.
574
588
  *
575
589
  * @example
576
590
  * true
@@ -598,7 +612,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
598
612
  * @remarks
599
613
  * The percentage of extra nodes. Mutually exclusive with `surge`.
600
614
  *
601
- * Extra nodes = extra node percentage × number of nodes. For example, if the extra node percentage is 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
615
+ * 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.
602
616
  *
603
617
  * @example
604
618
  * 50
@@ -634,7 +648,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfi
634
648
  export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Model {
635
649
  /**
636
650
  * @remarks
637
- * Indicates whether ECS fault detection for node self-healing is enabled.
651
+ * Specifies whether to enable ECS fault detection for node self-healing.
638
652
  */
639
653
  autoFaultDiagnosis?: boolean;
640
654
  /**
@@ -650,14 +664,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
650
664
  autoRepair?: boolean;
651
665
  /**
652
666
  * @remarks
653
- * The auto repair node policy.
667
+ * The auto repair policy for nodes.
654
668
  */
655
669
  autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
656
670
  /**
657
671
  * @remarks
658
672
  * Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
659
- * - `true`: Enable auto upgrade.
660
- * - `false`: Disable auto upgrade.
673
+ * - `true`: Enable automatic upgrade.
674
+ * - `false`: Disable automatic upgrade.
661
675
  *
662
676
  * @example
663
677
  * true
@@ -665,7 +679,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
665
679
  autoUpgrade?: boolean;
666
680
  /**
667
681
  * @remarks
668
- * The auto upgrade policy.
682
+ * The automatic upgrade policy.
669
683
  */
670
684
  autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
671
685
  /**
@@ -698,7 +712,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
698
712
  enable?: boolean;
699
713
  /**
700
714
  * @remarks
701
- * The auto upgrade configuration. This parameter takes effect only when `enable=true`.
715
+ * The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
702
716
  */
703
717
  upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
704
718
  static names(): { [key: string]: string } {
@@ -755,7 +769,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
755
769
  export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
756
770
  /**
757
771
  * @remarks
758
- * The custom configuration of the node component.
772
+ * The custom node component configuration.
759
773
  *
760
774
  * @example
761
775
  * {"cpuManagerPolicy":"static"}
@@ -793,7 +807,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
793
807
  config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
794
808
  /**
795
809
  * @remarks
796
- * The custom configuration revision number of the node component.
810
+ * The custom node component configuration revision number.
797
811
  *
798
812
  * @example
799
813
  * 1
@@ -848,7 +862,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
848
862
  export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig extends $dara.Model {
849
863
  /**
850
864
  * @remarks
851
- * The Hugepage configuration.
865
+ * The hugepage configuration.
852
866
  */
853
867
  hugepage?: Hugepage;
854
868
  static names(): { [key: string]: string } {
@@ -926,10 +940,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
926
940
  created?: string;
927
941
  /**
928
942
  * @remarks
929
- * Indicates whether this is the default node pool. A cluster typically has only one default node pool. Valid values:
943
+ * Indicates whether the node pool is the default node pool. A cluster typically has only one default node pool. Valid values:
930
944
  *
931
- * - `true`: Default node pool.
932
- * - `false`: Non-default node pool.
945
+ * - `true`: The node pool is the default node pool.
946
+ * - `false`: The node pool is not the default node pool.
933
947
  *
934
948
  * @example
935
949
  * true
@@ -1022,6 +1036,33 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
1022
1036
  }
1023
1037
  }
1024
1038
 
1039
+ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions extends $dara.Model {
1040
+ /**
1041
+ * @example
1042
+ * enabled
1043
+ */
1044
+ nestedVirtualization?: string;
1045
+ static names(): { [key: string]: string } {
1046
+ return {
1047
+ nestedVirtualization: 'nested_virtualization',
1048
+ };
1049
+ }
1050
+
1051
+ static types(): { [key: string]: any } {
1052
+ return {
1053
+ nestedVirtualization: 'string',
1054
+ };
1055
+ }
1056
+
1057
+ validate() {
1058
+ super.validate();
1059
+ }
1060
+
1061
+ constructor(map?: { [key: string]: any }) {
1062
+ super(map);
1063
+ }
1064
+ }
1065
+
1025
1066
  export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions extends $dara.Model {
1026
1067
  /**
1027
1068
  * @remarks
@@ -1033,13 +1074,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoo
1033
1074
  id?: string;
1034
1075
  /**
1035
1076
  * @remarks
1036
- * 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 instances to select during launch. Valid values:
1077
+ * 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:
1037
1078
  *
1038
- * - `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.
1079
+ * - `Open`: open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
1039
1080
  *
1040
- * - `Target`: specified mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.
1081
+ * - `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.
1041
1082
  *
1042
- * - `None`: not used mode. Instance launch does not use private pool capacity.
1083
+ * - `None`: no private pool. The instance launch does not use private pool capacity.
1043
1084
  *
1044
1085
  * @example
1045
1086
  * Open
@@ -1158,7 +1199,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceL
1158
1199
  export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $dara.Model {
1159
1200
  /**
1160
1201
  * @remarks
1161
- * Specifies whether auto-renewal is enabled for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
1202
+ * Specifies whether to enable auto-renewal. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
1162
1203
  *
1163
1204
  * - `true`: Enable auto-renewal.
1164
1205
  * - `false`: Disable auto-renewal.
@@ -1170,8 +1211,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1170
1211
  /**
1171
1212
  * @remarks
1172
1213
  * The duration of each auto-renewal cycle. Valid values:
1173
- * - When PeriodUnit=Week: 1, 2, 3.
1174
- * - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
1214
+ * - PeriodUnit=Week: 1, 2, 3.
1215
+ * - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
1175
1216
  *
1176
1217
  * @example
1177
1218
  * 0
@@ -1179,7 +1220,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1179
1220
  autoRenewPeriod?: number;
1180
1221
  /**
1181
1222
  * @remarks
1182
- * [This field is deprecated]
1223
+ * [Deprecated]
1183
1224
  *
1184
1225
  * Use the security_hardening_os parameter instead.
1185
1226
  *
@@ -1191,15 +1232,16 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1191
1232
  cisEnabled?: boolean;
1192
1233
  /**
1193
1234
  * @remarks
1194
- * When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to cost or inventory reasons. Valid values:
1235
+ * 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:
1195
1236
  *
1196
- * - `true`: Allowed.
1197
- * - `false`: Not allowed.
1237
+ * - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
1238
+ * - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
1198
1239
  *
1199
1240
  * @example
1200
1241
  * true
1201
1242
  */
1202
1243
  compensateWithOnDemand?: boolean;
1244
+ cpuOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions;
1203
1245
  /**
1204
1246
  * @remarks
1205
1247
  * The combination of data cloud disk type, size, and other configurations for nodes.
@@ -1236,7 +1278,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1236
1278
  imageId?: string;
1237
1279
  /**
1238
1280
  * @remarks
1239
- * The operating system image type.
1281
+ * The operating system image type. Valid values:
1240
1282
  * - `AliyunLinux`: Alinux2 image.
1241
1283
  * - `AliyunLinuxSecurity`: Alinux2 UEFI image.
1242
1284
  * - `AliyunLinux3`: Alinux3 image.
@@ -1270,7 +1312,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1270
1312
  instancePatterns?: InstancePatterns[];
1271
1313
  /**
1272
1314
  * @remarks
1273
- * The list of node instance types. You can select multiple instance types as alternatives. During node creation, the system attempts to purchase instances starting from the first specification until successful. The final purchased instance type may vary depending on inventory availability.
1315
+ * 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.
1274
1316
  *
1275
1317
  * @example
1276
1318
  * ecs.n4.large
@@ -1278,10 +1320,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1278
1320
  instanceTypes?: string[];
1279
1321
  /**
1280
1322
  * @remarks
1281
- * The billing method for the public IP address of nodes.
1323
+ * The billing method for the public IP addresses of nodes.
1282
1324
  *
1283
- * - PayByBandwidth: billed on a fixed bandwidth basis.
1284
- * - PayByTraffic: billed on a pay-by-traffic basis.
1325
+ * - PayByBandwidth: billed on a fixed-bandwidth basis.
1326
+ * - PayByTraffic: billed based on actual traffic usage.
1285
1327
  *
1286
1328
  * @example
1287
1329
  * PayByBandwidth
@@ -1289,7 +1331,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1289
1331
  internetChargeType?: string;
1290
1332
  /**
1291
1333
  * @remarks
1292
- * The maximum outbound bandwidth for the public IP address of nodes, in Mbps (Mega bit per second). Valid values: 1 to 100.
1334
+ * The maximum outbound bandwidth for the public IP addresses of nodes, in Mbps (Mega bit per second). Valid values: 1 to 100.
1293
1335
  *
1294
1336
  * @example
1295
1337
  * 10
@@ -1307,12 +1349,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1307
1349
  keyPair?: string;
1308
1350
  /**
1309
1351
  * @remarks
1310
- * Specifies whether scaled-out ECS instances use non-root user login.
1352
+ * Specifies whether scaled-out ECS instances use non-root logon.
1311
1353
  *
1312
1354
  * - true: Log on as a non-root user (ecs-user).
1313
1355
  *
1314
1356
  * - false: Log on as the root user.
1315
- * [_single.resp.200.props.nodepools.items.scaling_
1357
+ * [_single.resp.200.props.nodepools.items.scaling_group.cis
1316
1358
  *
1317
1359
  * @example
1318
1360
  * true
@@ -1320,9 +1362,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1320
1362
  loginAsNonRoot?: boolean;
1321
1363
  /**
1322
1364
  * @remarks
1323
- * 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.
1365
+ * 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.
1324
1366
  *
1325
- * For security purposes, logon password is encrypted in query results.
1367
+ * For security purposes, the password is encrypted in query results.
1326
1368
  *
1327
1369
  * @example
1328
1370
  * ******
@@ -1330,15 +1372,15 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1330
1372
  loginPassword?: string;
1331
1373
  /**
1332
1374
  * @remarks
1333
- * The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
1375
+ * The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
1334
1376
  *
1335
- * - `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-priority vSwitch to create ECS instances.
1377
+ * - `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.
1336
1378
  *
1337
- * - `COST_OPTIMIZED`: Creates instances based on the unit price of vCPUs, from low to high. When the scaling configuration settings specify multiple instance types with preemptible billing methods, 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.
1379
+ * - `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.
1338
1380
  *
1339
1381
  * >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
1340
1382
  *
1341
- * - `BALANCE`: Distributes ECS instances evenly across the active zones specified for the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to allocate resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
1383
+ * - `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.
1342
1384
  *
1343
1385
  * @example
1344
1386
  * COST_OPTIMIZED
@@ -1346,7 +1388,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1346
1388
  multiAzPolicy?: string;
1347
1389
  /**
1348
1390
  * @remarks
1349
- * 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 first when the number of pay-as-you-go instances is less than this value.
1391
+ * 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.
1350
1392
  *
1351
1393
  * @example
1352
1394
  * 0
@@ -1354,7 +1396,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1354
1396
  onDemandBaseCapacity?: number;
1355
1397
  /**
1356
1398
  * @remarks
1357
- * 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\\].
1399
+ * 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\\].
1358
1400
  *
1359
1401
  * @example
1360
1402
  * 20
@@ -1373,7 +1415,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1373
1415
  period?: number;
1374
1416
  /**
1375
1417
  * @remarks
1376
- * The subscription period unit. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
1418
+ * The node billing period unit. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
1377
1419
  *
1378
1420
  * - `Month`: month.
1379
1421
  * - `Week`: week.
@@ -1384,7 +1426,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1384
1426
  periodUnit?: string;
1385
1427
  /**
1386
1428
  * @remarks
1387
- * [This field is deprecated]
1429
+ * [Deprecated]
1388
1430
  *
1389
1431
  * The operating system distribution. Valid values:
1390
1432
  *
@@ -1420,7 +1462,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1420
1462
  ramRoleName?: string;
1421
1463
  /**
1422
1464
  * @remarks
1423
- * If RDS instances are specified, the ECS instances in the cluster node are automatically added to the whitelist of the RDS instances.
1465
+ * If an RDS instance list is specified, the ECS instances in the cluster nodes are automatically added to the RDS access whitelist.
1424
1466
  */
1425
1467
  rdsInstances?: string[];
1426
1468
  /**
@@ -1441,7 +1483,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1441
1483
  * The scaling group mode. Valid values:
1442
1484
  *
1443
1485
  * - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
1444
- * - `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 stop period. Only storage fees are charged, except for instances with local disks.
1486
+ * - `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.
1445
1487
  *
1446
1488
  * @example
1447
1489
  * release
@@ -1449,7 +1491,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1449
1491
  scalingPolicy?: string;
1450
1492
  /**
1451
1493
  * @remarks
1452
- * [This field is deprecated]
1494
+ * [Deprecated]
1453
1495
  *
1454
1496
  * 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`.
1455
1497
  *
@@ -1477,7 +1519,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1477
1519
  securityHardeningOs?: boolean;
1478
1520
  /**
1479
1521
  * @remarks
1480
- * Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs for classified protection compliance for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
1522
+ * 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.
1481
1523
  *
1482
1524
  * @example
1483
1525
  * false
@@ -1485,7 +1527,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1485
1527
  socEnabled?: boolean;
1486
1528
  /**
1487
1529
  * @remarks
1488
- * The number of active instance types. The scaling group creates spot instances across multiple types with the lowest cost. Valid values: [1,10\\].
1530
+ * The number of available instance types. The scaling group creates spot instances across multiple types at the lowest cost. Valid values: [1,10\\].
1489
1531
  *
1490
1532
  * @example
1491
1533
  * 5
@@ -1493,7 +1535,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1493
1535
  spotInstancePools?: number;
1494
1536
  /**
1495
1537
  * @remarks
1496
- * Specifies whether to enable supplementing of spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
1538
+ * 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:
1497
1539
  *
1498
1540
  * - `true`: Enabled.
1499
1541
  * - `false`: Disabled.
@@ -1522,9 +1564,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1522
1564
  spotStrategy?: string;
1523
1565
  /**
1524
1566
  * @remarks
1525
- * Specifies whether burst (performance burst) is enabled for the node system cloud disk. Valid values:
1526
- * - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure until the workload stabilizes.
1527
- * - false: Disabled.
1567
+ * Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
1568
+ * - true: Enable. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure until the workload stabilizes.
1569
+ * - false: Disable.
1528
1570
  *
1529
1571
  * 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).
1530
1572
  *
@@ -1552,7 +1594,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1552
1594
  systemDiskCategory?: string;
1553
1595
  /**
1554
1596
  * @remarks
1555
- * The encryption algorithm used for the system cloud disk. Valid values: aes-256.
1597
+ * The encryption algorithm for the system cloud disk. Valid values: aes-256.
1556
1598
  *
1557
1599
  * @example
1558
1600
  * aes-256
@@ -1560,7 +1602,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1560
1602
  systemDiskEncryptAlgorithm?: string;
1561
1603
  /**
1562
1604
  * @remarks
1563
- * Specifies whether the system cloud disk is encrypted. Valid values:
1605
+ * Specifies whether to encrypt the system cloud disk. Valid values:
1564
1606
  *
1565
1607
  * - true: Encrypted.
1566
1608
  * - false: Not encrypted.
@@ -1579,11 +1621,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1579
1621
  systemDiskKmsKeyId?: string;
1580
1622
  /**
1581
1623
  * @remarks
1582
- * 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).
1583
- * - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1584
- * - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1585
- * - PL2: high maximum concurrent I/O performance with stable read/write latency.
1586
- * - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
1624
+ * 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).
1625
+ * - PL0: moderate concurrent I/O performance with relatively stable read/write latency.
1626
+ * - PL1: moderate concurrent I/O performance with relatively stable read/write latency.
1627
+ * - PL2: high concurrent I/O performance with stable read/write latency.
1628
+ * - PL3: ultra-high concurrent I/O performance with extremely stable read/write latency.
1587
1629
  *
1588
1630
  * @example
1589
1631
  * PL1
@@ -1591,7 +1633,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1591
1633
  systemDiskPerformanceLevel?: string;
1592
1634
  /**
1593
1635
  * @remarks
1594
- * The provisioned read/write IOPS for the node system cloud disk. This parameter is configured when the disk type is cloud_auto.
1636
+ * The provisioned read/write IOPS for the node system cloud disk. Configure this parameter when the disk type is cloud_auto.
1595
1637
  *
1596
1638
  * @example
1597
1639
  * 1000
@@ -1599,7 +1641,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1599
1641
  systemDiskProvisionedIops?: number;
1600
1642
  /**
1601
1643
  * @remarks
1602
- * The node system cloud disk size, in GiB.
1644
+ * The node system cloud disk size. Unit: GiB.
1603
1645
  *
1604
1646
  * Valid values: [20,2048\\].
1605
1647
  *
@@ -1609,7 +1651,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1609
1651
  systemDiskSize?: number;
1610
1652
  /**
1611
1653
  * @remarks
1612
- * The system cloud disk snapshot policy.
1654
+ * The snapshot policy for the system cloud disk.
1613
1655
  *
1614
1656
  * @example
1615
1657
  * sp-0jl6xnmme8v7o935****
@@ -1631,6 +1673,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1631
1673
  autoRenewPeriod: 'auto_renew_period',
1632
1674
  cisEnabled: 'cis_enabled',
1633
1675
  compensateWithOnDemand: 'compensate_with_on_demand',
1676
+ cpuOptions: 'cpu_options',
1634
1677
  dataDisks: 'data_disks',
1635
1678
  deploymentsetId: 'deploymentset_id',
1636
1679
  desiredSize: 'desired_size',
@@ -1687,6 +1730,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1687
1730
  autoRenewPeriod: 'number',
1688
1731
  cisEnabled: 'boolean',
1689
1732
  compensateWithOnDemand: 'boolean',
1733
+ cpuOptions: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions,
1690
1734
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
1691
1735
  deploymentsetId: 'string',
1692
1736
  desiredSize: 'number',
@@ -1738,6 +1782,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
1738
1782
  }
1739
1783
 
1740
1784
  validate() {
1785
+ if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
1786
+ (this.cpuOptions as any).validate();
1787
+ }
1741
1788
  if(Array.isArray(this.dataDisks)) {
1742
1789
  $dara.Model.validateArray(this.dataDisks);
1743
1790
  }
@@ -1833,13 +1880,13 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
1833
1880
  servingNodes?: number;
1834
1881
  /**
1835
1882
  * @remarks
1836
- * The node pool state. Valid values:
1883
+ * The node pool status. Valid values:
1837
1884
  *
1838
- * - `active`: Active.
1839
- * - `scaling`: Scaling.
1840
- * - `removing`: Removing nodes.
1841
- * - `deleting`: Deleting.
1842
- * - `updating`: Updating.
1885
+ * - `active`: active.
1886
+ * - `scaling`: scaling.
1887
+ * - `removing`: removing nodes.
1888
+ * - `deleting`: deleting.
1889
+ * - `updating`: updating.
1843
1890
  *
1844
1891
  * @example
1845
1892
  * active
@@ -1939,17 +1986,17 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
1939
1986
  efloNodeGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup;
1940
1987
  /**
1941
1988
  * @remarks
1942
- * [This field is deprecated]
1989
+ * [Deprecated]
1943
1990
  *
1944
1991
  * The network configuration for edge node pools. This value is meaningful only for edge-type node pools.
1945
1992
  */
1946
1993
  interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
1947
1994
  /**
1948
1995
  * @remarks
1949
- * The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
1996
+ * The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
1950
1997
  *
1951
1998
  * - `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.
1952
- * - `private`: private network. Nodes in cloud node pool connect to the cloud through leased lines, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
1999
+ * - `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.
1953
2000
  *
1954
2001
  * @example
1955
2002
  * basic
@@ -1962,12 +2009,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
1962
2009
  kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
1963
2010
  /**
1964
2011
  * @remarks
1965
- * The managed node pool configuration. This configuration takes effect only in professional managed clusters.
2012
+ * The managed node pool configuration. This configuration takes effect only in ACK Pro clusters.
1966
2013
  */
1967
2014
  management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
1968
2015
  /**
1969
2016
  * @remarks
1970
- * The maximum number of nodes allowed in the edge node pool. This value must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the total number of nodes the cluster can contain, with no additional limit on the node pool itself). Edge node pools typically have a value greater than 0. ESS-type node pools and default edge-type node pools have a value of 0.
2017
+ * 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.
1971
2018
  *
1972
2019
  * @example
1973
2020
  * 10