@alicloud/cs20151215 6.5.2 → 6.6.0

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 (69) hide show
  1. package/dist/client.d.ts +36 -18
  2. package/dist/client.js +63 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/Addon.d.ts +16 -1
  5. package/dist/models/Addon.js.map +1 -1
  6. package/dist/models/ContainerdConfig.d.ts +8 -0
  7. package/dist/models/ContainerdConfig.js.map +1 -1
  8. package/dist/models/CreateAutoRepairPolicyRequest.d.ts +0 -51
  9. package/dist/models/CreateAutoRepairPolicyRequest.js +1 -55
  10. package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
  11. package/dist/models/DataDisk.d.ts +71 -0
  12. package/dist/models/DataDisk.js.map +1 -1
  13. package/dist/models/DeleteAlertContactResponse.d.ts +0 -24
  14. package/dist/models/DeleteAlertContactResponse.js.map +1 -1
  15. package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +1 -52
  16. package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -56
  17. package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
  18. package/dist/models/DescribeClusterAddonMetadataRequest.d.ts +7 -0
  19. package/dist/models/DescribeClusterAddonMetadataRequest.js.map +1 -1
  20. package/dist/models/InstancePatterns.d.ts +77 -0
  21. package/dist/models/InstancePatterns.js.map +1 -1
  22. package/dist/models/KubeletConfig.d.ts +127 -0
  23. package/dist/models/KubeletConfig.js.map +1 -1
  24. package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +1 -52
  25. package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -56
  26. package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
  27. package/dist/models/MaintenanceWindow.d.ts +31 -1
  28. package/dist/models/MaintenanceWindow.js.map +1 -1
  29. package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +0 -51
  30. package/dist/models/ModifyAutoRepairPolicyRequest.js +1 -55
  31. package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
  32. package/dist/models/Nodepool.d.ts +508 -10
  33. package/dist/models/Nodepool.js.map +1 -1
  34. package/dist/models/Runtime.d.ts +14 -0
  35. package/dist/models/Runtime.js.map +1 -1
  36. package/dist/models/Tag.d.ts +6 -0
  37. package/dist/models/Tag.js.map +1 -1
  38. package/dist/models/Taint.d.ts +15 -0
  39. package/dist/models/Taint.js.map +1 -1
  40. package/dist/models/UpdateKmsencryptionRequest.d.ts +23 -0
  41. package/dist/models/UpdateKmsencryptionRequest.js +60 -0
  42. package/dist/models/UpdateKmsencryptionRequest.js.map +1 -0
  43. package/dist/models/UpdateKmsencryptionResponse.d.ts +17 -0
  44. package/dist/models/UpdateKmsencryptionResponse.js +63 -0
  45. package/dist/models/UpdateKmsencryptionResponse.js.map +1 -0
  46. package/dist/models/model.d.ts +2 -8
  47. package/dist/models/model.js +50 -62
  48. package/dist/models/model.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/client.ts +67 -18
  51. package/src/models/Addon.ts +16 -1
  52. package/src/models/ContainerdConfig.ts +8 -0
  53. package/src/models/CreateAutoRepairPolicyRequest.ts +0 -87
  54. package/src/models/DataDisk.ts +71 -0
  55. package/src/models/DeleteAlertContactResponse.ts +0 -24
  56. package/src/models/DescribeAutoRepairPolicyResponseBody.ts +2 -89
  57. package/src/models/DescribeClusterAddonMetadataRequest.ts +7 -0
  58. package/src/models/InstancePatterns.ts +77 -0
  59. package/src/models/KubeletConfig.ts +127 -0
  60. package/src/models/ListAutoRepairPoliciesResponseBody.ts +2 -89
  61. package/src/models/MaintenanceWindow.ts +31 -1
  62. package/src/models/ModifyAutoRepairPolicyRequest.ts +0 -87
  63. package/src/models/Nodepool.ts +508 -10
  64. package/src/models/Runtime.ts +14 -0
  65. package/src/models/Tag.ts +6 -0
  66. package/src/models/Taint.ts +15 -0
  67. package/src/models/UpdateKmsencryptionRequest.ts +38 -0
  68. package/src/models/UpdateKmsencryptionResponse.ts +33 -0
  69. package/src/models/model.ts +2 -8
@@ -7,6 +7,11 @@ import { Tag } from "./Tag";
7
7
  import { Taint } from "./Taint";
8
8
  export declare class NodepoolAutoScaling extends $dara.Model {
9
9
  /**
10
+ * @remarks
11
+ * This parameter is deprecated.
12
+ *
13
+ * The maximum bandwidth of the EIP. Unit: Mbit/s.
14
+ *
10
15
  * @example
11
16
  * 5
12
17
  *
@@ -14,6 +19,16 @@ export declare class NodepoolAutoScaling extends $dara.Model {
14
19
  */
15
20
  eipBandwidth?: number;
16
21
  /**
22
+ * @remarks
23
+ * This parameter is deprecated.
24
+ *
25
+ * The metering method of the EIP. Valid values:
26
+ *
27
+ * * `PayByBandwidth`: pay-by-bandwidth.
28
+ * * `PayByTraffic`: pay-by-data-transfer.
29
+ *
30
+ * Default value: PayByBandwidth.
31
+ *
17
32
  * @example
18
33
  * PayByBandwidth
19
34
  *
@@ -22,6 +37,13 @@ export declare class NodepoolAutoScaling extends $dara.Model {
22
37
  eipInternetChargeType?: string;
23
38
  /**
24
39
  * @remarks
40
+ * Specifies whether to enable auto scaling for the node pool. Valid values:
41
+ *
42
+ * * `true`: enables auto scaling for the node pool.
43
+ * * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
44
+ *
45
+ * Default value: `false`.
46
+ *
25
47
  * This parameter is required.
26
48
  *
27
49
  * @example
@@ -29,6 +51,16 @@ export declare class NodepoolAutoScaling extends $dara.Model {
29
51
  */
30
52
  enable?: boolean;
31
53
  /**
54
+ * @remarks
55
+ * This parameter is deprecated.
56
+ *
57
+ * Specifies whether to associate an elastic IP Address (EIP) with the node pool. Valid values:
58
+ *
59
+ * * `true`: associates an EIP with the node pool.
60
+ * * `false`: does not associate an EIP with the node pool.
61
+ *
62
+ * Default value: `false`.
63
+ *
32
64
  * @example
33
65
  * true
34
66
  *
@@ -37,6 +69,8 @@ export declare class NodepoolAutoScaling extends $dara.Model {
37
69
  isBondEip?: boolean;
38
70
  /**
39
71
  * @remarks
72
+ * The maximum number of instances that can be created in a scaling group.
73
+ *
40
74
  * This parameter is required.
41
75
  *
42
76
  * @example
@@ -45,6 +79,8 @@ export declare class NodepoolAutoScaling extends $dara.Model {
45
79
  maxInstances?: number;
46
80
  /**
47
81
  * @remarks
82
+ * The minimum number of instances that must be kept in a scaling group.
83
+ *
48
84
  * This parameter is required.
49
85
  *
50
86
  * @example
@@ -52,6 +88,16 @@ export declare class NodepoolAutoScaling extends $dara.Model {
52
88
  */
53
89
  minInstances?: number;
54
90
  /**
91
+ * @remarks
92
+ * The instance types that can be used for the auto scaling of the node pool. Valid values:
93
+ *
94
+ * * `cpu`: regular instance.
95
+ * * `gpu`: GPU-accelerated instance.
96
+ * * `gpushare`: shared GPU-accelerated instance.
97
+ * * `spot`: preemptible instance.
98
+ *
99
+ * Default value: `cpu`.
100
+ *
55
101
  * @example
56
102
  * cpu
57
103
  */
@@ -69,6 +115,11 @@ export declare class NodepoolAutoScaling extends $dara.Model {
69
115
  }
70
116
  export declare class NodepoolInterconnectConfig extends $dara.Model {
71
117
  /**
118
+ * @remarks
119
+ * This parameter is deprecated.
120
+ *
121
+ * The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
122
+ *
72
123
  * @example
73
124
  * 10
74
125
  *
@@ -76,6 +127,11 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
76
127
  */
77
128
  bandwidth?: number;
78
129
  /**
130
+ * @remarks
131
+ * This parameter is deprecated.
132
+ *
133
+ * The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
134
+ *
79
135
  * @example
80
136
  * ccn-qm5i0i0q9yi*******
81
137
  *
@@ -83,6 +139,11 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
83
139
  */
84
140
  ccnId?: string;
85
141
  /**
142
+ * @remarks
143
+ * This parameter is deprecated.
144
+ *
145
+ * The region in which the CCN instance that is associated with the enhanced edge node pool resides.
146
+ *
86
147
  * @example
87
148
  * cn-shanghai
88
149
  *
@@ -90,6 +151,11 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
90
151
  */
91
152
  ccnRegionId?: string;
92
153
  /**
154
+ * @remarks
155
+ * This parameter is deprecated.
156
+ *
157
+ * The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
158
+ *
93
159
  * @example
94
160
  * cen-ey9k9nfhz0f*******
95
161
  *
@@ -97,6 +163,11 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
97
163
  */
98
164
  cenId?: string;
99
165
  /**
166
+ * @remarks
167
+ * This parameter is deprecated.
168
+ *
169
+ * The subscription duration of the enhanced edge node pool. The duration is measured in months.
170
+ *
100
171
  * @example
101
172
  * 1
102
173
  *
@@ -116,39 +187,84 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
116
187
  }
117
188
  export declare class NodepoolKubernetesConfig extends $dara.Model {
118
189
  /**
190
+ * @remarks
191
+ * Specifies whether to install the CloudMonitor agent on Elastic Compute Service (ECS) nodes. After the CloudMonitor agent is installed on ECS nodes, you can view the monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values:
192
+ *
193
+ * * `true`: installs the CloudMonitor agent on ECS nodes.
194
+ * * `false`: does not install the CloudMonitor agent on ECS nodes.
195
+ *
196
+ * Default value: `false`.
197
+ *
119
198
  * @example
120
199
  * true
121
200
  */
122
201
  cmsEnabled?: boolean;
123
202
  /**
203
+ * @remarks
204
+ * The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
205
+ *
206
+ * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
207
+ * * `none`: specifies that the default CPU affinity is used.
208
+ *
209
+ * Default value: `none`.
210
+ *
124
211
  * @example
125
212
  * none
126
213
  */
127
214
  cpuPolicy?: string;
215
+ /**
216
+ * @remarks
217
+ * The labels of the nodes in the node pool. You can add labels to the nodes in a Kubernetes cluster.
218
+ */
128
219
  labels?: Tag[];
129
220
  /**
221
+ * @remarks
222
+ * The custom node name. A custom node name consists of a prefix, a node IP address, and a suffix.
223
+ *
224
+ * * The prefix and the suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
225
+ * * The node IP address is the complete private IP address of the node.
226
+ *
227
+ * Set the parameter to a value that is in the customized,aliyun,ip,com format. The value consists of four parts that are separated by commas (,). customized and ip are fixed content. aliyun is the prefix and com is the suffix. Example: aliyun.192.168.xxx.xxx.com.
228
+ *
130
229
  * @example
131
- * customized,test.,5,.com
230
+ * customized,aliyun,ip,com
132
231
  */
133
232
  nodeNameMode?: string;
134
233
  /**
135
234
  * @remarks
235
+ * The container runtime. Valid values:
236
+ *
237
+ * * `containerd`: supports all Kubernetes versions. We recommend that you set the parameter to this value.
238
+ * * `Sandboxed-Container.runv`: Sandboxed container provides higher isolation and supports Kubernetes 1.24 and earlier.
239
+ * * `docker`: supports Kubernetes 1.22 and earlier.
240
+ *
241
+ * Default value: `containerd`.
242
+ *
136
243
  * This parameter is required.
137
244
  *
138
245
  * @example
139
- * docker
246
+ * containerd
140
247
  */
141
248
  runtime?: string;
142
249
  /**
143
250
  * @remarks
251
+ * The version of the container runtime.
252
+ *
144
253
  * This parameter is required.
145
254
  *
146
255
  * @example
147
- * 19.03.5
256
+ * 1.6.20
148
257
  */
149
258
  runtimeVersion?: string;
259
+ /**
260
+ * @remarks
261
+ * The configurations of the taints.
262
+ */
150
263
  taints?: Taint[];
151
264
  /**
265
+ * @remarks
266
+ * The user data on the node.
267
+ *
152
268
  * @example
153
269
  * MXM=
154
270
  */
@@ -166,6 +282,9 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
166
282
  }
167
283
  export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
168
284
  /**
285
+ * @remarks
286
+ * Indicates whether node restart is allowed.
287
+ *
169
288
  * @example
170
289
  * true
171
290
  */
@@ -183,6 +302,9 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
183
302
  }
184
303
  export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
185
304
  /**
305
+ * @remarks
306
+ * Indicates whether the kubelet is automatically updated.
307
+ *
186
308
  * @example
187
309
  * true
188
310
  */
@@ -200,11 +322,17 @@ export declare class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
200
322
  }
201
323
  export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
202
324
  /**
325
+ * @remarks
326
+ * Indicates whether node restart is allowed.
327
+ *
203
328
  * @example
204
329
  * true
205
330
  */
206
331
  restartNode?: boolean;
207
332
  /**
333
+ * @remarks
334
+ * The severity level of CVEs that can be automatically patched. Separate multiple levels with commas (,).
335
+ *
208
336
  * @example
209
337
  * asap,nntf
210
338
  */
@@ -222,23 +350,40 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
222
350
  }
223
351
  export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
224
352
  /**
353
+ * @remarks
354
+ * Specifies whether to enable auto update. Valid values:
355
+ *
356
+ * * `true`: enables auto update.
357
+ * * `false`: disables auto update.
358
+ *
225
359
  * @example
226
- * true
360
+ * false
227
361
  */
228
362
  autoUpgrade?: boolean;
229
363
  /**
364
+ * @remarks
365
+ * The maximum number of unavailable nodes. Valid values: 1 to 1000.
366
+ *
367
+ * Default value: 1.
368
+ *
230
369
  * @example
231
- * 1
370
+ * 0
232
371
  */
233
372
  maxUnavailable?: number;
234
373
  /**
374
+ * @remarks
375
+ * The number of additional nodes.
376
+ *
235
377
  * @example
236
- * 5
378
+ * 0
237
379
  */
238
380
  surge?: number;
239
381
  /**
382
+ * @remarks
383
+ * The percentage of additional nodes to the nodes in the node pool. You must specify this parameter or the `surge` parameter.
384
+ *
240
385
  * @example
241
- * 50
386
+ * 0
242
387
  */
243
388
  surgePercentage?: number;
244
389
  static names(): {
@@ -254,29 +399,62 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
254
399
  }
255
400
  export declare class NodepoolManagement extends $dara.Model {
256
401
  /**
402
+ * @remarks
403
+ * Specifies whether to enable auto repair. This parameter takes effect only when you specify `enable=true`.
404
+ *
405
+ * * `true`: enables auto repair
406
+ * * `false`: disables auto repair.
407
+ *
257
408
  * @example
258
- * true
409
+ * false
259
410
  */
260
411
  autoRepair?: boolean;
412
+ /**
413
+ * @remarks
414
+ * The auto node repair policy.
415
+ */
261
416
  autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
262
417
  /**
418
+ * @remarks
419
+ * Indicates whether auto update is enabled.
420
+ *
263
421
  * @example
264
422
  * true
265
423
  */
266
424
  autoUpgrade?: boolean;
425
+ /**
426
+ * @remarks
427
+ * The auto update policy.
428
+ */
267
429
  autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
268
430
  /**
431
+ * @remarks
432
+ * Indicates whether CVE vulnerabilities are automatically patched.
433
+ *
269
434
  * @example
270
435
  * true
271
436
  */
272
437
  autoVulFix?: boolean;
438
+ /**
439
+ * @remarks
440
+ * The automatic CVE patching policy.
441
+ */
273
442
  autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
274
443
  /**
444
+ * @remarks
445
+ * Indicates whether the managed node pool feature is enabled. Valid values:
446
+ *
447
+ * * `true`: enables the managed node pool feature.
448
+ * * `false`: disables the managed node pool feature. Other parameters in this section take effect only if you set `enable` to true.
449
+ *
275
450
  * @example
276
- * true
451
+ * false
277
452
  */
278
453
  enable?: boolean;
279
454
  /**
455
+ * @remarks
456
+ * The configurations of auto update. This parameter takes effect only if `enable` is set to true.
457
+ *
280
458
  * @deprecated
281
459
  */
282
460
  upgradeConfig?: NodepoolManagementUpgradeConfig;
@@ -330,6 +508,10 @@ export declare class NodepoolNodeComponents extends $dara.Model {
330
508
  });
331
509
  }
332
510
  export declare class NodepoolNodeConfig extends $dara.Model {
511
+ /**
512
+ * @remarks
513
+ * The parameter settings of the kubelet.
514
+ */
333
515
  kubeletConfiguration?: KubeletConfig;
334
516
  static names(): {
335
517
  [key: string]: string;
@@ -345,6 +527,8 @@ export declare class NodepoolNodeConfig extends $dara.Model {
345
527
  export declare class NodepoolNodepoolInfo extends $dara.Model {
346
528
  /**
347
529
  * @remarks
530
+ * The name of the node pool.
531
+ *
348
532
  * This parameter is required.
349
533
  *
350
534
  * @example
@@ -352,11 +536,20 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
352
536
  */
353
537
  name?: string;
354
538
  /**
539
+ * @remarks
540
+ * The ID of the resource group to which the node pool belongs.
541
+ *
355
542
  * @example
356
543
  * rg-acfmyvw3wjm****
357
544
  */
358
545
  resourceGroupId?: string;
359
546
  /**
547
+ * @remarks
548
+ * The type of node pool. Valid values:
549
+ *
550
+ * * `ess`: node pool.
551
+ * * `edge`: edge node pool.
552
+ *
360
553
  * @example
361
554
  * ess
362
555
  */
@@ -373,7 +566,25 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
373
566
  });
374
567
  }
375
568
  export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
569
+ /**
570
+ * @remarks
571
+ * The ID of the private node pool.
572
+ *
573
+ * @example
574
+ * eap-bp67acfmxazb4****
575
+ */
376
576
  id?: string;
577
+ /**
578
+ * @remarks
579
+ * The type of the private node pool. This parameter specifies the type of the private node pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
580
+ *
581
+ * * `Open`: specifies an open private node pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
582
+ * * `Target`: specifies a private node pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
583
+ * * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
584
+ *
585
+ * @example
586
+ * Open
587
+ */
377
588
  matchCriteria?: string;
378
589
  static names(): {
379
590
  [key: string]: string;
@@ -406,11 +617,17 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
406
617
  }
407
618
  export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
408
619
  /**
620
+ * @remarks
621
+ * The instance type of preemptible instances.
622
+ *
409
623
  * @example
410
624
  * ecs.c6.large
411
625
  */
412
626
  instanceType?: string;
413
627
  /**
628
+ * @remarks
629
+ * The price cap of a preemptible instance.
630
+ *
414
631
  * @example
415
632
  * 0.39
416
633
  */
@@ -428,11 +645,17 @@ export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
428
645
  }
429
646
  export declare class NodepoolScalingGroupTags extends $dara.Model {
430
647
  /**
648
+ * @remarks
649
+ * The key of the label.
650
+ *
431
651
  * @example
432
652
  * key
433
653
  */
434
654
  key?: string;
435
655
  /**
656
+ * @remarks
657
+ * The value of the label.
658
+ *
436
659
  * @example
437
660
  * value
438
661
  */
@@ -450,44 +673,97 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
450
673
  }
451
674
  export declare class NodepoolScalingGroup extends $dara.Model {
452
675
  /**
676
+ * @remarks
677
+ * Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only if you set `instance_charge_type` to `PrePaid`. Valid values:
678
+ *
679
+ * * `true`: enables auto-renewal.
680
+ * * `false`: disables auto-renewal.
681
+ *
682
+ * Default value: `true`
683
+ *
453
684
  * @example
454
685
  * false
455
686
  */
456
687
  autoRenew?: boolean;
457
688
  /**
689
+ * @remarks
690
+ * The auto-renewal duration of the nodes in the node pool. This parameter is available and required only if you set `instance_charge_type` to `PrePaid`.
691
+ *
692
+ * If you set `period_unit` to Month, the valid values of auto_renew_period are 1, 2, 3, 6, and 12.
693
+ *
694
+ * Default value: 1.
695
+ *
458
696
  * @example
459
697
  * 0
460
698
  */
461
699
  autoRenewPeriod?: number;
462
700
  /**
701
+ * @remarks
702
+ * Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect if you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
703
+ *
704
+ * * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
705
+ * * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
706
+ *
463
707
  * @example
464
708
  * true
465
709
  */
466
710
  compensateWithOnDemand?: boolean;
711
+ /**
712
+ * @remarks
713
+ * The configurations of the data disks that you want to attach to the nodes in the node pool.
714
+ */
467
715
  dataDisks?: DataDisk[];
468
716
  /**
717
+ * @remarks
718
+ * The ID of the deployment set.
719
+ *
469
720
  * @example
470
721
  * ds-bp1d19mmbsv3jf6xxxxx
471
722
  */
472
723
  deploymentsetId?: string;
473
724
  /**
725
+ * @remarks
726
+ * The expected number of nodes in the node pool.
727
+ *
474
728
  * @example
475
729
  * 2
476
730
  */
477
731
  desiredSize?: number;
478
732
  diskInit?: DiskInit[];
479
733
  /**
734
+ * @remarks
735
+ * The custom image ID. By default, the image provided by ACK is used.
736
+ *
480
737
  * @example
481
738
  * aliyun_2_1903_x64_20G_alibase_20200904.vhd
482
739
  */
483
740
  imageId?: string;
484
741
  /**
742
+ * @remarks
743
+ * The type of the operating system image. You must specify this parameter or the platform parameter. Valid values:
744
+ *
745
+ * * `AliyunLinux`: Alibaba Cloud Linux 2.
746
+ * * `AliyunLinux3`: Alibaba Cloud Linux 3
747
+ * * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
748
+ * * `AliyunLinuxUEFI`: Alibaba Cloud Linux UEFI 2.
749
+ * * `CentOS`: CentOS.
750
+ * * `Windows`: Windows.
751
+ * * `WindowsCore`: Windows Core.
752
+ * * `ContainerOS`: ContainerOS.
753
+ *
485
754
  * @example
486
755
  * AliyunLinux
487
756
  */
488
757
  imageType?: string;
489
758
  /**
490
759
  * @remarks
760
+ * The billing method of the nodes in the node pool. Valid values:
761
+ *
762
+ * * `PrePaid`: subscription.
763
+ * * `PostPaid`: pay-as-you-go.
764
+ *
765
+ * Default value: `PostPaid`.
766
+ *
491
767
  * This parameter is required.
492
768
  *
493
769
  * @example
@@ -497,137 +773,310 @@ export declare class NodepoolScalingGroup extends $dara.Model {
497
773
  instanceMetadataOptions?: InstanceMetadataOptions;
498
774
  /**
499
775
  * @remarks
776
+ * The instance type.
777
+ *
500
778
  * This parameter is required.
501
779
  */
502
780
  instanceTypes?: string[];
503
781
  /**
782
+ * @remarks
783
+ * The billing method of the public IP address. Valid values:
784
+ *
785
+ * * `PayByBandwidth`: pay-by-bandwidth.
786
+ * * `PayByTraffic`: pay-by-data-transfer
787
+ *
504
788
  * @example
505
789
  * PayByBandwidth
506
790
  */
507
791
  internetChargeType?: string;
508
792
  /**
793
+ * @remarks
794
+ * The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
795
+ *
509
796
  * @example
510
797
  * 10
511
798
  */
512
799
  internetMaxBandwidthOut?: number;
513
800
  /**
801
+ * @remarks
802
+ * The name of the key pair. You must specify this parameter or the `login_password` parameter.
803
+ *
804
+ * > If you want to create a managed node pool, you must specify `key_pair`.
805
+ *
514
806
  * @example
515
807
  * np-key
516
808
  */
517
809
  keyPair?: string;
810
+ /**
811
+ * @remarks
812
+ * Specifies whether to allow a non-root user to log on to an ECS instance that is added to the node pool.
813
+ */
518
814
  loginAsNonRoot?: boolean;
519
815
  /**
816
+ * @remarks
817
+ * The password for SSH logon. You must specify this parameter or the `key_pair` parameter. 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.
818
+ *
520
819
  * @example
521
- * Hello1234,,
820
+ * Hello1234
522
821
  */
523
822
  loginPassword?: string;
524
823
  /**
824
+ * @remarks
825
+ * The ECS instance scaling policy for the multi-zone scaling group. Valid values:
826
+ *
827
+ * * `PRIORITY`: ECS instances are scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone in which the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone in which the vSwitch that has the next highest priority resides.
828
+ *
829
+ * * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created if preemptible instance types are specified in the scaling configurations. You can set `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
830
+ *
831
+ * **
832
+ *
833
+ * **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
834
+ *
835
+ * * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If the distribution of ECS instances across zones is not balanced due to reasons such as insufficient inventory, you can call the RebalanceInstances operation to evenly distribute the ECS instances across zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html)
836
+ *
837
+ * Default value: `PRIORITY`.
838
+ *
525
839
  * @example
526
840
  * COST_OPTIMIZED
527
841
  */
528
842
  multiAzPolicy?: string;
529
843
  /**
844
+ * @remarks
845
+ * The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is smaller than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
846
+ *
530
847
  * @example
531
848
  * 0
532
849
  */
533
850
  onDemandBaseCapacity?: number;
534
851
  /**
852
+ * @remarks
853
+ * The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
854
+ *
535
855
  * @example
536
856
  * 20
537
857
  */
538
858
  onDemandPercentageAboveBaseCapacity?: number;
539
859
  /**
860
+ * @remarks
861
+ * The subscription duration of the nodes in the node pool. This parameter takes effect and is required only if you set `instance_charge_type` to `PrePaid`. If you set `period_unit` to Month, the valid values of `period` are 1, 2, 3, 6, and 12.
862
+ *
863
+ * Default value: 1.
864
+ *
540
865
  * @example
541
866
  * 0
542
867
  */
543
868
  period?: number;
544
869
  /**
870
+ * @remarks
871
+ * The billing cycle of the nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`.
872
+ *
873
+ * Valid value: `Month`.
874
+ *
545
875
  * @example
546
876
  * Month
547
877
  */
548
878
  periodUnit?: string;
549
879
  /**
880
+ * @remarks
881
+ * The distribution of the operating system. Valid values:
882
+ *
883
+ * * `CentOS`
884
+ * * `AliyunLinux`
885
+ * * `Windows`
886
+ * * `WindowsCore`
887
+ *
888
+ * Default value: `AliyunLinux`.
889
+ *
550
890
  * @example
551
891
  * AliyunLinux
552
892
  *
553
893
  * @deprecated
554
894
  */
555
895
  platform?: string;
896
+ /**
897
+ * @remarks
898
+ * The configurations of the private node pool.
899
+ */
556
900
  privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
557
901
  /**
902
+ * @remarks
903
+ * The name of the worker Resource Access Management (RAM) role. This parameter is available only to users in the whitelist. To use this parameter, submit a ticket.
904
+ *
905
+ * > You can configure this parameter when you create a node pool only for an ACK managed cluster that runs Kubernetes 1.22 or later.
906
+ *
558
907
  * @example
559
908
  * example-role
560
909
  */
561
910
  ramRoleName?: string;
911
+ /**
912
+ * @remarks
913
+ * A list of ApsaraDB RDS instances.
914
+ */
562
915
  rdsInstances?: string[];
563
916
  resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
564
917
  /**
918
+ * @remarks
919
+ * The scaling mode of the scaling group. Valid values:
920
+ *
921
+ * * `release`: the standard mode. ECS instances are created and released based on resource usage.
922
+ * * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
923
+ *
924
+ * Default value: `release`.
925
+ *
565
926
  * @example
566
927
  * release
567
928
  */
568
929
  scalingPolicy?: string;
569
930
  /**
931
+ * @remarks
932
+ * The ID of the security group to which you want to add the node pool. You must specify this parameter or the `security_group_ids` parameter. We recommend that you specify `security_group_ids`.
933
+ *
570
934
  * @example
571
935
  * sg-2zeihch86ooz9io4****
572
936
  */
573
937
  securityGroupId?: string;
938
+ /**
939
+ * @remarks
940
+ * The IDs of security groups. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify both `security_group_id` and `security_group_ids`, `security_group_ids` is used.
941
+ */
574
942
  securityGroupIds?: string[];
575
943
  /**
944
+ * @remarks
945
+ * The number of instance types that are available for creating preemptible instances. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
946
+ *
576
947
  * @example
577
948
  * 5
578
949
  */
579
950
  spotInstancePools?: number;
580
951
  /**
952
+ * @remarks
953
+ * Indicates whether preemptible instances can be supplemented. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group creates a new instance to replace this instance. Valid values:
954
+ *
955
+ * * `true`: supplements preemptible instances.
956
+ * * `false`: does not supplement preemptible instances.
957
+ *
581
958
  * @example
582
959
  * false
583
960
  */
584
961
  spotInstanceRemedy?: boolean;
962
+ /**
963
+ * @remarks
964
+ * The instance type of preemptible instances and the price cap for the instance type.
965
+ */
585
966
  spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
586
967
  /**
968
+ * @remarks
969
+ * The type of preemptible instance. Valid values:
970
+ *
971
+ * * NoSpot: non-preemptible.
972
+ * * SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
973
+ * * SpotAsPriceGo: bids based on the up-to-date market price are submitted.
974
+ *
975
+ * For more information, see [Preemptible Instance](https://help.aliyun.com/document_detail/157759.html).
976
+ *
587
977
  * @example
588
978
  * NoSpot
589
979
  */
590
980
  spotStrategy?: string;
591
981
  /**
982
+ * @remarks
983
+ * Specifies whether to enable the burst feature for the system disk. Valid values:
984
+ *
985
+ * * true: enables the burst feature.
986
+ * * false: disables the burst feature.
987
+ *
988
+ * This parameter is available only if `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
989
+ *
592
990
  * @example
593
991
  * true
594
992
  */
595
993
  systemDiskBurstingEnabled?: boolean;
994
+ /**
995
+ * @remarks
996
+ * The system disk types. The system creates system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: cloud (basic disk), cloud_efficiency (ultra disk), cloud_ssd (standard SSD), and cloud_essd: (ESSD).
997
+ */
596
998
  systemDiskCategories?: string[];
597
999
  /**
1000
+ * @remarks
1001
+ * The type of the system disk. Valid values:
1002
+ *
1003
+ * * `cloud_efficiency`: ultra disk.
1004
+ * * `cloud_ssd`: standard SSD
1005
+ * * `cloud_essd`: Enterprise SSD (ESSD).
1006
+ * * `cloud_auto`: ESSD AutoPL disk.
1007
+ * * `cloud_essd_entry`: ESSD Entry disk.
1008
+ *
1009
+ * Default value: `cloud_efficiency`.
1010
+ *
598
1011
  * @example
599
1012
  * cloud_efficiency
600
1013
  */
601
1014
  systemDiskCategory?: string;
602
1015
  /**
1016
+ * @remarks
1017
+ * The algorithm that you want to use to encrypt the system disk. Set the value to aes-256.
1018
+ *
603
1019
  * @example
604
1020
  * aes-256
605
1021
  */
606
1022
  systemDiskEncryptAlgorithm?: string;
1023
+ /**
1024
+ * @remarks
1025
+ * Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
1026
+ */
607
1027
  systemDiskEncrypted?: boolean;
608
1028
  /**
1029
+ * @remarks
1030
+ * The ID of the Key Management Service (KMS) key that is used to encrypt the system disk.
1031
+ *
609
1032
  * @example
610
1033
  * 0e478b7a-4262-4802-b8cb-00d3fb40****
611
1034
  */
612
1035
  systemDiskKmsKeyId?: string;
613
1036
  /**
1037
+ * @remarks
1038
+ * The performance level (PL) of the system disk. This parameter takes effect only for an ESSD. Valid values:
1039
+ *
1040
+ * * PL0: moderate maximum concurrent I/O performance and low I/O latency.
1041
+ * * PL1: moderate maximum concurrent I/O performance and low I/O latency.
1042
+ * * PL2: high maximum concurrent I/O performance and low I/O latency.
1043
+ * * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
1044
+ *
614
1045
  * @example
615
1046
  * PL1
616
1047
  */
617
1048
  systemDiskPerformanceLevel?: string;
618
1049
  /**
1050
+ * @remarks
1051
+ * The preset read/write IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
1052
+ *
1053
+ * This parameter is available only if `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1054
+ *
619
1055
  * @example
620
1056
  * 1000
621
1057
  */
622
1058
  systemDiskProvisionedIops?: number;
623
1059
  /**
1060
+ * @remarks
1061
+ * The size of the system disk. Unit: GiB.
1062
+ *
1063
+ * Valid values: 40 to 500.
1064
+ *
624
1065
  * @example
625
1066
  * 120
626
1067
  */
627
1068
  systemDiskSize?: number;
1069
+ /**
1070
+ * @remarks
1071
+ * The labels that you want to add only to ECS instances.
1072
+ *
1073
+ * The tag key must be unique and can be up to 128 characters in length. The tag key and value must not start with aliyun or acs: or contain https:// or http://.
1074
+ */
628
1075
  tags?: NodepoolScalingGroupTags[];
629
1076
  /**
630
1077
  * @remarks
1078
+ * The IDs of vSwitches.
1079
+ *
631
1080
  * This parameter is required.
632
1081
  */
633
1082
  vswitchIds?: string[];
@@ -645,6 +1094,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
645
1094
  export declare class NodepoolTeeConfig extends $dara.Model {
646
1095
  /**
647
1096
  * @remarks
1097
+ * Specifies whether to enable confidential computing for the node pool.
1098
+ *
648
1099
  * This parameter is required.
649
1100
  *
650
1101
  * @example
@@ -663,8 +1114,17 @@ export declare class NodepoolTeeConfig extends $dara.Model {
663
1114
  });
664
1115
  }
665
1116
  export declare class Nodepool extends $dara.Model {
1117
+ /**
1118
+ * @remarks
1119
+ * The auto scaling configurations of the node pool.
1120
+ */
666
1121
  autoScaling?: NodepoolAutoScaling;
667
1122
  /**
1123
+ * @remarks
1124
+ * This parameter is deprecated. Use desired_size instead.
1125
+ *
1126
+ * The number of nodes in the node pool.
1127
+ *
668
1128
  * @example
669
1129
  * 1
670
1130
  *
@@ -672,25 +1132,63 @@ export declare class Nodepool extends $dara.Model {
672
1132
  */
673
1133
  count?: number;
674
1134
  /**
1135
+ * @remarks
1136
+ * This parameter is deprecated.
1137
+ *
1138
+ * The configurations of the edge node pool.
1139
+ *
675
1140
  * @deprecated
676
1141
  */
677
1142
  interconnectConfig?: NodepoolInterconnectConfig;
678
1143
  /**
1144
+ * @remarks
1145
+ * The network type of the edge node pool. This parameter takes effect only if you set the `type` of the node pool to `edge`. Valid values:
1146
+ *
1147
+ * * `basic`: basic
1148
+ * * `private`: dedicated Only Kubernetes 1.22 and later support this value.
1149
+ *
679
1150
  * @example
680
1151
  * basic
681
1152
  */
682
1153
  interconnectMode?: string;
1154
+ /**
1155
+ * @remarks
1156
+ * The configurations of the cluster.
1157
+ */
683
1158
  kubernetesConfig?: NodepoolKubernetesConfig;
1159
+ /**
1160
+ * @remarks
1161
+ * The configurations of the managed node pool feature.
1162
+ */
684
1163
  management?: NodepoolManagement;
685
1164
  /**
1165
+ * @remarks
1166
+ * The maximum number of nodes that can be created in the edge node pool. The value of this parameter must be greater than or equal to 0. A value of 0 indicates that the number of nodes in the node pool is limited only by the quota of nodes in the cluster. In most cases, this parameter is set to a value larger than 0 for edge node pools. This parameter is set to 0 for node pools whose type is ess or default edge node pools.
1167
+ *
686
1168
  * @example
687
1169
  * 10
688
1170
  */
689
1171
  maxNodes?: number;
690
1172
  nodeComponents?: NodepoolNodeComponents[];
1173
+ /**
1174
+ * @remarks
1175
+ * The node configurations.
1176
+ */
691
1177
  nodeConfig?: NodepoolNodeConfig;
1178
+ /**
1179
+ * @remarks
1180
+ * The configuration of a node pool.
1181
+ */
692
1182
  nodepoolInfo?: NodepoolNodepoolInfo;
1183
+ /**
1184
+ * @remarks
1185
+ * The configurations of the scaling group that is used by the node pool.
1186
+ */
693
1187
  scalingGroup?: NodepoolScalingGroup;
1188
+ /**
1189
+ * @remarks
1190
+ * The configurations of confidential computing.
1191
+ */
694
1192
  teeConfig?: NodepoolTeeConfig;
695
1193
  static names(): {
696
1194
  [key: string]: string;