@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.
Files changed (45) hide show
  1. package/dist/client.d.ts +50 -28
  2. package/dist/client.js +53 -28
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
  5. package/dist/models/CreateClusterNodePoolRequest.js +31 -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 +119 -91
  15. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
  16. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  17. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
  18. package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
  19. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  20. package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
  21. package/dist/models/ModifyClusterNodePoolRequest.js +6 -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 +266 -220
  28. package/dist/models/Nodepool.js +31 -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 +54 -28
  35. package/src/models/CreateClusterNodePoolRequest.ts +155 -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 +140 -91
  40. package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
  41. package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
  42. package/src/models/ModifyClusterRequest.ts +170 -112
  43. package/src/models/ModifyClusterResponseBody.ts +3 -3
  44. package/src/models/Nodepool.ts +287 -220
  45. package/src/models/model.ts +7 -0
@@ -11,9 +11,9 @@ import { Taint } from "./Taint";
11
11
  export class NodepoolAutoScaling extends $dara.Model {
12
12
  /**
13
13
  * @remarks
14
- * 【该字段已废弃】
14
+ * [This field is deprecated]
15
15
  *
16
- * EIP带宽峰值。单位:Mbps。
16
+ * The peak bandwidth of the EIP. Unit: Mbit/s.
17
17
  *
18
18
  * @example
19
19
  * 5
@@ -23,14 +23,14 @@ export class NodepoolAutoScaling extends $dara.Model {
23
23
  eipBandwidth?: number;
24
24
  /**
25
25
  * @remarks
26
- * 【该字段已废弃】
26
+ * [This field is deprecated]
27
27
  *
28
- * EIP计费类型,取值:
28
+ * The billing method for the EIP. Valid values:
29
29
  *
30
- * - `PayByBandwidth`:按固定带宽计费。
31
- * - `PayByTraffic`:按使用流量计费。
30
+ * - `PayByBandwidth`: pay-by-bandwidth.
31
+ * - `PayByTraffic`: pay-by-data-transfer.
32
32
  *
33
- * 默认值:PayByBandwidth。
33
+ * Default value: PayByBandwidth.
34
34
  *
35
35
  * @example
36
36
  * PayByBandwidth
@@ -40,12 +40,12 @@ export class NodepoolAutoScaling extends $dara.Model {
40
40
  eipInternetChargeType?: string;
41
41
  /**
42
42
  * @remarks
43
- * 是否启用自动伸缩。
43
+ * Specifies whether to enable auto scaling.
44
44
  *
45
- * - `true`:开启节点池自动伸缩功能。
46
- * - `false`:不开启自动伸缩,当取值为false时,`auto_scaling`内的其他配置参数将不生效。
45
+ * - `true`: Enables auto scaling for the node pool.
46
+ * - `false`: Disables auto scaling. When set to false, other configuration parameters in `auto_scaling` do not take effect.
47
47
  *
48
- * 默认值:`false`。
48
+ * Default value: `false`.
49
49
  *
50
50
  * This parameter is required.
51
51
  *
@@ -55,14 +55,14 @@ export class NodepoolAutoScaling extends $dara.Model {
55
55
  enable?: boolean;
56
56
  /**
57
57
  * @remarks
58
- * 【该字段已废弃】
58
+ * [This field is deprecated]
59
59
  *
60
- * 是否绑定EIP,取值:
60
+ * Specifies whether to associate an EIP. Valid values:
61
61
  *
62
- * - `true`:绑定EIP。
63
- * - `false`:不绑定EIP。
62
+ * - `true`: Associates an EIP.
63
+ * - `false`: Does not associate an EIP.
64
64
  *
65
- * 默认值:`false`。
65
+ * Default value: `false`.
66
66
  *
67
67
  * @example
68
68
  * true
@@ -72,7 +72,7 @@ export class NodepoolAutoScaling extends $dara.Model {
72
72
  isBondEip?: boolean;
73
73
  /**
74
74
  * @remarks
75
- * 自动伸缩组最大实例数。
75
+ * The maximum number of instances in the auto scaling group.
76
76
  *
77
77
  * This parameter is required.
78
78
  *
@@ -82,7 +82,7 @@ export class NodepoolAutoScaling extends $dara.Model {
82
82
  maxInstances?: number;
83
83
  /**
84
84
  * @remarks
85
- * 自动伸缩组最小实例数。
85
+ * The minimum number of instances in the auto scaling group.
86
86
  *
87
87
  * This parameter is required.
88
88
  *
@@ -92,14 +92,14 @@ export class NodepoolAutoScaling extends $dara.Model {
92
92
  minInstances?: number;
93
93
  /**
94
94
  * @remarks
95
- * 自动伸缩类型,按照自动伸缩实例类型划分。取值:
95
+ * The auto scaling type, classified by instance type. Valid values:
96
96
  *
97
- * - `cpu`:普通实例型。
98
- * - `gpu`:GPU实例型。
99
- * - `gpushare`:GPU共享型。
100
- * - `spot`:抢占式实例型。
97
+ * - `cpu`: regular instance type.
98
+ * - `gpu`: GPU instance type.
99
+ * - `gpushare`: GPU shared type.
100
+ * - `spot`: spot instance type.
101
101
  *
102
- * 默认值:`cpu`。
102
+ * Default value: `cpu`.
103
103
  *
104
104
  * @example
105
105
  * cpu
@@ -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
@@ -231,12 +231,12 @@ export class NodepoolInterconnectConfig extends $dara.Model {
231
231
  export class NodepoolKubernetesConfig extends $dara.Model {
232
232
  /**
233
233
  * @remarks
234
- * 是否在ECS节点上安装云监控,安装后可以在云监控控制台查看所创建ECS实例的监控信息,推荐开启。取值:
234
+ * 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:
235
235
  *
236
- * - `true`:在ECS节点上安装云监控。
237
- * - `false`:不在ECS节点上安装云监控。
236
+ * - `true`: Installs the CloudMonitor agent on ECS nodes.
237
+ * - `false`: Does not install the CloudMonitor agent on ECS nodes.
238
238
  *
239
- * 默认值:`false`。
239
+ * Default value: `false`.
240
240
  *
241
241
  * @example
242
242
  * true
@@ -244,12 +244,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
244
244
  cmsEnabled?: boolean;
245
245
  /**
246
246
  * @remarks
247
- * 节点CPU管理策略。当集群版本在1.12.6及以上时支持以下两种策略:
247
+ * The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
248
248
  *
249
- * - `static`:允许为节点上具有某些资源特征Pod增强其CPU亲和性和独占性。
250
- * - `none`:表示启用现有的默认CPU亲和性方案。
249
+ * - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
250
+ * - `none`: Enables the existing default CPU affinity scheme.
251
251
  *
252
- * 默认值:`none`。
252
+ * Default value: `none`.
253
253
  *
254
254
  * @example
255
255
  * none
@@ -257,17 +257,17 @@ export class NodepoolKubernetesConfig extends $dara.Model {
257
257
  cpuPolicy?: string;
258
258
  /**
259
259
  * @remarks
260
- * 节点标签,为Kubernetes集群节点添加标签。
260
+ * The node labels. Adds labels to the nodes in the Kubernetes cluster.
261
261
  */
262
262
  labels?: Tag[];
263
263
  /**
264
264
  * @remarks
265
- * 节点名称由三部分组成:前缀 + 节点 IP + 后缀:
265
+ * The node name consists of three parts: prefix + node IP + suffix:
266
266
  *
267
- * - 前缀和后缀均可由“.”分隔的一个或多个部分构成,每个部分可以使用小写字母、数字和“-”,节点名称首尾必须为小写字母和数字;
268
- * - 节点 IP为完整的节点私网 IP 地址;
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 full private IP address of the node.
269
269
  *
270
- * 传参包含四个部分,由逗号分隔,例如:参数传入"customized,aliyun,ip,com"字符串(其中“customized”和"ip"为固定的字符串,aliyun为前缀,com为后缀),则节点的名称为:aliyun.192.168.xxx.xxx.com。
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
  *
272
272
  * @example
273
273
  * customized,aliyun,ip,com
@@ -275,12 +275,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
275
275
  nodeNameMode?: string;
276
276
  /**
277
277
  * @remarks
278
- * 容器运行时。取值:
279
- * - `containerd`:推荐使用,支持所有集群版本。
280
- * - `Sandboxed-Container.runv`:安全沙箱容器,提供更高的隔离性,支持1.24版本及以下集群。
281
- * - `docker`:支持1.22版本及以下集群。
278
+ * The container runtime. Valid values:
279
+ * - `containerd`: Recommended. Supports all cluster versions.
280
+ * - `Sandboxed-Container.runv`: Sandboxed container. Provides higher isolation. Supports clusters of version 1.24 or earlier.
281
+ * - `docker`: Supports clusters of version 1.22 or earlier.
282
282
  *
283
- * 默认值:`containerd`
283
+ * Default value: `containerd`
284
284
  *
285
285
  * This parameter is required.
286
286
  *
@@ -290,7 +290,7 @@ export class NodepoolKubernetesConfig extends $dara.Model {
290
290
  runtime?: string;
291
291
  /**
292
292
  * @remarks
293
- * 容器运行时版本。
293
+ * The container runtime version.
294
294
  *
295
295
  * This parameter is required.
296
296
  *
@@ -300,12 +300,12 @@ export class NodepoolKubernetesConfig extends $dara.Model {
300
300
  runtimeVersion?: string;
301
301
  /**
302
302
  * @remarks
303
- * 污点配置。
303
+ * The taint configuration.
304
304
  */
305
305
  taints?: Taint[];
306
306
  /**
307
307
  * @remarks
308
- * 节点自定义数据。
308
+ * The node custom data.
309
309
  *
310
310
  * @example
311
311
  * MXM=
@@ -353,9 +353,19 @@ 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.
359
369
  *
360
370
  * @example
361
371
  * true
@@ -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
@@ -415,7 +429,7 @@ export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
415
429
  export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
416
430
  /**
417
431
  * @remarks
418
- * 是否允许重启节点。
432
+ * Specifies whether to allow node restart.
419
433
  *
420
434
  * @example
421
435
  * 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
@@ -455,10 +469,10 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
455
469
  export class NodepoolManagementUpgradeConfig extends $dara.Model {
456
470
  /**
457
471
  * @remarks
458
- * 是否启用自动升级,取值:
472
+ * Specifies whether to enable auto upgrade. Valid values:
459
473
  *
460
- * - `true`:启用自动升级。
461
- * - `false`:不启用自动升级。
474
+ * - `true`: Enable auto upgrade.
475
+ * - `false`: Disable auto upgrade.
462
476
  *
463
477
  * @example
464
478
  * false
@@ -466,9 +480,9 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
466
480
  autoUpgrade?: boolean;
467
481
  /**
468
482
  * @remarks
469
- * 最大不可用节点数量,取值范围:[1,1000\\]。
483
+ * The maximum number of unavailable nodes. Valid values: [1,1000\\].
470
484
  *
471
- * 默认值:1。
485
+ * Default value: 1.
472
486
  *
473
487
  * @example
474
488
  * 0
@@ -476,7 +490,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
476
490
  maxUnavailable?: number;
477
491
  /**
478
492
  * @remarks
479
- * 额外节点数量。
493
+ * The number of extra nodes.
480
494
  *
481
495
  * @example
482
496
  * 0
@@ -484,7 +498,7 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
484
498
  surge?: number;
485
499
  /**
486
500
  * @remarks
487
- * 额外节点比例,和`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
- * 自动修复,仅当`enable=true`时生效。
542
+ * Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
525
543
  *
526
- * - `true`:自动修复。
527
- * - `false`:不自动修复。
544
+ * - `true`: Enable automatic repair.
545
+ * - `false`: Disable automatic repair.
528
546
  *
529
547
  * @example
530
548
  * false
@@ -532,12 +550,12 @@ export class NodepoolManagement extends $dara.Model {
532
550
  autoRepair?: boolean;
533
551
  /**
534
552
  * @remarks
535
- * 自动修复节点策略。
553
+ * The auto repair node policy.
536
554
  */
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,12 +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
- * 是否自动修复CVE。
571
+ * Specifies whether to automatically fix CVEs.
554
572
  *
555
573
  * @example
556
574
  * true
@@ -558,15 +576,20 @@ export class NodepoolManagement extends $dara.Model {
558
576
  autoVulFix?: boolean;
559
577
  /**
560
578
  * @remarks
561
- * 自动修复CVE策略。
579
+ * The auto CVE fix policy.
562
580
  */
563
581
  autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
564
582
  /**
565
583
  * @remarks
566
- * 是否开启托管版节点池,取值:
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
+ */
586
+ driftEnabled?: boolean;
587
+ /**
588
+ * @remarks
589
+ * Specifies whether to enable the managed node pool. Valid values:
567
590
  *
568
- * - `true`:开启托管节点池。
569
- * - `false`:不开启托管节点池,只有当`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`.
570
593
  *
571
594
  * @example
572
595
  * false
@@ -574,7 +597,7 @@ export class NodepoolManagement extends $dara.Model {
574
597
  enable?: boolean;
575
598
  /**
576
599
  * @remarks
577
- * 自动升级配置,仅当`enable=true`时生效。
600
+ * The auto upgrade configuration. This parameter takes effect only when `enable=true`.
578
601
  *
579
602
  * @deprecated
580
603
  */
@@ -588,6 +611,7 @@ export class NodepoolManagement extends $dara.Model {
588
611
  autoUpgradePolicy: 'auto_upgrade_policy',
589
612
  autoVulFix: 'auto_vul_fix',
590
613
  autoVulFixPolicy: 'auto_vul_fix_policy',
614
+ driftEnabled: 'drift_enabled',
591
615
  enable: 'enable',
592
616
  upgradeConfig: 'upgrade_config',
593
617
  };
@@ -602,6 +626,7 @@ export class NodepoolManagement extends $dara.Model {
602
626
  autoUpgradePolicy: NodepoolManagementAutoUpgradePolicy,
603
627
  autoVulFix: 'boolean',
604
628
  autoVulFixPolicy: NodepoolManagementAutoVulFixPolicy,
629
+ driftEnabled: 'boolean',
605
630
  enable: 'boolean',
606
631
  upgradeConfig: NodepoolManagementUpgradeConfig,
607
632
  };
@@ -631,7 +656,7 @@ export class NodepoolManagement extends $dara.Model {
631
656
  export class NodepoolNodeComponentsConfig extends $dara.Model {
632
657
  /**
633
658
  * @remarks
634
- * 节点组件自定义配置。
659
+ * The custom node component configuration.
635
660
  *
636
661
  * @example
637
662
  * {"cpuManagerPolicy":"static"}
@@ -664,12 +689,12 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
664
689
  export class NodepoolNodeComponents extends $dara.Model {
665
690
  /**
666
691
  * @remarks
667
- * 节点组件配置。
692
+ * The node component configuration.
668
693
  */
669
694
  config?: NodepoolNodeComponentsConfig;
670
695
  /**
671
696
  * @remarks
672
- * 节点组件名称。
697
+ * The node component name.
673
698
  *
674
699
  * @example
675
700
  * kubelet
@@ -677,7 +702,7 @@ export class NodepoolNodeComponents extends $dara.Model {
677
702
  name?: string;
678
703
  /**
679
704
  * @remarks
680
- * 节点组件版本
705
+ * The node component version.
681
706
  *
682
707
  * @example
683
708
  * 1.33.3-aliyun.1
@@ -714,7 +739,7 @@ export class NodepoolNodeComponents extends $dara.Model {
714
739
  export class NodepoolNodeConfig extends $dara.Model {
715
740
  /**
716
741
  * @remarks
717
- * Kubelet参数配置。
742
+ * The Kubelet parameter settings.
718
743
  */
719
744
  kubeletConfiguration?: KubeletConfig;
720
745
  static names(): { [key: string]: string } {
@@ -744,7 +769,7 @@ export class NodepoolNodeConfig extends $dara.Model {
744
769
  export class NodepoolNodepoolInfo extends $dara.Model {
745
770
  /**
746
771
  * @remarks
747
- * 节点池名称。
772
+ * The node pool name.
748
773
  *
749
774
  * This parameter is required.
750
775
  *
@@ -754,7 +779,7 @@ export class NodepoolNodepoolInfo extends $dara.Model {
754
779
  name?: string;
755
780
  /**
756
781
  * @remarks
757
- * 节点池所在资源ID。
782
+ * The ID of the resource group to which the node pool belongs.
758
783
  *
759
784
  * @example
760
785
  * rg-acfmyvw3wjm****
@@ -762,10 +787,10 @@ export class NodepoolNodepoolInfo extends $dara.Model {
762
787
  resourceGroupId?: string;
763
788
  /**
764
789
  * @remarks
765
- * 节点池类型,取值范围:
790
+ * The node pool type. Valid values:
766
791
  *
767
- * - `ess`:节点池。
768
- * - `edge`:边缘节点池。
792
+ * - `ess`: node pool.
793
+ * - `edge`: edge node pool.
769
794
  *
770
795
  * @example
771
796
  * ess
@@ -796,10 +821,42 @@ export class NodepoolNodepoolInfo extends $dara.Model {
796
821
  }
797
822
  }
798
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
+
799
856
  export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
800
857
  /**
801
858
  * @remarks
802
- * 私有节点池ID。
859
+ * The private node pool ID.
803
860
  *
804
861
  * @example
805
862
  * eap-bp67acfmxazb4****
@@ -807,13 +864,13 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
807
864
  id?: string;
808
865
  /**
809
866
  * @remarks
810
- * 私有节点池类型,实例启动的私有池容量选项。弹性保障服务或容量预定服务在生效后会生成私有池容量,供实例启动时选择。取值:
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:
811
868
  *
812
- * - `Open`:开放模式。将自动匹配开放类型的私有池容量。如果没有符合条件的私有池容量,则使用公共池资源启动。
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.
813
870
  *
814
- * - `Target`:指定模式。使用指定的私有池容量启动实例,如果该私有池容量不可用,则实例会启动失败。
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.
815
872
  *
816
- * - `None`:不使用模式。实例启动将不使用私有池容量。
873
+ * - `None`: none mode. The instance does not use private pool capacity for startup.
817
874
  *
818
875
  * @example
819
876
  * Open
@@ -845,16 +902,16 @@ export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
845
902
  export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
846
903
  /**
847
904
  * @remarks
848
- * 私有池 ID列表。即弹性保障服务 ID 或容量预定服务 ID。该参数只能传入 Target 模式私有池 ID。N 的取值范围:1~20。
905
+ * The list of private pool IDs, which are elasticity assurance IDs or capacity reservation IDs. Only Target mode private pool IDs can be passed in. Valid values of N: 1 to 20.
849
906
  */
850
907
  privatePoolIds?: string[];
851
908
  /**
852
909
  * @remarks
853
- * 创建实例时使用的资源池策略。资源池包括弹性保障服务或容量预定服务生效后生成的私有池以及公共池,供实例启动时选择。取值范围:
854
- * PrivatePoolFirst:私有池优先。选择此种策略时, 当指定了 resource_pool_options.private_pool_ids,优先使用指定的私有池。如果未指定私有池或指定的私有池容量不足,将自动匹配开放类型的私有池。如果没有符合条件的私有池,则使用公共池创建实例。
855
- * PrivatePoolOnly:仅限私有池。选择此种策略时,必须指定 resource_pool_options.private_pool_ids。如果指定的私有池容量不足,则实例会启动失败。
856
- * None:不使用资源池策略。
857
- * 默认值:None。
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.
914
+ * Default value: None.
858
915
  *
859
916
  * @example
860
917
  * PrivatePoolFirst
@@ -889,7 +946,7 @@ export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
889
946
  export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
890
947
  /**
891
948
  * @remarks
892
- * 抢占式实例规格。
949
+ * The spot instance type.
893
950
  *
894
951
  * @example
895
952
  * ecs.c6.large
@@ -897,7 +954,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
897
954
  instanceType?: string;
898
955
  /**
899
956
  * @remarks
900
- * 单台实例上限价格。
957
+ * The maximum price per instance.
901
958
  *
902
959
  * @example
903
960
  * 0.39
@@ -929,7 +986,7 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
929
986
  export class NodepoolScalingGroupTags extends $dara.Model {
930
987
  /**
931
988
  * @remarks
932
- * 标签的名称。
989
+ * The tag key.
933
990
  *
934
991
  * @example
935
992
  * key
@@ -937,7 +994,7 @@ export class NodepoolScalingGroupTags extends $dara.Model {
937
994
  key?: string;
938
995
  /**
939
996
  * @remarks
940
- * 标签值。
997
+ * The tag value.
941
998
  *
942
999
  * @example
943
1000
  * value
@@ -969,12 +1026,12 @@ export class NodepoolScalingGroupTags extends $dara.Model {
969
1026
  export class NodepoolScalingGroup extends $dara.Model {
970
1027
  /**
971
1028
  * @remarks
972
- * 节点池是否开启自动续费,当`instance_charge_type`取值为`PrePaid`时才生效,取值:
1029
+ * Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
973
1030
  *
974
- * - `true`:自动续费。
975
- * - `false`:不自动续费。
1031
+ * - `true`: Enables auto-renewal.
1032
+ * - `false`: Disables auto-renewal.
976
1033
  *
977
- * 默认值:`true`。
1034
+ * Default value: `true`.
978
1035
  *
979
1036
  * @example
980
1037
  * false
@@ -982,11 +1039,11 @@ export class NodepoolScalingGroup extends $dara.Model {
982
1039
  autoRenew?: boolean;
983
1040
  /**
984
1041
  * @remarks
985
- * 节点池自动续费周期。当`instance_charge_type`取值为`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`.
986
1043
  *
987
- * 当`PeriodUnit=Month`时,取值范围:{1, 2, 3, 6, 12}。
1044
+ * When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
988
1045
  *
989
- * 默认值:1。
1046
+ * Default value: 1.
990
1047
  *
991
1048
  * @example
992
1049
  * 0
@@ -994,10 +1051,10 @@ export class NodepoolScalingGroup extends $dara.Model {
994
1051
  autoRenewPeriod?: number;
995
1052
  /**
996
1053
  * @remarks
997
- * 当`multi_az_policy`取值为`COST_OPTIMIZED`时,如果因价格、库存等原因无法创建足够的抢占式实例,是否允许自动尝试创建按量实例满足ECS实例数量要求。取值:
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:
998
1055
  *
999
- * - `true`:允许自动尝试创建按量实例满足ECS实例数量要求。
1000
- * - `false`:不允许自动尝试创建按量实例满足ECS实例数量要求。
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.
1001
1058
  *
1002
1059
  * @example
1003
1060
  * true
@@ -1005,12 +1062,17 @@ export class NodepoolScalingGroup extends $dara.Model {
1005
1062
  compensateWithOnDemand?: boolean;
1006
1063
  /**
1007
1064
  * @remarks
1008
- * 节点池节点数据盘配置。
1065
+ * The CPU configuration options.
1066
+ */
1067
+ cpuOptions?: NodepoolScalingGroupCpuOptions;
1068
+ /**
1069
+ * @remarks
1070
+ * The data cloud disk configuration for nodes in the node pool.
1009
1071
  */
1010
1072
  dataDisks?: DataDisk[];
1011
1073
  /**
1012
1074
  * @remarks
1013
- * 部署集ID。
1075
+ * The deployment set ID.
1014
1076
  *
1015
1077
  * @example
1016
1078
  * ds-bp1d19mmbsv3jf6xxxxx
@@ -1018,7 +1080,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1018
1080
  deploymentsetId?: string;
1019
1081
  /**
1020
1082
  * @remarks
1021
- * 节点池期望节点数量。
1083
+ * The desired number of nodes in the node pool.
1022
1084
  *
1023
1085
  * @example
1024
1086
  * 2
@@ -1026,12 +1088,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1026
1088
  desiredSize?: number;
1027
1089
  /**
1028
1090
  * @remarks
1029
- * 块设备初始化配置。
1091
+ * The block device initialization configuration.
1030
1092
  */
1031
1093
  diskInit?: DiskInit[];
1032
1094
  /**
1033
1095
  * @remarks
1034
- * 自定义镜像ID,默认使用系统提供的镜像。
1096
+ * The custom image ID. The system-provided image is used by default.
1035
1097
  *
1036
1098
  * @example
1037
1099
  * aliyun_2_1903_x64_20G_alibase_20200904.vhd
@@ -1039,16 +1101,16 @@ export class NodepoolScalingGroup extends $dara.Model {
1039
1101
  imageId?: string;
1040
1102
  /**
1041
1103
  * @remarks
1042
- * 操作系统镜像类型,和platform参数二选一,取值范围:
1104
+ * The operating system image type. Specify either this parameter or platform. Valid values:
1043
1105
  *
1044
- * - `AliyunLinux`:Alinux2镜像。
1045
- * - `AliyunLinux3`:Alinux3镜像。
1046
- * - `AliyunLinux3Arm64`:Alinux3镜像ARM版。
1047
- * - `AliyunLinuxUEFI`:Alinux2镜像UEFI版。
1048
- * - `CentOS`:CentOS镜像。
1049
- * - `Windows`:Windows镜像。
1050
- * - `WindowsCore`:WindowsCore镜像。
1051
- * - `ContainerOS`:容器优化镜像。
1106
+ * - `AliyunLinux`: Alinux2 image.
1107
+ * - `AliyunLinux3`: Alinux3 image.
1108
+ * - `AliyunLinux3Arm64`: Alinux3 image for ARM.
1109
+ * - `AliyunLinuxUEFI`: Alinux2 UEFI image.
1110
+ * - `CentOS`: CentOS image.
1111
+ * - `Windows`: Windows image.
1112
+ * - `WindowsCore`: WindowsCore image.
1113
+ * - `ContainerOS`: container-optimized image.
1052
1114
  *
1053
1115
  * @example
1054
1116
  * AliyunLinux
@@ -1056,12 +1118,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1056
1118
  imageType?: string;
1057
1119
  /**
1058
1120
  * @remarks
1059
- * 节点池节点付费类型,取值:
1121
+ * The billing method for nodes in the node pool. Valid values:
1060
1122
  *
1061
- * - `PrePaid`:预付费。
1062
- * - `PostPaid`:按量付费。
1123
+ * - `PrePaid`: subscription.
1124
+ * - `PostPaid`: pay-as-you-go.
1063
1125
  *
1064
- * 默认值:`PostPaid`。
1126
+ * Default value: `PostPaid`.
1065
1127
  *
1066
1128
  * This parameter is required.
1067
1129
  *
@@ -1071,23 +1133,23 @@ export class NodepoolScalingGroup extends $dara.Model {
1071
1133
  instanceChargeType?: string;
1072
1134
  /**
1073
1135
  * @remarks
1074
- * ECS 实例的元数据访问配置。
1075
- * 目前仅白名单开放,需提交工单申请。
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.
1076
1138
  */
1077
1139
  instanceMetadataOptions?: InstanceMetadataOptions;
1078
1140
  /**
1079
1141
  * @remarks
1080
- * 实例规格。
1142
+ * The instance types.
1081
1143
  *
1082
1144
  * This parameter is required.
1083
1145
  */
1084
1146
  instanceTypes?: string[];
1085
1147
  /**
1086
1148
  * @remarks
1087
- * 公网IP收费类型。取值:
1149
+ * The billing method for public IP addresses. Valid values:
1088
1150
  *
1089
- * - `PayByBandwidth`:按固定带宽计费。
1090
- * - `PayByTraffic`:按使用流量计费。
1151
+ * - `PayByBandwidth`: pay-by-bandwidth.
1152
+ * - `PayByTraffic`: pay-by-data-transfer.
1091
1153
  *
1092
1154
  * @example
1093
1155
  * PayByBandwidth
@@ -1095,7 +1157,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1095
1157
  internetChargeType?: string;
1096
1158
  /**
1097
1159
  * @remarks
1098
- * 节点公网IP出带宽最大值,单位为Mbps(Mega bit per second),取值范围:[1,100]
1160
+ * The maximum outbound bandwidth for node public IP addresses. Unit: Mbit/s. Valid values: [1,100].
1099
1161
  *
1100
1162
  * @example
1101
1163
  * 10
@@ -1103,9 +1165,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1103
1165
  internetMaxBandwidthOut?: number;
1104
1166
  /**
1105
1167
  * @remarks
1106
- * 密钥对名称,和`login_password`二选一。
1168
+ * The key pair name. Specify either this parameter or `login_password`.
1107
1169
  *
1108
- * > 如果创建托管节点池,则只支持`key_pair`。
1170
+ * > For managed node pools, only `key_pair` is supported.
1109
1171
  *
1110
1172
  * @example
1111
1173
  * np-key
@@ -1113,12 +1175,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1113
1175
  keyPair?: string;
1114
1176
  /**
1115
1177
  * @remarks
1116
- * 弹出的ECS实例是否使用以非root用户登录。
1178
+ * Specifies whether scaled-out ECS instances log on as a non-root user.
1117
1179
  */
1118
1180
  loginAsNonRoot?: boolean;
1119
1181
  /**
1120
1182
  * @remarks
1121
- * SSH登录密码,和`key_pair`二选一。密码规则为8~30个字符,且至少同时包含三项(大小写字母、数字和特殊符号)。
1183
+ * The SSH logon password. Specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
1122
1184
  *
1123
1185
  * @example
1124
1186
  * Hello1234
@@ -1126,17 +1188,17 @@ export class NodepoolScalingGroup extends $dara.Model {
1126
1188
  loginPassword?: string;
1127
1189
  /**
1128
1190
  * @remarks
1129
- * 多可用区伸缩组ECS实例扩缩容策略。取值:
1191
+ * The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
1130
1192
  *
1131
- * - `PRIORITY`:根据您定义的虚拟交换机(VSwitchIds.N)扩缩容。当优先级较高的虚拟交换机所在可用区无法创建ECS实例时,自动使用下一优先级的虚拟交换机创建ECS实例。
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.
1132
1194
  *
1133
- * - `COST_OPTIMIZED`:按vCPU单价从低到高进行尝试创建。当伸缩配置设置了抢占式计费方式的多实例规格时,优先创建对应抢占式实例。您可以继续通过`CompensateWithOnDemand`参数指定当抢占式实例由于库存等原因无法创建时,是否自动尝试以按量付费的方式创建。
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.
1134
1196
  *
1135
- * >`COST_OPTIMIZED`仅在伸缩配置设置了多实例规格或者选用了抢占式实例的情况下生效。
1197
+ * >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
1136
1198
  *
1137
- * - `BALANCE`:在伸缩组指定的多可用区之间均匀分配ECS实例。如果由于库存不足等原因可用区之间变得不平衡,您可以通过API RebalanceInstances平衡资源。更多信息,请参见[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).
1138
1200
  *
1139
- * 默认值:`PRIORITY`。
1201
+ * Default value: `PRIORITY`.
1140
1202
  *
1141
1203
  * @example
1142
1204
  * COST_OPTIMIZED
@@ -1144,7 +1206,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1144
1206
  multiAzPolicy?: string;
1145
1207
  /**
1146
1208
  * @remarks
1147
- * 伸缩组所需要按量实例个数的最小值,取值范围:[0,1000]。当按量实例个数少于该值时,将优先创建按量实例。
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.
1148
1210
  *
1149
1211
  * @example
1150
1212
  * 0
@@ -1152,7 +1214,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1152
1214
  onDemandBaseCapacity?: number;
1153
1215
  /**
1154
1216
  * @remarks
1155
- * 伸缩组满足最小按量实例数(`on_demand_base_capacity`)要求后,超出的实例中按量实例应占的比例。取值范围:[0,100]。
1217
+ * The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100].
1156
1218
  *
1157
1219
  * @example
1158
1220
  * 20
@@ -1160,9 +1222,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1160
1222
  onDemandPercentageAboveBaseCapacity?: number;
1161
1223
  /**
1162
1224
  * @remarks
1163
- * 节点池节点包年包月时长,当`instance_charge_type`取值为`PrePaid`时才生效且为必选值,取值范围:`period_unit`取值为Month时,`period`取值范围:{ 1, 2, 3, 6, 12}。
1225
+ * The subscription duration for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`. When `period_unit` is set to Month, valid values for `period`: {1, 2, 3, 6, 12}.
1164
1226
  *
1165
- * 默认值:1。
1227
+ * Default value: 1.
1166
1228
  *
1167
1229
  * @example
1168
1230
  * 0
@@ -1170,9 +1232,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1170
1232
  period?: number;
1171
1233
  /**
1172
1234
  * @remarks
1173
- * 节点池节点付费周期,当`instance_charge_type`取值为`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`.
1174
1236
  *
1175
- * `Month`:目前只支持以月为单位。
1237
+ * `Month`: Currently, only monthly billing is supported.
1176
1238
  *
1177
1239
  * @example
1178
1240
  * Month
@@ -1180,14 +1242,14 @@ export class NodepoolScalingGroup extends $dara.Model {
1180
1242
  periodUnit?: string;
1181
1243
  /**
1182
1244
  * @remarks
1183
- * 操作系统发行版。取值:
1245
+ * The operating system distribution. Valid values:
1184
1246
  *
1185
1247
  * - `CentOS`
1186
1248
  * - `AliyunLinux`
1187
1249
  * - `Windows`
1188
1250
  * - `WindowsCore`
1189
1251
  *
1190
- * 默认值:`AliyunLinux`。
1252
+ * Default value: `AliyunLinux`.
1191
1253
  *
1192
1254
  * @example
1193
1255
  * AliyunLinux
@@ -1197,13 +1259,13 @@ export class NodepoolScalingGroup extends $dara.Model {
1197
1259
  platform?: string;
1198
1260
  /**
1199
1261
  * @remarks
1200
- * 私有节点池配置。
1262
+ * The private node pool configuration.
1201
1263
  */
1202
1264
  privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
1203
1265
  /**
1204
1266
  * @remarks
1205
- * Worker RAM角色名称。
1206
- * >Notice: 仅1.22及以上版本的ACK托管集群支持在创建节点池时配置该参数
1267
+ * The Worker RAM role name.
1268
+ * >Notice: Only ACK managed clusters of version 1.22 or later support configuring this parameter when creating a node pool.</notice>
1207
1269
  *
1208
1270
  * @example
1209
1271
  * example-role
@@ -1211,24 +1273,24 @@ export class NodepoolScalingGroup extends $dara.Model {
1211
1273
  ramRoleName?: string;
1212
1274
  /**
1213
1275
  * @remarks
1214
- * RDS实例列表。
1276
+ * The list of RDS instances.
1215
1277
  */
1216
1278
  rdsInstances?: string[];
1217
1279
  /**
1218
1280
  * @remarks
1219
- * 创建实例时使用的资源池及资源池策略。当您设置该参数后,需要注意:
1220
- * 该参数只在创建按量付费实例时生效。
1221
- * 该参数不能与private_pool_options.match_criteria、private_pool_options.id同时设置。
1281
+ * The resource pool and resource pool policy used when creating instances. Note the following when you set this parameter:
1282
+ * This parameter takes effect only when creating pay-as-you-go instances.
1283
+ * This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
1222
1284
  */
1223
1285
  resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
1224
1286
  /**
1225
1287
  * @remarks
1226
- * 伸缩组模式,取值:
1288
+ * The scaling group mode. Valid values:
1227
1289
  *
1228
- * - `release`:标准模式,根据申请资源值的使用量,通过创建、释放ECS的方式进行伸缩。
1229
- * - `recycle`:极速模式,通过创建、停机、启动的方式进行伸缩,提高再次伸缩的速度(停机时计算资源不收费,只收取存储费用,本地盘机型除外)。
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.)
1230
1292
  *
1231
- * 默认值:`release`。
1293
+ * Default value: `release`.
1232
1294
  *
1233
1295
  * @example
1234
1296
  * release
@@ -1236,7 +1298,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1236
1298
  scalingPolicy?: string;
1237
1299
  /**
1238
1300
  * @remarks
1239
- * 节点池安全组ID,与`security_group_ids`二选一,推荐使用`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`.
1240
1302
  *
1241
1303
  * @example
1242
1304
  * sg-2zeihch86ooz9io4****
@@ -1244,12 +1306,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1244
1306
  securityGroupId?: string;
1245
1307
  /**
1246
1308
  * @remarks
1247
- * 安全组ID列表,与`security_group_id`二选一,推荐使用`security_group_ids`,当同时指定`security_group_id`和`security_group_ids`将优先使用`security_group_ids`。
1309
+ * The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. When both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
1248
1310
  */
1249
1311
  securityGroupIds?: string[];
1250
1312
  /**
1251
1313
  * @remarks
1252
- * 指定可用实例规格的个数,伸缩组将按成本最低的多个规格均衡创建抢占式实例。取值范围:[1,10]。
1314
+ * The number of available instance types. The scaling group creates spot instances across the lowest-cost instance types in a balanced manner. Valid values: [1,10].
1253
1315
  *
1254
1316
  * @example
1255
1317
  * 5
@@ -1257,10 +1319,10 @@ export class NodepoolScalingGroup extends $dara.Model {
1257
1319
  spotInstancePools?: number;
1258
1320
  /**
1259
1321
  * @remarks
1260
- * 是否开启补齐抢占式实例。开启后,当收到抢占式实例将被回收的系统消息时,伸缩组将尝试创建新的实例,替换掉将被回收的抢占式实例。取值:
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:
1261
1323
  *
1262
- * - `true`:开启补齐抢占式实例。
1263
- * - `false`:不开启补齐抢占式实例。
1324
+ * - `true`: Enables spot instance supplementation.
1325
+ * - `false`: Disables spot instance supplementation.
1264
1326
  *
1265
1327
  * @example
1266
1328
  * false
@@ -1268,17 +1330,17 @@ export class NodepoolScalingGroup extends $dara.Model {
1268
1330
  spotInstanceRemedy?: boolean;
1269
1331
  /**
1270
1332
  * @remarks
1271
- * 当前单台抢占式实例规格市场价格区间配置。
1333
+ * The market price range configuration for a single spot instance type.
1272
1334
  */
1273
1335
  spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
1274
1336
  /**
1275
1337
  * @remarks
1276
- * 抢占式实例类型,取值:
1277
- * - NoSpot:非抢占式实例。
1278
- * - SpotWithPriceLimit:设置抢占实例价格上限。
1279
- * - SpotAsPriceGo:系统自动出价,跟随当前市场实际价格。
1338
+ * The type of spot instance. Valid values:
1339
+ * - NoSpot: non-spot instance.
1340
+ * - SpotWithPriceLimit: spot instance with a price limit.
1341
+ * - SpotAsPriceGo: system automatically bids at the current market price.
1280
1342
  *
1281
- * 更多信息,请参见[抢占式实例](https://help.aliyun.com/document_detail/157759.html)。
1343
+ * For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
1282
1344
  *
1283
1345
  * @example
1284
1346
  * NoSpot
@@ -1286,12 +1348,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1286
1348
  spotStrategy?: string;
1287
1349
  /**
1288
1350
  * @remarks
1289
- * 节点系统盘是否开启Burst(性能突发)。 取值:
1351
+ * Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
1290
1352
  *
1291
- * - true:是。
1292
- * - false:否。
1353
+ * - true: Enabled.
1354
+ * - false: Disabled.
1293
1355
  *
1294
- * 当`SystemDiskCategory`取值为`cloud_auto`时才支持设置该参数。更多信息,请参见[ESSD AutoPL云盘](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).
1295
1357
  *
1296
1358
  * @example
1297
1359
  * true
@@ -1299,25 +1361,25 @@ export class NodepoolScalingGroup extends $dara.Model {
1299
1361
  systemDiskBurstingEnabled?: boolean;
1300
1362
  /**
1301
1363
  * @remarks
1302
- * 系统盘的多磁盘类型。当无法使用高优先级的磁盘类型时,自动尝试下一优先级的磁盘类型创建系统盘。取值范围:
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:
1303
1365
  *
1304
- * - cloud:普通云盘。
1305
- * - cloud_efficiency:高效云盘。
1306
- * - cloud_ssd:SSD云盘。
1307
- * - cloud_essd:ESSD云盘。
1366
+ * - cloud: basic cloud disk.
1367
+ * - cloud_efficiency: ultra cloud disk.
1368
+ * - cloud_ssd: standard SSD.
1369
+ * - cloud_essd: ESSD.
1308
1370
  */
1309
1371
  systemDiskCategories?: string[];
1310
1372
  /**
1311
1373
  * @remarks
1312
- * 节点系统盘类型,取值:
1374
+ * The type of the system cloud disk for nodes. Valid values:
1313
1375
  *
1314
- * - `cloud_efficiency`:高效云盘。
1315
- * - `cloud_ssd`:SSD云盘。
1316
- * - `cloud_essd`:ESSD云盘。
1317
- * - `cloud_auto`:ESSD AutoPL云盘。
1318
- * - `cloud_essd_entry`:ESSD Entry云盘。
1376
+ * - `cloud_efficiency`: ultra cloud disk.
1377
+ * - `cloud_ssd`: standard SSD.
1378
+ * - `cloud_essd`: ESSD.
1379
+ * - `cloud_auto`: ESSD AutoPL cloud disk.
1380
+ * - `cloud_essd_entry`: ESSD Entry disk.
1319
1381
  *
1320
- * 默认值:`cloud_efficiency`。
1382
+ * Default value: `cloud_efficiency`.
1321
1383
  *
1322
1384
  * @example
1323
1385
  * cloud_efficiency
@@ -1325,7 +1387,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1325
1387
  systemDiskCategory?: string;
1326
1388
  /**
1327
1389
  * @remarks
1328
- * 节点系统盘采用的加密算法。取值范围:aes-256。
1390
+ * The encryption algorithm for the node system cloud disk. Valid values: aes-256.
1329
1391
  *
1330
1392
  * @example
1331
1393
  * aes-256
@@ -1333,12 +1395,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1333
1395
  systemDiskEncryptAlgorithm?: string;
1334
1396
  /**
1335
1397
  * @remarks
1336
- * 是否加密系统盘。取值范围:true:加密。false:不加密。
1398
+ * Specifies whether to encrypt the system cloud disk. Valid values: true: encrypted. false: not encrypted.
1337
1399
  */
1338
1400
  systemDiskEncrypted?: boolean;
1339
1401
  /**
1340
1402
  * @remarks
1341
- * 节点系统盘使用的KMS密钥ID。
1403
+ * The KMS key ID used by the node system cloud disk.
1342
1404
  *
1343
1405
  * @example
1344
1406
  * 0e478b7a-4262-4802-b8cb-00d3fb40****
@@ -1346,12 +1408,12 @@ export class NodepoolScalingGroup extends $dara.Model {
1346
1408
  systemDiskKmsKeyId?: string;
1347
1409
  /**
1348
1410
  * @remarks
1349
- * 节点系统盘磁盘性能,只对ESSD磁盘生效。
1411
+ * The performance level of the system cloud disk for nodes. Applies only to ESSD cloud disks.
1350
1412
  *
1351
- * - PL0:并发极限I/O性能中等,读写时延较为稳定。
1352
- * - PL1:并发极限I/O性能中等,读写时延较为稳定。
1353
- * - PL2:并发极限I/O性能较高,读写时延稳定。
1354
- * - PL3:并发极限I/O性能极高,读写时延极稳定。
1413
+ * - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1414
+ * - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
1415
+ * - PL2: high maximum concurrent I/O performance with stable read/write latency.
1416
+ * - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
1355
1417
  *
1356
1418
  * @example
1357
1419
  * PL1
@@ -1359,9 +1421,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1359
1421
  systemDiskPerformanceLevel?: string;
1360
1422
  /**
1361
1423
  * @remarks
1362
- * 节点系统盘预配置的读写IOPS。可能值:0~min{50,000, 1000\\*容量-基准性能}。 基准性能=min{1,800+50\\*容量, 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}.
1363
1425
  *
1364
- * 当`SystemDiskCategory`为`cloud_auto`时才支持设置该参数。更多信息,请参见[ESSD AutoPL云盘](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).
1365
1427
  *
1366
1428
  * @example
1367
1429
  * 1000
@@ -1369,9 +1431,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1369
1431
  systemDiskProvisionedIops?: number;
1370
1432
  /**
1371
1433
  * @remarks
1372
- * 节点系统盘大小,单位:GiB。
1434
+ * The size of the system cloud disk for nodes. Unit: GiB.
1373
1435
  *
1374
- * 取值范围:[40,500]。
1436
+ * Valid values: [40,500].
1375
1437
  *
1376
1438
  * @example
1377
1439
  * 120
@@ -1379,14 +1441,14 @@ export class NodepoolScalingGroup extends $dara.Model {
1379
1441
  systemDiskSize?: number;
1380
1442
  /**
1381
1443
  * @remarks
1382
- * 仅为ECS实例添加标签。
1444
+ * The tags that are added only to ECS instances.
1383
1445
  *
1384
- * 标签键不可以重复,最大长度为128个字符;标签键和标签值都不能以“aliyun”、“acs:”开头,或包含“https://”、“http://”。
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://".
1385
1447
  */
1386
1448
  tags?: NodepoolScalingGroupTags[];
1387
1449
  /**
1388
1450
  * @remarks
1389
- * 虚拟交换机ID。
1451
+ * The vSwitch IDs.
1390
1452
  *
1391
1453
  * This parameter is required.
1392
1454
  */
@@ -1396,6 +1458,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1396
1458
  autoRenew: 'auto_renew',
1397
1459
  autoRenewPeriod: 'auto_renew_period',
1398
1460
  compensateWithOnDemand: 'compensate_with_on_demand',
1461
+ cpuOptions: 'cpu_options',
1399
1462
  dataDisks: 'data_disks',
1400
1463
  deploymentsetId: 'deploymentset_id',
1401
1464
  desiredSize: 'desired_size',
@@ -1446,6 +1509,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1446
1509
  autoRenew: 'boolean',
1447
1510
  autoRenewPeriod: 'number',
1448
1511
  compensateWithOnDemand: 'boolean',
1512
+ cpuOptions: NodepoolScalingGroupCpuOptions,
1449
1513
  dataDisks: { 'type': 'array', 'itemType': DataDisk },
1450
1514
  deploymentsetId: 'string',
1451
1515
  desiredSize: 'number',
@@ -1492,6 +1556,9 @@ export class NodepoolScalingGroup extends $dara.Model {
1492
1556
  }
1493
1557
 
1494
1558
  validate() {
1559
+ if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
1560
+ (this.cpuOptions as any).validate();
1561
+ }
1495
1562
  if(Array.isArray(this.dataDisks)) {
1496
1563
  $dara.Model.validateArray(this.dataDisks);
1497
1564
  }
@@ -1539,7 +1606,7 @@ export class NodepoolScalingGroup extends $dara.Model {
1539
1606
  export class NodepoolTeeConfig extends $dara.Model {
1540
1607
  /**
1541
1608
  * @remarks
1542
- * 是否为加密计算节点池。
1609
+ * Specifies whether the node pool is a confidential computing node pool.
1543
1610
  *
1544
1611
  * This parameter is required.
1545
1612
  *
@@ -1571,12 +1638,12 @@ export class NodepoolTeeConfig extends $dara.Model {
1571
1638
  export class Nodepool extends $dara.Model {
1572
1639
  /**
1573
1640
  * @remarks
1574
- * The auto scaling configuration of the node pool.
1641
+ * The auto scaling configuration for the node pool.
1575
1642
  */
1576
1643
  autoScaling?: NodepoolAutoScaling;
1577
1644
  /**
1578
1645
  * @remarks
1579
- * This parameter is deprecated. Use desired_size instead.
1646
+ * **This field is deprecated. Use desired_size instead.**
1580
1647
  *
1581
1648
  * The number of nodes in the node pool.
1582
1649
  *
@@ -1588,7 +1655,7 @@ export class Nodepool extends $dara.Model {
1588
1655
  count?: number;
1589
1656
  /**
1590
1657
  * @remarks
1591
- * This parameter is deprecated.
1658
+ * **This field is deprecated.**
1592
1659
  *
1593
1660
  * The edge node pool configuration.
1594
1661
  *
@@ -1599,8 +1666,8 @@ export class Nodepool extends $dara.Model {
1599
1666
  * @remarks
1600
1667
  * The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
1601
1668
  *
1602
- * - `basic`: basic.
1603
- * - `private`: dedicated. Supported in version 1.22 and later.
1669
+ * - `basic`: Basic.
1670
+ * - `private`: Dedicated. Supported in version 1.22 and later.
1604
1671
  *
1605
1672
  * @example
1606
1673
  * basic
@@ -1618,7 +1685,7 @@ export class Nodepool extends $dara.Model {
1618
1685
  management?: NodepoolManagement;
1619
1686
  /**
1620
1687
  * @remarks
1621
- * 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 contain. 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.
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.
1622
1689
  *
1623
1690
  * @example
1624
1691
  * 10
@@ -1626,7 +1693,7 @@ export class Nodepool extends $dara.Model {
1626
1693
  maxNodes?: number;
1627
1694
  /**
1628
1695
  * @remarks
1629
- * The list of node components.
1696
+ * The node component list.
1630
1697
  */
1631
1698
  nodeComponents?: NodepoolNodeComponents[];
1632
1699
  /**
@@ -1641,12 +1708,12 @@ export class Nodepool extends $dara.Model {
1641
1708
  nodepoolInfo?: NodepoolNodepoolInfo;
1642
1709
  /**
1643
1710
  * @remarks
1644
- * The scaling group configuration of the node pool.
1711
+ * The scaling group configuration for the node pool.
1645
1712
  */
1646
1713
  scalingGroup?: NodepoolScalingGroup;
1647
1714
  /**
1648
1715
  * @remarks
1649
- * The confidential computing configuration of the node pool.
1716
+ * The confidential computing node pool configuration.
1650
1717
  */
1651
1718
  teeConfig?: NodepoolTeeConfig;
1652
1719
  static names(): { [key: string]: string } {