@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
@@ -25,9 +25,9 @@ export class NodepoolAutoScaling extends $dara.Model {
25
25
  * @remarks
26
26
  * [This field is deprecated]
27
27
  *
28
- * The billing method of the EIP. Valid values:
28
+ * The billing method for the EIP. Valid values:
29
29
  *
30
- * - `PayByBandwidth`: pay-by-fixed-bandwidth.
30
+ * - `PayByBandwidth`: pay-by-bandwidth.
31
31
  * - `PayByTraffic`: pay-by-data-transfer.
32
32
  *
33
33
  * Default value: PayByBandwidth.
@@ -42,7 +42,7 @@ export class NodepoolAutoScaling extends $dara.Model {
42
42
  * @remarks
43
43
  * Specifies whether to enable auto scaling.
44
44
  *
45
- * - `true`: Enables the auto scaling feature for the node pool.
45
+ * - `true`: Enables auto scaling for the node pool.
46
46
  * - `false`: Disables auto scaling. When set to false, other configuration parameters in `auto_scaling` do not take effect.
47
47
  *
48
48
  * Default value: `false`.
@@ -141,9 +141,9 @@ export class NodepoolAutoScaling extends $dara.Model {
141
141
  export class NodepoolInterconnectConfig extends $dara.Model {
142
142
  /**
143
143
  * @remarks
144
- * 【该字段已废弃】
144
+ * **This field is deprecated.**
145
145
  *
146
- * 边缘增强型节点池的网络带宽,单位:Mbps。
146
+ * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
147
147
  *
148
148
  * @example
149
149
  * 10
@@ -153,9 +153,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
153
153
  bandwidth?: number;
154
154
  /**
155
155
  * @remarks
156
- * 【该字段已废弃】
156
+ * **This field is deprecated.**
157
157
  *
158
- * 边缘增强型节点池绑定的云连接网实例ID(CCNID)。
158
+ * The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
159
159
  *
160
160
  * @example
161
161
  * ccn-qm5i0i0q9yi*******
@@ -165,9 +165,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
165
165
  ccnId?: string;
166
166
  /**
167
167
  * @remarks
168
- * 【该字段已废弃】
168
+ * **This field is deprecated.**
169
169
  *
170
- * 边缘增强型节点池绑定的云连接网实例所属的地域。
170
+ * The region of the Cloud Connect Network (CCN) instance bound to the enhanced edge node pool.
171
171
  *
172
172
  * @example
173
173
  * cn-shanghai
@@ -177,9 +177,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
177
177
  ccnRegionId?: string;
178
178
  /**
179
179
  * @remarks
180
- * 【该字段已废弃】
180
+ * **This field is deprecated.**
181
181
  *
182
- * 边缘增强型节点池绑定的云企业网实例ID(CENID)。
182
+ * The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
183
183
  *
184
184
  * @example
185
185
  * cen-ey9k9nfhz0f*******
@@ -189,9 +189,9 @@ export class NodepoolInterconnectConfig extends $dara.Model {
189
189
  cenId?: string;
190
190
  /**
191
191
  * @remarks
192
- * 【该字段已废弃】
192
+ * **This field is deprecated.**
193
193
  *
194
- * 边缘增强型节点池的购买时长,单位:月。
194
+ * The purchase duration of the enhanced edge node pool. Unit: months.
195
195
  *
196
196
  * @example
197
197
  * 1
@@ -257,7 +257,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
257
257
  cpuPolicy?: string;
258
258
  /**
259
259
  * @remarks
260
- * The node labels. Adds labels to Kubernetes cluster nodes.
260
+ * The node labels. Adds labels to the nodes in the Kubernetes cluster.
261
261
  */
262
262
  labels?: Tag[];
263
263
  /**
@@ -265,7 +265,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
265
265
  * The node name consists of three parts: prefix + node IP + suffix:
266
266
  *
267
267
  * - 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.
268
- * - The node IP is the complete private IP address of the node.
268
+ * - The node IP is the full private IP address of the node.
269
269
  *
270
270
  * The parameter contains four parts separated by commas. For example, if you pass in the string "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
271
271
  *
@@ -277,7 +277,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
277
277
  * @remarks
278
278
  * The container runtime. Valid values:
279
279
  * - `containerd`: Recommended. Supports all cluster versions.
280
- * - `Sandboxed-Container.runv`: Sandboxed container that provides higher isolation. Supports clusters of version 1.24 or earlier.
280
+ * - `Sandboxed-Container.runv`: Sandboxed container. Provides higher isolation. Supports clusters of version 1.24 or earlier.
281
281
  * - `docker`: Supports clusters of version 1.22 or earlier.
282
282
  *
283
283
  * Default value: `containerd`
@@ -353,6 +353,16 @@ export class NodepoolKubernetesConfig extends $dara.Model {
353
353
  }
354
354
 
355
355
  export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
356
+ /**
357
+ * @example
358
+ * 5
359
+ */
360
+ maxParallelRepairingNodes?: string;
361
+ /**
362
+ * @example
363
+ * 20%
364
+ */
365
+ maxUnhealthyNodesThreshold?: string;
356
366
  /**
357
367
  * @remarks
358
368
  * Specifies whether to allow node restart.
@@ -363,12 +373,16 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
363
373
  restartNode?: boolean;
364
374
  static names(): { [key: string]: string } {
365
375
  return {
376
+ maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
377
+ maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
366
378
  restartNode: 'restart_node',
367
379
  };
368
380
  }
369
381
 
370
382
  static types(): { [key: string]: any } {
371
383
  return {
384
+ maxParallelRepairingNodes: 'string',
385
+ maxUnhealthyNodesThreshold: 'string',
372
386
  restartNode: 'boolean',
373
387
  };
374
388
  }
@@ -385,7 +399,7 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
385
399
  export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
386
400
  /**
387
401
  * @remarks
388
- * 是否允许自动升级kubelet。
402
+ * Specifies whether to allow automatic kubelet upgrade.
389
403
  *
390
404
  * @example
391
405
  * true
@@ -423,7 +437,7 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
423
437
  restartNode?: boolean;
424
438
  /**
425
439
  * @remarks
426
- * 允许自动修复的漏洞级别,以逗号分隔。
440
+ * The vulnerability levels that are allowed for automatic fix, separated by commas.
427
441
  *
428
442
  * @example
429
443
  * asap,nntf
@@ -457,8 +471,8 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
457
471
  * @remarks
458
472
  * Specifies whether to enable auto upgrade. Valid values:
459
473
  *
460
- * - `true`: Enables auto upgrade.
461
- * - `false`: Disables auto upgrade.
474
+ * - `true`: Enable auto upgrade.
475
+ * - `false`: Disable auto upgrade.
462
476
  *
463
477
  * @example
464
478
  * false
@@ -484,7 +498,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
484
498
  surge?: number;
485
499
  /**
486
500
  * @remarks
487
- * The extra node percentage. Specify either this parameter or `surge`.
501
+ * The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
488
502
  *
489
503
  * @example
490
504
  * 0
@@ -518,13 +532,17 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
518
532
  }
519
533
 
520
534
  export class NodepoolManagement extends $dara.Model {
535
+ /**
536
+ * @remarks
537
+ * Specifies whether to enable node self-healing ECS fault detection.
538
+ */
521
539
  autoFaultDiagnosis?: boolean;
522
540
  /**
523
541
  * @remarks
524
- * Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
542
+ * Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
525
543
  *
526
- * - `true`: Enables auto repair.
527
- * - `false`: Disables auto repair.
544
+ * - `true`: Enable automatic repair.
545
+ * - `false`: Disable automatic repair.
528
546
  *
529
547
  * @example
530
548
  * false
@@ -537,7 +555,7 @@ export class NodepoolManagement extends $dara.Model {
537
555
  autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
538
556
  /**
539
557
  * @remarks
540
- * 是否自动升级。
558
+ * Specifies whether to enable auto upgrade.
541
559
  *
542
560
  * @example
543
561
  * true
@@ -545,13 +563,12 @@ export class NodepoolManagement extends $dara.Model {
545
563
  autoUpgrade?: boolean;
546
564
  /**
547
565
  * @remarks
548
- * 自动升级策略。
566
+ * The auto upgrade policy.
549
567
  */
550
568
  autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
551
569
  /**
552
570
  * @remarks
553
571
  * Specifies whether to automatically fix CVEs.
554
- * [properties.management.properties.auto_v
555
572
  *
556
573
  * @example
557
574
  * true
@@ -559,16 +576,20 @@ export class NodepoolManagement extends $dara.Model {
559
576
  autoVulFix?: boolean;
560
577
  /**
561
578
  * @remarks
562
- * 自动修复CVE策略。
579
+ * The auto CVE fix policy.
563
580
  */
564
581
  autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
582
+ /**
583
+ * @remarks
584
+ * Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
585
+ */
565
586
  driftEnabled?: boolean;
566
587
  /**
567
588
  * @remarks
568
589
  * Specifies whether to enable the managed node pool. Valid values:
569
590
  *
570
- * - `true`: Enables the managed node pool.
571
- * - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
591
+ * - `true`: Enable the managed node pool.
592
+ * - `false`: Do not enable the managed node pool. Other related configurations take effect only when `enable=true`.
572
593
  *
573
594
  * @example
574
595
  * false
@@ -635,7 +656,7 @@ export class NodepoolManagement extends $dara.Model {
635
656
  export class NodepoolNodeComponentsConfig extends $dara.Model {
636
657
  /**
637
658
  * @remarks
638
- * 节点组件自定义配置。
659
+ * The custom node component configuration.
639
660
  *
640
661
  * @example
641
662
  * {"cpuManagerPolicy":"static"}
@@ -668,12 +689,12 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
668
689
  export class NodepoolNodeComponents extends $dara.Model {
669
690
  /**
670
691
  * @remarks
671
- * 节点组件配置。
692
+ * The node component configuration.
672
693
  */
673
694
  config?: NodepoolNodeComponentsConfig;
674
695
  /**
675
696
  * @remarks
676
- * 节点组件名称。
697
+ * The node component name.
677
698
  *
678
699
  * @example
679
700
  * kubelet
@@ -681,7 +702,7 @@ export class NodepoolNodeComponents extends $dara.Model {
681
702
  name?: string;
682
703
  /**
683
704
  * @remarks
684
- * 节点组件版本
705
+ * The node component version.
685
706
  *
686
707
  * @example
687
708
  * 1.33.3-aliyun.1
@@ -718,7 +739,7 @@ export class NodepoolNodeComponents extends $dara.Model {
718
739
  export class NodepoolNodeConfig extends $dara.Model {
719
740
  /**
720
741
  * @remarks
721
- * Kubelet参数配置。
742
+ * The Kubelet parameter settings.
722
743
  */
723
744
  kubeletConfiguration?: KubeletConfig;
724
745
  static names(): { [key: string]: string } {
@@ -758,7 +779,7 @@ export class NodepoolNodepoolInfo extends $dara.Model {
758
779
  name?: string;
759
780
  /**
760
781
  * @remarks
761
- * The resource group ID of the node pool.
782
+ * The ID of the resource group to which the node pool belongs.
762
783
  *
763
784
  * @example
764
785
  * rg-acfmyvw3wjm****
@@ -800,10 +821,42 @@ export class NodepoolNodepoolInfo extends $dara.Model {
800
821
  }
801
822
  }
802
823
 
824
+ export class NodepoolScalingGroupCpuOptions extends $dara.Model {
825
+ /**
826
+ * @remarks
827
+ * Specifies whether to enable nested virtualization. Valid values:
828
+ * disabled: Disable nested virtualization.
829
+ * enabled: Enable nested virtualization.
830
+ *
831
+ * @example
832
+ * enabled
833
+ */
834
+ nestedVirtualization?: string;
835
+ static names(): { [key: string]: string } {
836
+ return {
837
+ nestedVirtualization: 'nested_virtualization',
838
+ };
839
+ }
840
+
841
+ static types(): { [key: string]: any } {
842
+ return {
843
+ nestedVirtualization: 'string',
844
+ };
845
+ }
846
+
847
+ validate() {
848
+ super.validate();
849
+ }
850
+
851
+ constructor(map?: { [key: string]: any }) {
852
+ super(map);
853
+ }
854
+ }
855
+
803
856
  export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
804
857
  /**
805
858
  * @remarks
806
- * The private pool ID.
859
+ * The private node pool ID.
807
860
  *
808
861
  * @example
809
862
  * eap-bp67acfmxazb4****
@@ -811,13 +864,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
811
864
  id?: string;
812
865
  /**
813
866
  * @remarks
814
- * The private pool type. 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:
867
+ * The private node pool type. The private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance startup. Valid values:
815
868
  *
816
- * - `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.
869
+ * - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for instance startup.
817
870
  *
818
- * - `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.
871
+ * - `Target`: targeted mode. Uses the specified private pool capacity for instance startup. If the specified private pool capacity is unavailable, the instance fails to start.
819
872
  *
820
- * - `None`: None mode. The instance launch does not use private pool capacity.
873
+ * - `None`: none mode. The instance does not use private pool capacity for startup.
821
874
  *
822
875
  * @example
823
876
  * Open
@@ -854,10 +907,10 @@ export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
854
907
  privatePoolIds?: string[];
855
908
  /**
856
909
  * @remarks
857
- * The resource pool policy used when creating instances. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, for instances to select during launch. Valid values:
858
- * PrivatePoolFirst: Private pool first. When this policy is selected and resource_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used to create instances.
859
- * PrivatePoolOnly: Private pool only. When this policy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, the instance fails to launch.
860
- * None: No resource pool policy is used.
910
+ * The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance startup. Valid values:
911
+ * PrivatePoolFirst: private pool first. When this policy is selected and resource_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used.
912
+ * PrivatePoolOnly: private pool only. When this policy is selected, resource_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, the instance fails to start.
913
+ * None: no resource pool policy.
861
914
  * Default value: None.
862
915
  *
863
916
  * @example
@@ -901,7 +954,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
901
954
  instanceType?: string;
902
955
  /**
903
956
  * @remarks
904
- * The maximum price for a single instance.
957
+ * The maximum price per instance.
905
958
  *
906
959
  * @example
907
960
  * 0.39
@@ -986,7 +1039,7 @@ export class NodepoolScalingGroup extends $dara.Model {
986
1039
  autoRenew?: boolean;
987
1040
  /**
988
1041
  * @remarks
989
- * The auto-renewal period of the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
1042
+ * The auto-renewal epoch for the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
990
1043
  *
991
1044
  * When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
992
1045
  *
@@ -998,15 +1051,20 @@ export class NodepoolScalingGroup extends $dara.Model {
998
1051
  autoRenewPeriod?: number;
999
1052
  /**
1000
1053
  * @remarks
1001
- * 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 price or inventory reasons. Valid values:
1054
+ * 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 price or inventory reasons. Valid values:
1002
1055
  *
1003
- * - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
1004
- * - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
1056
+ * - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
1057
+ * - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
1005
1058
  *
1006
1059
  * @example
1007
1060
  * true
1008
1061
  */
1009
1062
  compensateWithOnDemand?: boolean;
1063
+ /**
1064
+ * @remarks
1065
+ * The CPU configuration options.
1066
+ */
1067
+ cpuOptions?: NodepoolScalingGroupCpuOptions;
1010
1068
  /**
1011
1069
  * @remarks
1012
1070
  * The data cloud disk configuration for nodes in the node pool.
@@ -1043,7 +1101,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1043
1101
  imageId?: string;
1044
1102
  /**
1045
1103
  * @remarks
1046
- * The operating system image type. Specify either this parameter or the platform parameter. Valid values:
1104
+ * The operating system image type. Specify either this parameter or platform. Valid values:
1047
1105
  *
1048
1106
  * - `AliyunLinux`: Alinux2 image.
1049
1107
  * - `AliyunLinux3`: Alinux3 image.
@@ -1075,8 +1133,8 @@ export class NodepoolScalingGroup extends $dara.Model {
1075
1133
  instanceChargeType?: string;
1076
1134
  /**
1077
1135
  * @remarks
1078
- * The ECS instance metadata access configuration.
1079
- * This parameter is currently available only to accounts on the whitelist. Submit a ticket to apply.
1136
+ * The metadata access configuration for ECS instances.
1137
+ * This parameter is currently available only to accounts on the whitelist. Submit a ticket to request access.
1080
1138
  */
1081
1139
  instanceMetadataOptions?: InstanceMetadataOptions;
1082
1140
  /**
@@ -1090,7 +1148,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1090
1148
  * @remarks
1091
1149
  * The billing method for public IP addresses. Valid values:
1092
1150
  *
1093
- * - `PayByBandwidth`: pay-by-fixed-bandwidth.
1151
+ * - `PayByBandwidth`: pay-by-bandwidth.
1094
1152
  * - `PayByTraffic`: pay-by-data-transfer.
1095
1153
  *
1096
1154
  * @example
@@ -1109,7 +1167,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1109
1167
  * @remarks
1110
1168
  * The key pair name. Specify either this parameter or `login_password`.
1111
1169
  *
1112
- * > If you create a managed node pool, only `key_pair` is supported.
1170
+ * > For managed node pools, only `key_pair` is supported.
1113
1171
  *
1114
1172
  * @example
1115
1173
  * np-key
@@ -1117,7 +1175,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1117
1175
  keyPair?: string;
1118
1176
  /**
1119
1177
  * @remarks
1120
- * Specifies whether to use a non-root user to log on to scaled-out ECS instances.
1178
+ * Specifies whether scaled-out ECS instances log on as a non-root user.
1121
1179
  */
1122
1180
  loginAsNonRoot?: boolean;
1123
1181
  /**
@@ -1134,11 +1192,11 @@ export class NodepoolScalingGroup extends $dara.Model {
1134
1192
  *
1135
1193
  * - `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 to create ECS instances.
1136
1194
  *
1137
- * - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
1195
+ * - `COST_OPTIMIZED`: Attempts to create instances in order of ascending vCPU unit price. When the scaling configuration sets the spot billing method for multiple instance types, 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.
1138
1196
  *
1139
- * >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
1197
+ * >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
1140
1198
  *
1141
- * - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory or other reasons, you can use the API RebalanceInstances to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
1199
+ * - `BALANCE`: Distributes ECS instances evenly across the active zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the RebalanceInstances operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
1142
1200
  *
1143
1201
  * Default value: `PRIORITY`.
1144
1202
  *
@@ -1148,7 +1206,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1148
1206
  multiAzPolicy?: string;
1149
1207
  /**
1150
1208
  * @remarks
1151
- * The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
1209
+ * The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are created first.
1152
1210
  *
1153
1211
  * @example
1154
1212
  * 0
@@ -1174,9 +1232,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1174
1232
  period?: number;
1175
1233
  /**
1176
1234
  * @remarks
1177
- * The subscription period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
1235
+ * The billing period unit for nodes in the node pool. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
1178
1236
  *
1179
- * `Month`: Currently only month is supported as the unit.
1237
+ * `Month`: Currently, only monthly billing is supported.
1180
1238
  *
1181
1239
  * @example
1182
1240
  * Month
@@ -1201,7 +1259,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1201
1259
  platform?: string;
1202
1260
  /**
1203
1261
  * @remarks
1204
- * The private pool configuration.
1262
+ * The private node pool configuration.
1205
1263
  */
1206
1264
  privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
1207
1265
  /**
@@ -1229,8 +1287,8 @@ export class NodepoolScalingGroup extends $dara.Model {
1229
1287
  * @remarks
1230
1288
  * The scaling group mode. Valid values:
1231
1289
  *
1232
- * - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
1233
- * - `recycle`: rapid mode. Scales by creating, stopping, and starting instances to improve the speed of subsequent scaling operations (compute resources are not charged during stop, only storage fees are charged, except for local disk instance types).
1290
+ * - `release`: standard mode. Scales in or out by creating or releasing ECS instances based on resource usage.
1291
+ * - `recycle`: swift mode. Scales in or out by creating, stopping, or starting ECS instances, which improves the speed of subsequent scaling operations. (Stopped instances are not charged for compute resources, but storage fees still apply, except for instances with local disks.)
1234
1292
  *
1235
1293
  * Default value: `release`.
1236
1294
  *
@@ -1240,7 +1298,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1240
1298
  scalingPolicy?: string;
1241
1299
  /**
1242
1300
  * @remarks
1243
- * The security group ID of the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
1301
+ * The security group ID for the node pool. Specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
1244
1302
  *
1245
1303
  * @example
1246
1304
  * sg-2zeihch86ooz9io4****
@@ -1261,10 +1319,10 @@ export class NodepoolScalingGroup extends $dara.Model {
1261
1319
  spotInstancePools?: number;
1262
1320
  /**
1263
1321
  * @remarks
1264
- * 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 upon receiving a system notification. Valid values:
1322
+ * Specifies whether to enable spot instance supplementation. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
1265
1323
  *
1266
- * - `true`: Enables supplementing spot instances.
1267
- * - `false`: Disables supplementing spot instances.
1324
+ * - `true`: Enables spot instance supplementation.
1325
+ * - `false`: Disables spot instance supplementation.
1268
1326
  *
1269
1327
  * @example
1270
1328
  * false
@@ -1295,7 +1353,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1295
1353
  * - true: Enabled.
1296
1354
  * - false: Disabled.
1297
1355
  *
1298
- * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
1356
+ * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
1299
1357
  *
1300
1358
  * @example
1301
1359
  * true
@@ -1303,7 +1361,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1303
1361
  systemDiskBurstingEnabled?: boolean;
1304
1362
  /**
1305
1363
  * @remarks
1306
- * Multiple cloud disk types for the system cloud disk. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk. Valid values:
1364
+ * The multiple cloud disk types for the system cloud disk. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk. Valid values:
1307
1365
  *
1308
1366
  * - cloud: basic cloud disk.
1309
1367
  * - cloud_efficiency: ultra cloud disk.
@@ -1313,7 +1371,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1313
1371
  systemDiskCategories?: string[];
1314
1372
  /**
1315
1373
  * @remarks
1316
- * The system cloud disk type for nodes. Valid values:
1374
+ * The type of the system cloud disk for nodes. Valid values:
1317
1375
  *
1318
1376
  * - `cloud_efficiency`: ultra cloud disk.
1319
1377
  * - `cloud_ssd`: standard SSD.
@@ -1342,7 +1400,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1342
1400
  systemDiskEncrypted?: boolean;
1343
1401
  /**
1344
1402
  * @remarks
1345
- * The KMS key ID used for the node system cloud disk.
1403
+ * The KMS key ID used by the node system cloud disk.
1346
1404
  *
1347
1405
  * @example
1348
1406
  * 0e478b7a-4262-4802-b8cb-00d3fb40****
@@ -1350,7 +1408,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1350
1408
  systemDiskKmsKeyId?: string;
1351
1409
  /**
1352
1410
  * @remarks
1353
- * The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks.
1411
+ * The performance level of the system cloud disk for nodes. Applies only to ESSD cloud disks.
1354
1412
  *
1355
1413
  * - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1356
1414
  * - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
@@ -1363,9 +1421,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1363
1421
  systemDiskPerformanceLevel?: string;
1364
1422
  /**
1365
1423
  * @remarks
1366
- * The provisioned read/write IOPS for the node system cloud disk. Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
1424
+ * The provisioned read/write IOPS for the node system cloud disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
1367
1425
  *
1368
- * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
1426
+ * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disk](https://help.aliyun.com/document_detail/368372.html).
1369
1427
  *
1370
1428
  * @example
1371
1429
  * 1000
@@ -1373,7 +1431,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1373
1431
  systemDiskProvisionedIops?: number;
1374
1432
  /**
1375
1433
  * @remarks
1376
- * The node system cloud disk size. Unit: GiB.
1434
+ * The size of the system cloud disk for nodes. Unit: GiB.
1377
1435
  *
1378
1436
  * Valid values: [40,500].
1379
1437
  *
@@ -1383,7 +1441,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1383
1441
  systemDiskSize?: number;
1384
1442
  /**
1385
1443
  * @remarks
1386
- * Adds tags only to ECS instances.
1444
+ * The tags that are added only to ECS instances.
1387
1445
  *
1388
1446
  * Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
1389
1447
  */
@@ -1400,6 +1458,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1400
1458
  autoRenew: 'auto_renew',
1401
1459
  autoRenewPeriod: 'auto_renew_period',
1402
1460
  compensateWithOnDemand: 'compensate_with_on_demand',
1461
+ cpuOptions: 'cpu_options',
1403
1462
  dataDisks: 'data_disks',
1404
1463
  deploymentsetId: 'deploymentset_id',
1405
1464
  desiredSize: 'desired_size',
@@ -1450,6 +1509,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1450
1509
  autoRenew: 'boolean',
1451
1510
  autoRenewPeriod: 'number',
1452
1511
  compensateWithOnDemand: 'boolean',
1512
+ cpuOptions: NodepoolScalingGroupCpuOptions,
1453
1513
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
1454
1514
  deploymentsetId: 'string',
1455
1515
  desiredSize: 'number',
@@ -1496,6 +1556,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1496
1556
  }
1497
1557
 
1498
1558
  validate() {
1559
+ if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
1560
+ (this.cpuOptions as any).validate();
1561
+ }
1499
1562
  if(Array.isArray(this.dataDisks)) {
1500
1563
  $dara.Model.validateArray(this.dataDisks);
1501
1564
  }
@@ -1543,7 +1606,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1543
1606
  export class NodepoolTeeConfig extends $dara.Model {
1544
1607
  /**
1545
1608
  * @remarks
1546
- * Specifies whether this is a confidential computing node pool.
1609
+ * Specifies whether the node pool is a confidential computing node pool.
1547
1610
  *
1548
1611
  * This parameter is required.
1549
1612
  *
@@ -1575,12 +1638,12 @@ export class NodepoolTeeConfig extends $dara.Model {
1575
1638
  export class Nodepool extends $dara.Model {
1576
1639
  /**
1577
1640
  * @remarks
1578
- * The auto scaling configuration of the node pool.
1641
+ * The auto scaling configuration for the node pool.
1579
1642
  */
1580
1643
  autoScaling?: NodepoolAutoScaling;
1581
1644
  /**
1582
1645
  * @remarks
1583
- * [This field is deprecated. Use desired_size instead.]
1646
+ * **This field is deprecated. Use desired_size instead.**
1584
1647
  *
1585
1648
  * The number of nodes in the node pool.
1586
1649
  *
@@ -1592,7 +1655,7 @@ export class Nodepool extends $dara.Model {
1592
1655
  count?: number;
1593
1656
  /**
1594
1657
  * @remarks
1595
- * [This field is deprecated.]
1658
+ * **This field is deprecated.**
1596
1659
  *
1597
1660
  * The edge node pool configuration.
1598
1661
  *
@@ -1601,10 +1664,10 @@ export class Nodepool extends $dara.Model {
1601
1664
  interconnectConfig?: NodepoolInterconnectConfig;
1602
1665
  /**
1603
1666
  * @remarks
1604
- * The network type of the edge node pool. This value is valid only for node pools whose `type` is `edge`. Valid values:
1667
+ * The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
1605
1668
  *
1606
- * - `basic`: basic.
1607
- * - `private`: dedicated. Supported in version 1.22 and later.
1669
+ * - `basic`: Basic.
1670
+ * - `private`: Dedicated. Supported in version 1.22 and later.
1608
1671
  *
1609
1672
  * @example
1610
1673
  * basic
@@ -1622,7 +1685,7 @@ export class Nodepool extends $dara.Model {
1622
1685
  management?: NodepoolManagement;
1623
1686
  /**
1624
1687
  * @remarks
1625
- * 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 (the node pool is limited only by the maximum number of nodes that the cluster can accommodate). For edge node pools, this value is typically greater than 0. For ESS-type node pools and default edge-type node pools, this value is 0.
1688
+ * 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.
1626
1689
  *
1627
1690
  * @example
1628
1691
  * 10
@@ -1630,7 +1693,7 @@ export class Nodepool extends $dara.Model {
1630
1693
  maxNodes?: number;
1631
1694
  /**
1632
1695
  * @remarks
1633
- * The list of node components.
1696
+ * The node component list.
1634
1697
  */
1635
1698
  nodeComponents?: NodepoolNodeComponents[];
1636
1699
  /**
@@ -1645,7 +1708,7 @@ export class Nodepool extends $dara.Model {
1645
1708
  nodepoolInfo?: NodepoolNodepoolInfo;
1646
1709
  /**
1647
1710
  * @remarks
1648
- * The scaling group configuration of the node pool.
1711
+ * The scaling group configuration for the node pool.
1649
1712
  */
1650
1713
  scalingGroup?: NodepoolScalingGroup;
1651
1714
  /**