@alicloud/cs20151215 7.0.3 → 7.0.5

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 (70) hide show
  1. package/dist/client.d.ts +38 -50
  2. package/dist/client.js +72 -79
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
  5. package/dist/models/CreateClusterNodePoolRequest.js +31 -1
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +174 -649
  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/DescribeAddonRequest.d.ts +7 -18
  12. package/dist/models/DescribeAddonRequest.js.map +1 -1
  13. package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
  14. package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
  15. package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
  16. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  17. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +195 -232
  18. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
  19. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  20. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
  21. package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
  22. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  23. package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
  24. package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
  25. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  26. package/dist/models/MaintenanceWindow.d.ts +1 -1
  27. package/dist/models/ModifyClusterNodePoolRequest.d.ts +107 -250
  28. package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
  29. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  30. package/dist/models/ModifyClusterRequest.d.ts +151 -112
  31. package/dist/models/ModifyClusterRequest.js +29 -1
  32. package/dist/models/ModifyClusterRequest.js.map +1 -1
  33. package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
  34. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
  35. package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
  36. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  37. package/dist/models/Nodepool.d.ts +128 -209
  38. package/dist/models/Nodepool.js +29 -1
  39. package/dist/models/Nodepool.js.map +1 -1
  40. package/dist/models/Runtime.d.ts +2 -2
  41. package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
  42. package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
  43. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  44. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
  45. package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
  46. package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
  47. package/dist/models/model.d.ts +7 -0
  48. package/dist/models/model.js +80 -66
  49. package/dist/models/model.js.map +1 -1
  50. package/package.json +2 -2
  51. package/src/client.ts +73 -79
  52. package/src/models/CreateClusterNodePoolRequest.ts +204 -370
  53. package/src/models/CreateClusterRequest.ts +191 -649
  54. package/src/models/CreateClusterResponseBody.ts +3 -3
  55. package/src/models/DescribeAddonRequest.ts +7 -18
  56. package/src/models/DescribeAddonResponseBody.ts +12 -12
  57. package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
  58. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
  59. package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
  60. package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
  61. package/src/models/MaintenanceWindow.ts +1 -1
  62. package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
  63. package/src/models/ModifyClusterRequest.ts +170 -112
  64. package/src/models/ModifyClusterResponseBody.ts +3 -3
  65. package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
  66. package/src/models/Nodepool.ts +147 -209
  67. package/src/models/Runtime.ts +2 -2
  68. package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
  69. package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
  70. package/src/models/model.ts +7 -0
@@ -12,11 +12,7 @@ import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
12
12
  export class CreateClusterRequestAuditLogConfig extends $dara.Model {
13
13
  /**
14
14
  * @remarks
15
- * Whether to enable the cluster audit log feature.
16
- *
17
- * - true: Enable.
18
- *
19
- * - false: Disable.
15
+ * Specifies whether to enable the cluster audit log feature.
20
16
  *
21
17
  * @example
22
18
  * true
@@ -24,11 +20,7 @@ export class CreateClusterRequestAuditLogConfig extends $dara.Model {
24
20
  enabled?: boolean;
25
21
  /**
26
22
  * @remarks
27
- * The [SLS Project](https://help.aliyun.com/document_detail/48873.html) where the cluster audit log [Logstore](https://help.aliyun.com/document_detail/48873.html) is located.
28
- *
29
- * - Default value: `k8s-log-{clusterid}`.
30
- *
31
- * - After enabling the cluster audit log feature, a corresponding Logstore will be created under the specified SLS Project.
23
+ * The [Simple Log Service project](https://help.aliyun.com/document_detail/48873.html) that contains the [Logstore](https://help.aliyun.com/document_detail/48873.html) for cluster audit logs.
32
24
  *
33
25
  * @example
34
26
  * k8s-log-c2345xxxxxxxxxxxx
@@ -60,11 +52,7 @@ export class CreateClusterRequestAuditLogConfig extends $dara.Model {
60
52
  export class CreateClusterRequestAutoMode extends $dara.Model {
61
53
  /**
62
54
  * @remarks
63
- * Whether to enable intelligent managed mode.
64
- *
65
- * - true: Enable.
66
- *
67
- * - false: Disable.
55
+ * Specifies whether to enable intelligent managed mode.
68
56
  *
69
57
  * @example
70
58
  * true
@@ -94,11 +82,7 @@ export class CreateClusterRequestAutoMode extends $dara.Model {
94
82
  export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
95
83
  /**
96
84
  * @remarks
97
- * Whether to enable auto-renewal for control plane nodes. Valid when the billing type is `PrePaid`.
98
- * - true: Enable auto-renewal.
99
- * - false: Disable auto-renewal.
100
- *
101
- * Default value: true.
85
+ * Specifies whether to enable auto-renewal for control plane nodes. This parameter is valid only when charge_type is set to `PrePaid`.
102
86
  *
103
87
  * @example
104
88
  * true
@@ -106,11 +90,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
106
90
  autoRenew?: boolean;
107
91
  /**
108
92
  * @remarks
109
- * Auto-renewal duration for control plane nodes.
110
- *
111
- * Valid values: {1, 2, 3, 6, 12}. Unit: months.
112
- *
113
- * Default value: 1.
93
+ * The auto-renewal duration of control plane nodes.
114
94
  *
115
95
  * @example
116
96
  * 1
@@ -118,12 +98,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
118
98
  autoRenewPeriod?: number;
119
99
  /**
120
100
  * @remarks
121
- * Control plane node billing type.
122
- *
123
- * - `PrePaid`: Subscription.
124
- * - `PostPaid`: Pay-as-you-go.
125
- *
126
- * Default value: `PostPaid`.
101
+ * The billing method of control plane nodes.
127
102
  *
128
103
  * @example
129
104
  * PostPaid
@@ -131,13 +106,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
131
106
  chargeType?: string;
132
107
  /**
133
108
  * @remarks
134
- * Whether to install CloudMonitor on nodes.
135
- *
136
- * - true: Install the CloudMonitor agent.
137
- *
138
- * - false: Do not install the CloudMonitor agent.
139
- *
140
- * Default value: false.
109
+ * Specifies whether to install CloudMonitor on nodes.
141
110
  *
142
111
  * @example
143
112
  * false
@@ -145,13 +114,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
145
114
  cloudMonitorFlags?: boolean;
146
115
  /**
147
116
  * @remarks
148
- * Node CPU management policy.
149
- *
150
- * - static: Allows enhancing CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
151
- *
152
- * - none: Enables the existing default CPU affinity scheme.
153
- *
154
- * Default value: none.
117
+ * The CPU management policy for nodes.
155
118
  *
156
119
  * @example
157
120
  * none
@@ -159,7 +122,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
159
122
  cpuPolicy?: string;
160
123
  /**
161
124
  * @remarks
162
- * Deployment set ID.
125
+ * The deployment set ID.
163
126
  *
164
127
  * @example
165
128
  * ds-bp10b35imuam5amw****
@@ -167,7 +130,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
167
130
  deploymentsetId?: string;
168
131
  /**
169
132
  * @remarks
170
- * Image ID.
133
+ * The image ID.
171
134
  *
172
135
  * @example
173
136
  * aliyun_3_x64_20G_alibase_20240819.vhd
@@ -175,7 +138,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
175
138
  imageId?: string;
176
139
  /**
177
140
  * @remarks
178
- * OS image type.
141
+ * The operating system image type.
179
142
  *
180
143
  * @example
181
144
  * AliyunLinux3
@@ -183,17 +146,17 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
183
146
  imageType?: string;
184
147
  /**
185
148
  * @remarks
186
- * ECS instance metadata access configuration.
149
+ * The instance metadata access configuration for ECS instances.
187
150
  */
188
151
  instanceMetadataOptions?: InstanceMetadataOptions;
189
152
  /**
190
153
  * @remarks
191
- * Node instance types.
154
+ * The instance types of nodes.
192
155
  */
193
156
  instanceTypes?: string[];
194
157
  /**
195
158
  * @remarks
196
- * Key pair name. Mutually exclusive with login_password.
159
+ * The name of the key pair. Specify either this parameter or login_password.
197
160
  *
198
161
  * @example
199
162
  * ack
@@ -201,7 +164,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
201
164
  keyPair?: string;
202
165
  /**
203
166
  * @remarks
204
- * SSH login password. The password must be 8 to 30 characters in length and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters. Mutually exclusive with key_pair.
167
+ * The SSH logon password. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Specify either this parameter or key_pair.
205
168
  *
206
169
  * @example
207
170
  * ********
@@ -209,7 +172,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
209
172
  loginPassword?: string;
210
173
  /**
211
174
  * @remarks
212
- * [**This field is deprecated**] Node service port range.
175
+ * **[Deprecated]** The node service port range.
213
176
  *
214
177
  * @example
215
178
  * 30000-32767
@@ -217,11 +180,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
217
180
  nodePortRange?: string;
218
181
  /**
219
182
  * @remarks
220
- * Subscription duration for control plane nodes. Valid and required when the billing type is `PrePaid`.
221
- *
222
- * Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}. Unit: months.
223
- *
224
- * Default value: 1.
183
+ * The subscription duration of control plane nodes. This parameter is valid and required only when charge_type is set to `PrePaid`.
225
184
  *
226
185
  * @example
227
186
  * 1
@@ -229,9 +188,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
229
188
  period?: number;
230
189
  /**
231
190
  * @remarks
232
- * Subscription period unit for control plane nodes. Valid and required when the billing type is `PrePaid`.
233
- *
234
- * Valid value: `Month`. Currently, only month-based periods are supported.
191
+ * The unit of the subscription duration of control plane nodes. This parameter is valid and required only when charge_type is set to `PrePaid`.
235
192
  *
236
193
  * @example
237
194
  * Month
@@ -239,9 +196,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
239
196
  periodUnit?: string;
240
197
  /**
241
198
  * @remarks
242
- * [**This field is deprecated**] Control plane node runtime name. Valid value:
243
- *
244
- * containerd: Containerd runtime, supported by all cluster versions.
199
+ * **[Deprecated]** The runtime name of control plane nodes. Valid values:
245
200
  *
246
201
  * @example
247
202
  * containerd
@@ -249,13 +204,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
249
204
  runtime?: string;
250
205
  /**
251
206
  * @remarks
252
- * Whether to enable Alibaba Cloud OS security hardening.
253
- *
254
- * - true: Enable Alibaba Cloud OS security hardening.
255
- *
256
- * - false: Disable Alibaba Cloud OS security hardening.
257
- *
258
- * Default value: false.
207
+ * Specifies whether to enable Alibaba Cloud OS security hardening.
259
208
  *
260
209
  * @example
261
210
  * false
@@ -263,9 +212,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
263
212
  securityHardeningOs?: boolean;
264
213
  /**
265
214
  * @remarks
266
- * Number of control plane nodes.
267
- *
268
- * Valid values: `3` or `5`.
215
+ * The number of control plane nodes.
269
216
  *
270
217
  * @example
271
218
  * 3
@@ -273,13 +220,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
273
220
  size?: number;
274
221
  /**
275
222
  * @remarks
276
- * Whether to enable classified protection security hardening.
277
- *
278
- * - true: Enable classified protection hardening.
279
- *
280
- * - false: Disable classified protection hardening.
281
- *
282
- * Default value: false.
223
+ * Specifies whether to enable MLPS security hardening.
283
224
  *
284
225
  * @example
285
226
  * false
@@ -287,13 +228,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
287
228
  socEnabled?: boolean;
288
229
  /**
289
230
  * @remarks
290
- * Whether to enable burst (performance burst) for the node system disk.
291
- *
292
- * - true: Enable.
293
- *
294
- * - false: Disable.
295
- *
296
- * This parameter is only supported when `system_disk_category` is set to `cloud_auto`.
231
+ * Specifies whether to enable burst (performance burst) for the system cloud disk of nodes.
297
232
  *
298
233
  * @example
299
234
  * true
@@ -301,15 +236,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
301
236
  systemDiskBurstingEnabled?: boolean;
302
237
  /**
303
238
  * @remarks
304
- * Node system disk type.
305
- *
306
- * - `cloud_efficiency`: Ultra disk.
307
- * - `cloud_ssd`: SSD disk.
308
- * - `cloud_essd`: ESSD disk.
309
- * - `cloud_auto`: ESSD AutoPL disk.
310
- * - `cloud_essd_entry`: ESSD Entry disk.
311
- *
312
- * Default value: `cloud_ssd`. The default value may vary across availability zones.
239
+ * The type of the system cloud disk for nodes.
313
240
  *
314
241
  * @example
315
242
  * cloud_ssd
@@ -317,9 +244,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
317
244
  systemDiskCategory?: string;
318
245
  /**
319
246
  * @remarks
320
- * Node system disk performance level. Only takes effect for ESSD disks.
321
- *
322
- * The performance level is related to the disk size. For more information, see [ESSD disk](https://help.aliyun.com/document_detail/122389.html).
247
+ * The performance level of the system cloud disk. This parameter takes effect only for ESSD disks.
323
248
  *
324
249
  * @example
325
250
  * PL1
@@ -327,11 +252,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
327
252
  systemDiskPerformanceLevel?: string;
328
253
  /**
329
254
  * @remarks
330
- * Pre-provisioned read/write IOPS for the node system disk.
331
- *
332
- * Valid values: 0 to min{50,000, 1000*capacity - baseline performance}. Baseline performance = min{1,800 + 50*capacity, 50000}.
333
- *
334
- * This parameter is only supported when `system_disk_category` is set to `cloud_auto`.
255
+ * The provisioned read/write IOPS of the system cloud disk for nodes.
335
256
  *
336
257
  * @example
337
258
  * 1000
@@ -339,11 +260,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
339
260
  systemDiskProvisionedIops?: number;
340
261
  /**
341
262
  * @remarks
342
- * Node system disk size.
343
- *
344
- * Valid values: [40, 500\\]. Unit: GiB.
345
- *
346
- * Default value: `120`.
263
+ * The size of the system cloud disk for nodes.
347
264
  *
348
265
  * @example
349
266
  * 120
@@ -351,7 +268,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
351
268
  systemDiskSize?: number;
352
269
  /**
353
270
  * @remarks
354
- * Node automatic snapshot backup policy.
271
+ * The automatic snapshot policy for nodes.
355
272
  *
356
273
  * @example
357
274
  * sp-2zej1nogjvovnz4z****
@@ -435,7 +352,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
435
352
  export class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
436
353
  /**
437
354
  * @remarks
438
- * VPCs where the internal DNS record resolution takes effect.
355
+ * The VPCs in which the internal domain name DNS resolution takes effect.
439
356
  */
440
357
  bindVpcs?: string[];
441
358
  static names(): { [key: string]: string } {
@@ -462,21 +379,68 @@ export class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig ex
462
379
  }
463
380
  }
464
381
 
382
+ export class CreateClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig extends $dara.Model {
383
+ /**
384
+ * @remarks
385
+ * The endpoint type.
386
+ *
387
+ * @example
388
+ * private
389
+ */
390
+ endpointType?: string;
391
+ /**
392
+ * @remarks
393
+ * The NLB instance ID.
394
+ *
395
+ * @example
396
+ * nlb-0ogk9aaxxxxxxx
397
+ */
398
+ loadBalancerId?: string;
399
+ static names(): { [key: string]: string } {
400
+ return {
401
+ endpointType: 'endpoint_type',
402
+ loadBalancerId: 'load_balancer_id',
403
+ };
404
+ }
405
+
406
+ static types(): { [key: string]: any } {
407
+ return {
408
+ endpointType: 'string',
409
+ loadBalancerId: 'string',
410
+ };
411
+ }
412
+
413
+ validate() {
414
+ super.validate();
415
+ }
416
+
417
+ constructor(map?: { [key: string]: any }) {
418
+ super(map);
419
+ }
420
+ }
421
+
465
422
  export class CreateClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
466
423
  /**
467
424
  * @remarks
468
- * Internal DNS configuration for the cluster, applicable to ACK managed clusters. The internal DNS is used by node-side system components such as kubelet and kube-proxy to access the API Server. When internal DNS access is not enabled, node-side system components will access via CLB IP.
425
+ * The internal DNS configuration of the cluster. This applies to ACK managed clusters. The internal domain name is used by node-side system components such as kubelet and kube-proxy to access the API Server. If the internal domain name access is not enabled, node-side system components access the API Server through the CLB IP address.
469
426
  */
470
427
  internalDnsConfig?: CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
428
+ /**
429
+ * @remarks
430
+ * The cluster connection configuration. When this field is specified, the endpoint_public_access and load_balancer_id parameters do not take effect.
431
+ */
432
+ loadBalancersConfig?: CreateClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig[];
471
433
  static names(): { [key: string]: string } {
472
434
  return {
473
435
  internalDnsConfig: 'internal_dns_config',
436
+ loadBalancersConfig: 'load_balancers_config',
474
437
  };
475
438
  }
476
439
 
477
440
  static types(): { [key: string]: any } {
478
441
  return {
479
442
  internalDnsConfig: CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig,
443
+ loadBalancersConfig: { 'type': 'array', 'itemType': CreateClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig },
480
444
  };
481
445
  }
482
446
 
@@ -484,6 +448,9 @@ export class CreateClusterRequestControlPlaneEndpointsConfig extends $dara.Model
484
448
  if(this.internalDnsConfig && typeof (this.internalDnsConfig as any).validate === 'function') {
485
449
  (this.internalDnsConfig as any).validate();
486
450
  }
451
+ if(Array.isArray(this.loadBalancersConfig)) {
452
+ $dara.Model.validateArray(this.loadBalancersConfig);
453
+ }
487
454
  super.validate();
488
455
  }
489
456
 
@@ -495,10 +462,7 @@ export class CreateClusterRequestControlPlaneEndpointsConfig extends $dara.Model
495
462
  export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $dara.Model {
496
463
  /**
497
464
  * @remarks
498
- * Cluster automatic upgrade frequency. Valid values:
499
- * - patch: Automatically upgrade to an available patch version of the current minor version. The new Kubernetes version will not contain breaking changes.
500
- * - stable: Automatically upgrade to the latest patch version of the second-newest minor version. The new Kubernetes version may involve API and feature changes, but its stability has been widely verified.
501
- * - rapid: Automatically upgrade to the latest patch version of the latest minor version to get new features from the Kubernetes community faster.
465
+ * The cluster auto-upgrade frequency. Valid values:
502
466
  *
503
467
  * @example
504
468
  * stable
@@ -506,11 +470,7 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $dara
506
470
  channel?: string;
507
471
  /**
508
472
  * @remarks
509
- * Whether to enable cluster automatic upgrade.
510
- *
511
- * - true: Enable.
512
- *
513
- * - false: Disable.
473
+ * Specifies whether to enable cluster auto-upgrade.
514
474
  *
515
475
  * @example
516
476
  * true
@@ -542,7 +502,7 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $dara
542
502
  export class CreateClusterRequestOperationPolicy extends $dara.Model {
543
503
  /**
544
504
  * @remarks
545
- * Cluster automatic upgrade.
505
+ * The cluster auto-upgrade configuration.
546
506
  */
547
507
  clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
548
508
  static names(): { [key: string]: string } {
@@ -572,11 +532,7 @@ export class CreateClusterRequestOperationPolicy extends $dara.Model {
572
532
  export class CreateClusterRequestRrsaConfig extends $dara.Model {
573
533
  /**
574
534
  * @remarks
575
- * Whether to enable the RRSA feature.
576
- *
577
- * - true: Enable.
578
- *
579
- * - false: Disable.
535
+ * Specifies whether to enable the RRSA feature.
580
536
  *
581
537
  * @example
582
538
  * true
@@ -606,7 +562,7 @@ export class CreateClusterRequestRrsaConfig extends $dara.Model {
606
562
  export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
607
563
  /**
608
564
  * @remarks
609
- * Data disk type.
565
+ * The type of the data disk.
610
566
  *
611
567
  * This parameter is required.
612
568
  *
@@ -616,12 +572,7 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
616
572
  category?: string;
617
573
  /**
618
574
  * @remarks
619
- * Whether to encrypt the data disk. Valid values:
620
- *
621
- * - `true`: Encrypt the data disk.
622
- * - `false`: Do not encrypt the data disk.
623
- *
624
- * Default value: `false`.
575
+ * Specifies whether to encrypt the data disk. Valid values:
625
576
  *
626
577
  * @example
627
578
  * true
@@ -629,7 +580,7 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
629
580
  encrypted?: string;
630
581
  /**
631
582
  * @remarks
632
- * Node data disk performance level. Only takes effect for [ESSD disks](https://help.aliyun.com/document_detail/122389.html).
583
+ * The performance level of the data cloud disk for nodes. This parameter takes effect only for [standard SSDs](https://help.aliyun.com/document_detail/122389.html).
633
584
  *
634
585
  * @example
635
586
  * PL1
@@ -637,7 +588,7 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
637
588
  performanceLevel?: string;
638
589
  /**
639
590
  * @remarks
640
- * Data disk size. Valid values: 40 to 32767. Unit: GiB.
591
+ * The size of the data disk. Valid values: 40 to 32767. Unit: GiB.
641
592
  *
642
593
  * This parameter is required.
643
594
  *
@@ -675,46 +626,19 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
675
626
  export class CreateClusterRequest extends $dara.Model {
676
627
  /**
677
628
  * @remarks
678
- * [**This field is deprecated**] Registered cluster API Server SLB access control list.
629
+ * **[Deprecated]** The access control list for the API Server SLB of the registered cluster.
679
630
  *
680
631
  * @deprecated
681
632
  */
682
633
  accessControlList?: string[];
683
634
  /**
684
635
  * @remarks
685
- * List of cluster components. Specify the components to install when creating a cluster through `addons`.
686
- *
687
- * **Network component**: Required. Choose between Flannel and Terway network types when creating a cluster:
688
- *
689
- * - Flannel network: [{"name":"flannel","config":""}].
690
- * - Terway network: [{"name": "terway-eniip","config": ""}] .
691
- *
692
- * **Storage component**: Optional. Only the `csi` type is supported:
693
- *
694
- * `csi`: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
695
- *
696
- * **Log component**: Optional. Recommended to enable. If Log Service is not enabled, the cluster audit feature will be unavailable.
697
- *
698
- * - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\",\\"sls_project_name\\":\\"your_sls_project_name\\"}"}] .
699
- * - Create a new `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\"}"}] .
700
- *
701
- * **Ingress component**: Optional. ACK dedicated clusters install the Ingress component `nginx-ingress-controller` by default.
702
- *
703
- * - Install Ingress with public network access: [{"name":"nginx-ingress-controller","config":"{\\"IngressSlbNetworkType\\":\\"internet\\"}"}] .
704
- * - Disable default Ingress installation: [{"name": "nginx-ingress-controller","config": "","disabled": true}] .
705
- *
706
- * **Event center**: Optional. Enabled by default.
707
- *
708
- * The event center provides capabilities for storing, querying, and alerting on Kubernetes events. The Logstore associated with the Kubernetes event center is free for 90 days. For more information about the free policy, see [Create and use the Kubernetes event center](https://help.aliyun.com/document_detail/150476.html).
709
- *
710
- * Example of enabling the event center: [{"name":"ack-node-problem-detector","config":"{\\"sls_project_name\\":\\"your_sls_project_name\\"}"}].
636
+ * The list of cluster components. Use `addons` to specify the components to install when creating a cluster.
711
637
  */
712
638
  addons?: Addon[];
713
639
  /**
714
640
  * @remarks
715
- * ServiceAccount is the access credential for communication between Pods and the cluster API Server. `api-audiences` defines the valid request `token` identities used by the `apiserver` to verify whether the request `token` is legitimate. Multiple `audience` values can be configured, separated by commas (,).
716
- *
717
- * For more details about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
641
+ * A ServiceAccount is the access credential for communication between a pod and the cluster API server. The `api-audiences` parameter specifies the valid request `token` identities used by the `apiserver` to authenticate whether a request `token` is valid. You can specify multiple `audience` values separated by commas (,).
718
642
  *
719
643
  * @example
720
644
  * kubernetes.default.svc
@@ -722,26 +646,17 @@ export class CreateClusterRequest extends $dara.Model {
722
646
  apiAudiences?: string;
723
647
  /**
724
648
  * @remarks
725
- * Cluster audit log configuration.
649
+ * The cluster audit log configuration.
726
650
  */
727
651
  auditLogConfig?: CreateClusterRequestAuditLogConfig;
728
652
  /**
729
653
  * @remarks
730
- * [Intelligent managed mode](https://help.aliyun.com/document_detail/2938898.html) configuration.
654
+ * The [intelligent managed mode](https://help.aliyun.com/document_detail/2938898.html) configuration.
731
655
  */
732
656
  autoMode?: CreateClusterRequestAutoMode;
733
657
  /**
734
658
  * @remarks
735
- * [**This field is deprecated**]
736
- *
737
- * Whether to enable auto-renewal. Only takes effect when `charge_type` is set to `PrePaid`. Valid values:
738
- *
739
- * - `true`: Enable auto-renewal.
740
- * - `false`: Disable auto-renewal.
741
- *
742
- * Default value: `false`.
743
- *
744
- * This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
659
+ * **[Deprecated]**
745
660
  *
746
661
  * @example
747
662
  * true
@@ -751,13 +666,7 @@ export class CreateClusterRequest extends $dara.Model {
751
666
  autoRenew?: boolean;
752
667
  /**
753
668
  * @remarks
754
- * [**This field is deprecated**]
755
- *
756
- * Auto-renewal period. Only takes effect when subscription and auto-renewal are selected. When `PeriodUnit=Month`, valid values: {1, 2, 3, 6, 12}.
757
- *
758
- * Default value: 1.
759
- *
760
- * This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
669
+ * **[Deprecated]**
761
670
  *
762
671
  * @example
763
672
  * 1
@@ -767,19 +676,7 @@ export class CreateClusterRequest extends $dara.Model {
767
676
  autoRenewPeriod?: number;
768
677
  /**
769
678
  * @remarks
770
- * [**This field is deprecated**]
771
- *
772
- * Billing type of the CLB instance used by the API Server. Default value: PostPaid. Valid values:
773
- * - PostPaid: Pay-as-you-go.
774
- * - PrePaid: Subscription. This billing type is no longer supported for newly created CLB instances. Existing instances are not affected.
775
- *
776
- * >Notice:
777
- *
778
- * - This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
779
- * - Starting from December 1, 2024, newly created CLB instances no longer support the subscription billing type, and instance fees will be charged.
780
- * </notice>
781
- * <props="china">For details, see [Product announcement on canceling subscription billing for cluster API Server CLB](https://help.aliyun.com/document_detail/2851191.html) and [CLB billing adjustment announcement](https://help.aliyun.com/document_detail/2839797.html).
782
- * <props="intl">For details, see [CLB billing adjustment announcement](https://help.aliyun.com/document_detail/2839797.html).
679
+ * **[Deprecated]**
783
680
  *
784
681
  * @example
785
682
  * PostPaid
@@ -789,7 +686,7 @@ export class CreateClusterRequest extends $dara.Model {
789
686
  chargeType?: string;
790
687
  /**
791
688
  * @remarks
792
- * [**This field is deprecated**] For cluster control plane configuration, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configuration, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
689
+ * **[Deprecated]** For cluster control plane configuration, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configuration, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
793
690
  *
794
691
  * @example
795
692
  * false
@@ -799,14 +696,7 @@ export class CreateClusterRequest extends $dara.Model {
799
696
  cisEnabled?: boolean;
800
697
  /**
801
698
  * @remarks
802
- * [**This field is deprecated**] For cluster control plane node configuration, use the `cloud_monitor_flags` parameter under `control_plane_config` instead. For node pool configuration, use the `cms_enabled` parameter under `kubernetes_config` in `nodepool` instead.
803
- *
804
- * Whether to install the CloudMonitor agent in the cluster. Valid values:
805
- *
806
- * - `true`: Install the CloudMonitor agent.
807
- * - `false`: Do not install the CloudMonitor agent.
808
- *
809
- * Default value: `false`.
699
+ * **[Deprecated]** For cluster control plane node configuration, use the `cloud_monitor_flags` parameter under `control_plane_config` instead. For node pool configuration, use the `cms_enabled` parameter under `kubernetes_config` in `nodepool` instead.
810
700
  *
811
701
  * @example
812
702
  * false
@@ -816,9 +706,7 @@ export class CreateClusterRequest extends $dara.Model {
816
706
  cloudMonitorFlags?: boolean;
817
707
  /**
818
708
  * @remarks
819
- * Cluster local domain name.
820
- *
821
- * Naming rules: The domain name consists of one or more parts separated by periods (.). Each part can be up to 63 characters long and can contain lowercase letters, digits, and hyphens (-). Each part must start and end with a lowercase letter or digit.
709
+ * The cluster local domain name.
822
710
  *
823
711
  * @example
824
712
  * cluster.local
@@ -826,17 +714,7 @@ export class CreateClusterRequest extends $dara.Model {
826
714
  clusterDomain?: string;
827
715
  /**
828
716
  * @remarks
829
- * After selecting `cluster_type` as `ManagedKubernetes` and configuring `profile`, you can further specify the cluster specification. Valid values:
830
- *
831
- * - `ack.standard`: Basic edition (selected by default when the value is empty)
832
- * - `ack.pro.small`: Pro edition
833
- * - `ack.pro.xlarge`: Pro XL
834
- * - `ack.pro.2xlarge`: Pro 2XL
835
- * - `ack.pro.4xlarge`: Pro 4XL (requires contacting customer service to enable allowlisting)
836
- *
837
- * Pro XL, Pro 2XL, and Pro 4XL are three tiers provided by <props="china">[ACK Pro Provisioned Control Plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro Provisioned Control Plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane). They pre-allocate and fix control plane resources to ensure that API concurrency and Pod scheduling capabilities always remain at a determined high level, suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
838
- *
839
- * For the cluster management fees of Pro edition and provisioned control plane editions, see <props="china">[Cluster management fees](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee)<props="intl">[Cluster management fees](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee).
717
+ * If you set `cluster_type` to `ManagedKubernetes` and configure `profile`, you can further specify the cluster specifications. Valid values:
840
718
  *
841
719
  * @example
842
720
  * ack.pro.small
@@ -845,8 +723,6 @@ export class CreateClusterRequest extends $dara.Model {
845
723
  /**
846
724
  * @remarks
847
725
  * - `Kubernetes`: ACK dedicated cluster.
848
- * - `ManagedKubernetes`: ACK managed cluster types, including ACK managed cluster (Pro and Basic editions), ACK Serverless cluster (Pro and Basic editions), ACK Edge cluster (Pro and Basic editions), and ACK Lingjun cluster (Pro edition).
849
- * - `ExternalKubernetes`: Registered cluster.
850
726
  *
851
727
  * @example
852
728
  * Kubernetes
@@ -854,11 +730,7 @@ export class CreateClusterRequest extends $dara.Model {
854
730
  clusterType?: string;
855
731
  /**
856
732
  * @remarks
857
- * Pod network CIDR block. Must be a valid private CIDR block, specifically the following CIDR blocks and their subnets: 10.0.0.0/8, 172.16-31.0.0/12-16, 192.168.0.0/16. Cannot overlap with the VPC or CIDR blocks used by existing Kubernetes clusters in the VPC. Cannot be modified after creation.
858
- *
859
- * For cluster network planning, see [ACK managed cluster network planning](https://help.aliyun.com/document_detail/86500.html).
860
- *
861
- * > This field is required for Flannel clusters.
733
+ * The pod network CIDR block. It must be a valid private CIDR block, which includes the following CIDR blocks and their subnets: 10.0.0.0/8, 172.16-31.0.0/12-16, and 192.168.0.0/16. It cannot overlap with the CIDR blocks used by the VPC or existing Kubernetes clusters in the VPC. It cannot be modified after the cluster is created.
862
734
  *
863
735
  * @example
864
736
  * 172.20.0.0/16
@@ -866,24 +738,22 @@ export class CreateClusterRequest extends $dara.Model {
866
738
  containerCidr?: string;
867
739
  /**
868
740
  * @remarks
869
- * ACK dedicated cluster control plane configuration.
741
+ * The control plane configuration for ACK dedicated clusters.
870
742
  */
871
743
  controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
872
744
  /**
873
745
  * @remarks
874
- * Cluster connection configuration.
746
+ * The cluster connection configuration.
875
747
  */
876
748
  controlPlaneEndpointsConfig?: CreateClusterRequestControlPlaneEndpointsConfig;
877
749
  /**
878
750
  * @remarks
879
- * List of component names, specifying which control plane components\\" logs to collect.
880
- *
881
- * By default, logs are collected from kube-apiserver, kube-controller-manager, kube-scheduler, and cloud-controller-manager.
751
+ * The list of component names that specifies which control plane components to collect logs from.
882
752
  */
883
753
  controlplaneLogComponents?: string[];
884
754
  /**
885
755
  * @remarks
886
- * Log Service project for control plane component logs. You can use an existing project for log storage or let the system automatically create a project. If you choose to auto-create a Log Service project, a project named `k8s-log-{ClusterID}` will be automatically created.
756
+ * The Simple Log Service project for control plane component logs. You can use an existing project for log storage or allow the system to automatically create a project. If you choose automatic creation, a Simple Log Service project named `k8s-log-{ClusterID}` is automatically created.
887
757
  *
888
758
  * @example
889
759
  * k8s-log-xxx
@@ -891,7 +761,7 @@ export class CreateClusterRequest extends $dara.Model {
891
761
  controlplaneLogProject?: string;
892
762
  /**
893
763
  * @remarks
894
- * Number of days to retain control plane component logs.
764
+ * The number of days for control plane component log retention.
895
765
  *
896
766
  * @example
897
767
  * 30
@@ -899,14 +769,7 @@ export class CreateClusterRequest extends $dara.Model {
899
769
  controlplaneLogTtl?: string;
900
770
  /**
901
771
  * @remarks
902
- * [**This field is deprecated**] For cluster control plane configuration, use the `cpu_policy` parameter under `control_plane_config` instead. For node pool configuration, use the `cpu_policy` parameter under `kubernetes_config` in `nodepool` instead.
903
- *
904
- * Node CPU management policy. The following two policies are supported when the cluster version is 1.12.6 or later:
905
- *
906
- * - `static`: Allows enhancing CPU affinity and exclusivity for Pods with certain resource characteristics on the node.
907
- * - `none`: Enables the existing default CPU affinity scheme.
908
- *
909
- * Default value: `none`.
772
+ * **[Deprecated]** For cluster control plane configuration, use the cpu_policy parameter under `control_plane_config` instead. For node pool configuration, use the cpu_policy parameter under `kubernetes_config` in `nodepool` instead.
910
773
  *
911
774
  * @example
912
775
  * none
@@ -916,9 +779,7 @@ export class CreateClusterRequest extends $dara.Model {
916
779
  cpuPolicy?: string;
917
780
  /**
918
781
  * @remarks
919
- * [**This field is deprecated**] Use the `extra_sans` parameter instead.
920
- *
921
- * Custom certificate SAN. Multiple IPs or domain names are separated by commas (,).
782
+ * **[Deprecated]** Use the `extra_sans` parameter instead.
922
783
  *
923
784
  * @example
924
785
  * cs.aliyun.com
@@ -928,12 +789,7 @@ export class CreateClusterRequest extends $dara.Model {
928
789
  customSan?: string;
929
790
  /**
930
791
  * @remarks
931
- * Cluster deletion protection, which prevents accidental cluster deletion through the console or API. Valid values:
932
- *
933
- * - `true`: Enable cluster deletion protection. The cluster cannot be deleted through the console or API.
934
- * - `false`: Disable cluster deletion protection. The cluster can be deleted through the console or API.
935
- *
936
- * Default value: `false`.
792
+ * Specifies whether to enable deletion protection for the cluster to prevent accidental deletion through the console or API. Valid values:
937
793
  *
938
794
  * @example
939
795
  * true
@@ -941,15 +797,7 @@ export class CreateClusterRequest extends $dara.Model {
941
797
  deletionProtection?: boolean;
942
798
  /**
943
799
  * @remarks
944
- * [**This field is deprecated**] By default, no rollback is performed when cluster creation fails. You need to clean up the failed cluster yourself.
945
- *
946
- * Whether to roll back when cluster creation fails. Valid values:
947
- *
948
- * - `true`: Roll back when cluster creation fails.
949
- * - `false`: Do not roll back when cluster creation fails.
950
- *
951
- *
952
- * Default value: `true`.
800
+ * **[Deprecated]** When cluster creation fails, rollback is not performed by default. You must manually clean up the failed cluster.
953
801
  *
954
802
  * @example
955
803
  * true
@@ -959,13 +807,7 @@ export class CreateClusterRequest extends $dara.Model {
959
807
  disableRollback?: boolean;
960
808
  /**
961
809
  * @remarks
962
- * [**This field is deprecated**] Use the `rrsa_config` parameter instead.
963
- *
964
- * Whether to enable the RRSA feature.
965
- *
966
- * - true: Enable.
967
- *
968
- * - false: Disable.
810
+ * **[Deprecated]** Use the `rrsa_config` parameter instead.
969
811
  *
970
812
  * @example
971
813
  * false
@@ -975,9 +817,7 @@ export class CreateClusterRequest extends $dara.Model {
975
817
  enableRrsa?: boolean;
976
818
  /**
977
819
  * @remarks
978
- * KMS key ID. This key is used to encrypt data disks. For more details, see [Key Management Service](https://help.aliyun.com/document_detail/28935.html).
979
- *
980
- * > This feature only takes effect in professional managed clusters (ACK Pro clusters).
820
+ * The KMS key ID used to encrypt data cloud disks. For more information, see [Key Management Service](https://help.aliyun.com/document_detail/28935.html).
981
821
  *
982
822
  * @example
983
823
  * 0fe64791-55eb-4fc7-84c5-c6c7cdca****
@@ -985,12 +825,7 @@ export class CreateClusterRequest extends $dara.Model {
985
825
  encryptionProviderKey?: string;
986
826
  /**
987
827
  * @remarks
988
- * Whether to enable public access. Expose the API Server through an EIP to enable public access to the cluster.
989
- *
990
- * - `true`: Enable public access.
991
- * - `false`: Disable public access. When disabled, the cluster API Server cannot be accessed from the Internet.
992
- *
993
- * Default value: `false`.
828
+ * Specifies whether to public network access. The API Server is exposed through an EIP to public network access to the cluster.
994
829
  *
995
830
  * @example
996
831
  * true
@@ -998,25 +833,12 @@ export class CreateClusterRequest extends $dara.Model {
998
833
  endpointPublicAccess?: boolean;
999
834
  /**
1000
835
  * @remarks
1001
- * Custom API Server certificate SAN (Subject Alternative Name).
836
+ * The custom API Server certificate SAN (Subject Alternative Name).
1002
837
  */
1003
838
  extraSans?: string[];
1004
839
  /**
1005
840
  * @remarks
1006
- * [**This field is deprecated**] Selecting existing nodes when creating a cluster is no longer supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) API.
1007
- *
1008
- * Whether to mount data disks on instances when creating a cluster with existing instances. Valid values:
1009
- *
1010
- * - `true`: Store containers and images on the data disk. Existing data on the data disk will be lost. Please back up your data.
1011
- *
1012
- * - `false`: Do not store containers and images on the data disk.
1013
- *
1014
- * Default value: `false`.
1015
- *
1016
- * Data disk mounting rules:
1017
- *
1018
- * - If the ECS instance already has data disks mounted and the file system of the last data disk is not initialized, the system will automatically format the data disk as ext4 to store /var/lib/docker and /var/lib/kubelet.
1019
- * - If the ECS instance has no data disks mounted, no new data disk will be mounted.
841
+ * **[Deprecated]** Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
1020
842
  *
1021
843
  * @example
1022
844
  * false
@@ -1026,9 +848,7 @@ export class CreateClusterRequest extends $dara.Model {
1026
848
  formatDisk?: boolean;
1027
849
  /**
1028
850
  * @remarks
1029
- * [**This field is deprecated**] For cluster control plane configuration, use the `image_id` parameter under `control_plane_config` instead. For node pool configuration, use the `image_id` parameter under `scaling_group` in `nodepool` instead.
1030
- *
1031
- * Custom node image. The system image is used by default. When a custom image is selected, it replaces the default system image. See [Custom images](https://help.aliyun.com/document_detail/146647.html).
851
+ * **[Deprecated]** For cluster control plane configuration, use the `image_id` parameter under `control_plane_config` instead. For node pool configuration, use the `image_id` parameter under `scaling_group` in `nodepool` instead.
1032
852
  *
1033
853
  * @example
1034
854
  * m-bp16z7xko3vvv8gt****
@@ -1038,21 +858,7 @@ export class CreateClusterRequest extends $dara.Model {
1038
858
  imageId?: string;
1039
859
  /**
1040
860
  * @remarks
1041
- * [**This field is deprecated**] For cluster control plane configuration, use the `image_type` parameter under `control_plane_config` instead. For node pool configuration, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
1042
- *
1043
- * OS distribution type. It is recommended to use this field to specify the node OS. Valid values:
1044
- *
1045
- * - CentOS
1046
- * - AliyunLinux
1047
- * - AliyunLinux Qboot
1048
- * - AliyunLinuxUEFI
1049
- * - AliyunLinux3
1050
- * - Windows
1051
- * - WindowsCore
1052
- * - AliyunLinux3Arm64
1053
- * - ContainerOS
1054
- *
1055
- * Default value: `CentOS`.
861
+ * **[Deprecated]** For cluster control plane configuration, use the `image_type` parameter under `control_plane_config` instead. For node pool configuration, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
1056
862
  *
1057
863
  * @example
1058
864
  * AliyunLinux
@@ -1062,36 +868,22 @@ export class CreateClusterRequest extends $dara.Model {
1062
868
  imageType?: string;
1063
869
  /**
1064
870
  * @remarks
1065
- * [**This field is deprecated**] Selecting existing nodes when creating a cluster is no longer supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) API.
1066
- *
1067
- *
1068
- * When creating a cluster with existing nodes, you need to specify a list of ECS instances. These instances will join the cluster as Worker nodes.
1069
- *
1070
- * > This field is required when creating a cluster with existing instances.
871
+ * **[Deprecated]** Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
1071
872
  *
1072
873
  * @deprecated
1073
874
  */
1074
875
  instances?: string[];
1075
876
  /**
1076
877
  * @remarks
1077
- * Cluster IP stack.
878
+ * The IP stack of the cluster.
1078
879
  *
1079
880
  * @example
1080
- * 可选值:
1081
- * ipv4(单栈)
1082
- * dual(双栈),默认值为ipv4。
881
+ * Valid values:
1083
882
  */
1084
883
  ipStack?: string;
1085
884
  /**
1086
885
  * @remarks
1087
- * Automatically create an enterprise security group. Takes effect when `security_group_id` is empty.
1088
- *
1089
- * > When using a basic security group, the total number of nodes and Terway Pods in the cluster cannot exceed 2000. Therefore, when creating a Terway network type cluster, it is recommended to use an enterprise security group.
1090
- *
1091
- * - `true`: Create and use an enterprise security group.
1092
- * - `false`: Use a basic security group.
1093
- *
1094
- * Default value: `true`.
886
+ * Specifies whether to enable automatic creation of an advanced security group. This parameter takes effect only when `security_group_id` is empty.
1095
887
  *
1096
888
  * @example
1097
889
  * true
@@ -1099,14 +891,7 @@ export class CreateClusterRequest extends $dara.Model {
1099
891
  isEnterpriseSecurityGroup?: boolean;
1100
892
  /**
1101
893
  * @remarks
1102
- * [**This field is deprecated**] Selecting existing nodes when creating a cluster is no longer supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) API.
1103
- *
1104
- * Whether to retain instance names when creating a cluster with existing instances.
1105
- *
1106
- * - `true`: Retain.
1107
- * - `false`: Do not retain. Names will be replaced using system rules.
1108
- *
1109
- * Default value: `true`.
894
+ * **[Deprecated]** Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
1110
895
  *
1111
896
  * @example
1112
897
  * true
@@ -1116,9 +901,7 @@ export class CreateClusterRequest extends $dara.Model {
1116
901
  keepInstanceName?: boolean;
1117
902
  /**
1118
903
  * @remarks
1119
- * [**This field is deprecated**] For cluster control plane configuration, use the `key_pair` parameter under `control_plane_config` instead. For node pool configuration, use the `key_pair` parameter under `scaling_group` in `nodepool` instead.
1120
- *
1121
- * Key pair name. Mutually exclusive with `login_password`.
904
+ * **[Deprecated]** For cluster control plane configuration, use the key_pair parameter under `control_plane_config` instead. For node pool configuration, use the key_pair parameter under `scaling_group` in `nodepool` instead.
1122
905
  *
1123
906
  * @example
1124
907
  * security-key
@@ -1128,11 +911,7 @@ export class CreateClusterRequest extends $dara.Model {
1128
911
  keyPair?: string;
1129
912
  /**
1130
913
  * @remarks
1131
- * Cluster version, consistent with the Kubernetes community baseline version. We recommend selecting the latest version. If not specified, the latest version is used by default.
1132
- *
1133
- * You can create clusters of the three most recent versions. You can query supported cluster versions through the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) API.
1134
- *
1135
- * For Kubernetes versions supported by ACK, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
914
+ * The cluster version, which is consistent with the Kubernetes community baseline version. Use the latest version. If you do not specify this parameter, the latest version is used by default.
1136
915
  *
1137
916
  * @example
1138
917
  * 1.32.1-aliyun.1
@@ -1140,8 +919,7 @@ export class CreateClusterRequest extends $dara.Model {
1140
919
  kubernetesVersion?: string;
1141
920
  /**
1142
921
  * @remarks
1143
- * Specify the CLB instance ID for API Server access. When this parameter is specified, an API Server CLB will not be automatically created.
1144
- * > Ensure that the CLB instance has no other dependencies (such as listeners or backend servers). Shared and public-network CLB instances are not supported.
922
+ * The CLB instance ID used for API Server access. When this parameter is specified, automatic creation of the API Server CLB is skipped.
1145
923
  *
1146
924
  * @example
1147
925
  * lb-wz9t256gqa3vbouk****
@@ -1149,17 +927,7 @@ export class CreateClusterRequest extends $dara.Model {
1149
927
  loadBalancerId?: string;
1150
928
  /**
1151
929
  * @remarks
1152
- * [**This parameter is deprecated**] CLB is billed by usage. This parameter does not take effect.
1153
- *
1154
- * Load balancer specification. Valid values:
1155
- * - slb.s1.small
1156
- * - slb.s2.small
1157
- * - slb.s2.medium
1158
- * - slb.s3.small
1159
- * - slb.s3.medium
1160
- * - slb.s3.large
1161
- *
1162
- * Default value: `slb.s2.small`.
930
+ * **[Deprecated]** CLB is billed on a pay-by-usage basis. This parameter does not take effect.
1163
931
  *
1164
932
  * @example
1165
933
  * slb.s2.small
@@ -1169,7 +937,7 @@ export class CreateClusterRequest extends $dara.Model {
1169
937
  loadBalancerSpec?: string;
1170
938
  /**
1171
939
  * @remarks
1172
- * [**This field is deprecated**] Enable Log Service for the cluster. Only takes effect for ACK Serverless clusters, and the value must be `SLS`.
940
+ * **[Deprecated]** Enables the log service for the cluster. This parameter takes effect only for ACK Serverless clusters, and the value must be `SLS`.
1173
941
  *
1174
942
  * @example
1175
943
  * SLS
@@ -1179,9 +947,7 @@ export class CreateClusterRequest extends $dara.Model {
1179
947
  loggingType?: string;
1180
948
  /**
1181
949
  * @remarks
1182
- * [**This field is deprecated**] For cluster control plane configuration, use the `login_password` parameter under `control_plane_config` instead. For node pool configuration, use the `login_password` parameter under `scaling_group` in `nodepool` instead.
1183
- *
1184
- * SSH login password. Mutually exclusive with `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters.
950
+ * **[Deprecated]** For cluster control plane configuration, use the login_password parameter under `control_plane_config` instead. For node pool configuration, use the login_password parameter under `scaling_group` in `nodepool` instead.
1185
951
  *
1186
952
  * @example
1187
953
  * null
@@ -1191,19 +957,12 @@ export class CreateClusterRequest extends $dara.Model {
1191
957
  loginPassword?: string;
1192
958
  /**
1193
959
  * @remarks
1194
- * Cluster maintenance window.
960
+ * The cluster maintenance window.
1195
961
  */
1196
962
  maintenanceWindow?: MaintenanceWindow;
1197
963
  /**
1198
964
  * @remarks
1199
- * [**This field is deprecated**] For cluster control plane configuration, use the `auto_renew` parameter under `control_plane_config` instead.
1200
- *
1201
- * Whether to enable auto-renewal for Master nodes. Only takes effect when `master_instance_charge_type` is set to `PrePaid`. Valid values:
1202
- *
1203
- * - `true`: Enable auto-renewal.
1204
- * - `false`: Disable auto-renewal.
1205
- *
1206
- * Default value: `true`.
965
+ * **[Deprecated]** For cluster control plane configuration, use the auto_renew parameter under `control_plane_config` instead.
1207
966
  *
1208
967
  * @example
1209
968
  * true
@@ -1213,13 +972,7 @@ export class CreateClusterRequest extends $dara.Model {
1213
972
  masterAutoRenew?: boolean;
1214
973
  /**
1215
974
  * @remarks
1216
- * [**This field is deprecated**] For cluster control plane configuration, use the `auto_renew_period` parameter under `control_plane_config` instead.
1217
- *
1218
- * Master node auto-renewal period. Only takes effect when subscription billing type is selected, and is a required value.
1219
- *
1220
- * Valid values: {1, 2, 3, 6, 12}.
1221
- *
1222
- * Default value: 1.
975
+ * **[Deprecated]** For cluster control plane configuration, use the auto_renew_period parameter under `control_plane_config` instead.
1223
976
  *
1224
977
  * @example
1225
978
  * 1
@@ -1229,11 +982,7 @@ export class CreateClusterRequest extends $dara.Model {
1229
982
  masterAutoRenewPeriod?: number;
1230
983
  /**
1231
984
  * @remarks
1232
- * [**This field is deprecated**] For cluster control plane configuration, use the `size` parameter under `control_plane_config` instead.
1233
- *
1234
- * Number of Master nodes. Valid values: `3` or `5`.
1235
- *
1236
- * Default value: `3`.
985
+ * **[Deprecated]** For cluster control plane configuration, use the size parameter under `control_plane_config` instead.
1237
986
  *
1238
987
  * @example
1239
988
  * 3
@@ -1243,14 +992,7 @@ export class CreateClusterRequest extends $dara.Model {
1243
992
  masterCount?: number;
1244
993
  /**
1245
994
  * @remarks
1246
- * [**This field is deprecated**] For cluster control plane configuration, use the `instance_charge_type` parameter under `control_plane_config` instead.
1247
- *
1248
- * Master node billing type. Valid values:
1249
- *
1250
- * - `PrePaid`: Subscription.
1251
- * - `PostPaid`: Pay-as-you-go.
1252
- *
1253
- * Default value: `PostPaid`.
995
+ * **[Deprecated]** For cluster control plane configuration, use the instance_charge_type parameter under `control_plane_config` instead.
1254
996
  *
1255
997
  * @example
1256
998
  * PrePaid
@@ -1260,22 +1002,14 @@ export class CreateClusterRequest extends $dara.Model {
1260
1002
  masterInstanceChargeType?: string;
1261
1003
  /**
1262
1004
  * @remarks
1263
- * [**This field is deprecated**] For cluster control plane configuration, use the `instance_types` parameter under `control_plane_config` instead.
1264
- *
1265
- * Master node instance types. For more information, see [Instance family](https://help.aliyun.com/document_detail/25378.html).
1005
+ * **[Deprecated]** For cluster control plane configuration, use the instance_types parameter under `control_plane_config` instead.
1266
1006
  *
1267
1007
  * @deprecated
1268
1008
  */
1269
1009
  masterInstanceTypes?: string[];
1270
1010
  /**
1271
1011
  * @remarks
1272
- * [**This field is deprecated**] For cluster control plane configuration, use the `unit` parameter under `control_plane_config` instead.
1273
- *
1274
- * Master node subscription duration. Valid and required when `master_instance_charge_type` is set to `PrePaid`.
1275
- *
1276
- * Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
1277
- *
1278
- * Default value: 1.
1012
+ * **[Deprecated]** For cluster control plane configuration, use the `unit` parameter under `control_plane_config` instead.
1279
1013
  *
1280
1014
  * @example
1281
1015
  * 1
@@ -1285,11 +1019,7 @@ export class CreateClusterRequest extends $dara.Model {
1285
1019
  masterPeriod?: number;
1286
1020
  /**
1287
1021
  * @remarks
1288
- * [**This field is deprecated**] For cluster control plane configuration, use the `period_unit` parameter under `control_plane_config` instead.
1289
- *
1290
- * Master node billing period. Must be specified when the billing type is `PrePaid`.
1291
- *
1292
- * Valid value: `Month`. Currently, only month-based periods are supported.
1022
+ * **[Deprecated]** For cluster control plane configuration, use the period_unit parameter under `control_plane_config` instead.
1293
1023
  *
1294
1024
  * @example
1295
1025
  * Month
@@ -1299,15 +1029,7 @@ export class CreateClusterRequest extends $dara.Model {
1299
1029
  masterPeriodUnit?: string;
1300
1030
  /**
1301
1031
  * @remarks
1302
- * [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_category` parameter under `control_plane_config` instead.
1303
- *
1304
- * Master node system disk type. Valid values:
1305
- *
1306
- * - `cloud_efficiency`: Ultra disk.
1307
- * - `cloud_ssd`: SSD disk.
1308
- * - `cloud_essd`: ESSD disk.
1309
- *
1310
- * Default value: `cloud_ssd`. The default value may vary across availability zones.
1032
+ * **[Deprecated]** For cluster control plane configuration, use the system_disk_category parameter under `control_plane_config` instead.
1311
1033
  *
1312
1034
  * @example
1313
1035
  * cloud_ssd
@@ -1317,9 +1039,7 @@ export class CreateClusterRequest extends $dara.Model {
1317
1039
  masterSystemDiskCategory?: string;
1318
1040
  /**
1319
1041
  * @remarks
1320
- * [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_performance_level` parameter under `control_plane_config` instead.
1321
- *
1322
- * Cluster Master node system disk performance level. Only takes effect for ESSD disks. The performance level is related to the disk size. For more information, see [ESSD disk](https://help.aliyun.com/document_detail/122389.html).
1042
+ * **[Deprecated]** For cluster control plane configuration, use the system_disk_performance_level parameter under `control_plane_config` instead.
1323
1043
  *
1324
1044
  * @example
1325
1045
  * PL1
@@ -1329,11 +1049,7 @@ export class CreateClusterRequest extends $dara.Model {
1329
1049
  masterSystemDiskPerformanceLevel?: string;
1330
1050
  /**
1331
1051
  * @remarks
1332
- * [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_size` parameter under `control_plane_config` instead.
1333
- *
1334
- * Master node system disk size. Valid values: [40, 500\\]. Unit: GiB.
1335
- *
1336
- * Default value: `120`.
1052
+ * **[Deprecated]** For cluster control plane configuration, use the system_disk_size parameter under `control_plane_config` instead.
1337
1053
  *
1338
1054
  * @example
1339
1055
  * 120
@@ -1343,9 +1059,7 @@ export class CreateClusterRequest extends $dara.Model {
1343
1059
  masterSystemDiskSize?: number;
1344
1060
  /**
1345
1061
  * @remarks
1346
- * [**This field is deprecated**] For cluster control plane configuration, use the `system_disk_snapshot_policy_id` parameter under `control_plane_config` instead.
1347
- *
1348
- * Automatic snapshot policy ID for the Master node system disk.
1062
+ * **[Deprecated]** For cluster control plane configuration, use the system_disk_snapshot_policy_id parameter under `control_plane_config` instead.
1349
1063
  *
1350
1064
  * @example
1351
1065
  * sp-2zej1nogjvovnz4z****
@@ -1355,18 +1069,14 @@ export class CreateClusterRequest extends $dara.Model {
1355
1069
  masterSystemDiskSnapshotPolicyId?: string;
1356
1070
  /**
1357
1071
  * @remarks
1358
- * [**This field is deprecated**] Use the `vswitch_ids` parameter instead.
1359
- *
1360
- * List of Master node vSwitch IDs. The number of vSwitches ranges from [1, 3\\]. To ensure high availability of the cluster, it is recommended to select 3 vSwitches distributed in different availability zones.
1361
- *
1362
- * The number of specified instance types must be consistent with `master_count` and correspond one-to-one with the elements in `master_vswitch_ids`.
1072
+ * **[Deprecated]** Use the `vswitch_ids` parameter instead.
1363
1073
  *
1364
1074
  * @deprecated
1365
1075
  */
1366
1076
  masterVswitchIds?: string[];
1367
1077
  /**
1368
1078
  * @remarks
1369
- * Custom cluster name. Consists of digits, Chinese characters, English characters, or hyphens (-), with a length of 1 to 63 characters, and cannot start with a hyphen (-).
1079
+ * The custom cluster name. The name must be 1 to 63 characters in length and can contain digits, Chinese characters, letters, and hyphens (-). It cannot start with a hyphen (-).
1370
1080
  *
1371
1081
  * This parameter is required.
1372
1082
  *
@@ -1376,7 +1086,7 @@ export class CreateClusterRequest extends $dara.Model {
1376
1086
  name?: string;
1377
1087
  /**
1378
1088
  * @remarks
1379
- * [**This field is deprecated**] Use the `snat_entry` parameter instead.
1089
+ * **[Deprecated]** Use the `snat_entry` parameter instead.
1380
1090
  *
1381
1091
  * @example
1382
1092
  * true
@@ -1386,9 +1096,7 @@ export class CreateClusterRequest extends $dara.Model {
1386
1096
  natGateway?: boolean;
1387
1097
  /**
1388
1098
  * @remarks
1389
- * Number of node IPs, determined by specifying the network CIDR. Only takes effect for Flannel network type clusters.
1390
- *
1391
- * Default value: `26`.
1099
+ * The number of node IP addresses, determined by specifying the network CIDR block. This parameter takes effect only for Flannel network type clusters.
1392
1100
  *
1393
1101
  * @example
1394
1102
  * 25
@@ -1396,7 +1104,7 @@ export class CreateClusterRequest extends $dara.Model {
1396
1104
  nodeCidrMask?: string;
1397
1105
  /**
1398
1106
  * @remarks
1399
- * [**This field is deprecated**] For node pool configuration, use the `node_name_mode` parameter under `kubernetes_config` in `nodepool` instead.
1107
+ * **[Deprecated]** For node pool configuration, use the `node_name_mode` parameter under `kubernetes_config` in `nodepool` instead.
1400
1108
  *
1401
1109
  * @example
1402
1110
  * null
@@ -1406,9 +1114,7 @@ export class CreateClusterRequest extends $dara.Model {
1406
1114
  nodeNameMode?: string;
1407
1115
  /**
1408
1116
  * @remarks
1409
- * Node service ports. Valid port range: [30000, 65535\\].
1410
- *
1411
- * Default value: `30000-32767`.
1117
+ * The node service port. Valid port range: [30000,65535\\].
1412
1118
  *
1413
1119
  * @example
1414
1120
  * 30000~32767
@@ -1418,14 +1124,12 @@ export class CreateClusterRequest extends $dara.Model {
1418
1124
  nodePortRange?: string;
1419
1125
  /**
1420
1126
  * @remarks
1421
- * Node pool list.
1127
+ * The list of node pools.
1422
1128
  */
1423
1129
  nodepools?: Nodepool[];
1424
1130
  /**
1425
1131
  * @remarks
1426
- * [**This field is deprecated**] For node pool configuration, use the `desired_size` parameter under `scaling_group` in `nodepool` instead.
1427
- *
1428
- * Number of Worker nodes. Range: [0, 100\\].
1132
+ * **[Deprecated]** For node pool configuration, use the desired_size parameter under `scaling_group` in `nodepool` instead.
1429
1133
  *
1430
1134
  * @example
1431
1135
  * 3
@@ -1435,18 +1139,12 @@ export class CreateClusterRequest extends $dara.Model {
1435
1139
  numOfNodes?: number;
1436
1140
  /**
1437
1141
  * @remarks
1438
- * Cluster automatic O&M policy.
1142
+ * The cluster automatic O&M policy.
1439
1143
  */
1440
1144
  operationPolicy?: CreateClusterRequestOperationPolicy;
1441
1145
  /**
1442
1146
  * @remarks
1443
- * [**This field is deprecated**] For cluster control plane node configuration, use the `image_type` parameter under `control_plane_config` instead. For node pool configuration, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
1444
- *
1445
- * OS platform type. Valid values:
1446
- * - Windows
1447
- * - Linux
1448
- *
1449
- * Default value: `Linux`.
1147
+ * **[Deprecated]** For cluster control plane node configuration, use the `image_type` parameter under `control_plane_config` instead. For node pool configuration, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
1450
1148
  *
1451
1149
  * @example
1452
1150
  * Linux
@@ -1456,15 +1154,7 @@ export class CreateClusterRequest extends $dara.Model {
1456
1154
  osType?: string;
1457
1155
  /**
1458
1156
  * @remarks
1459
- * [**This field is deprecated**]
1460
- *
1461
- * Purchase duration. Subscription duration. Valid and required when charge_type is set to PrePaid.
1462
- *
1463
- * Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
1464
- *
1465
- * Default value: 1.
1466
- *
1467
- * This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
1157
+ * **[Deprecated]**
1468
1158
  *
1469
1159
  * @example
1470
1160
  * 1
@@ -1474,13 +1164,7 @@ export class CreateClusterRequest extends $dara.Model {
1474
1164
  period?: number;
1475
1165
  /**
1476
1166
  * @remarks
1477
- * [**This field is deprecated**]
1478
- *
1479
- * Billing period. Must be specified when the billing type is PrePaid.
1480
- *
1481
- * Valid value: Month. Currently, only month-based periods are supported.
1482
- *
1483
- * This field was changed on October 15, 2024. For more information, see [Announcement on CreateCluster API parameter behavior changes](https://help.aliyun.com/document_detail/2849194.html).
1167
+ * **[Deprecated]**
1484
1168
  *
1485
1169
  * @example
1486
1170
  * Month
@@ -1490,18 +1174,7 @@ export class CreateClusterRequest extends $dara.Model {
1490
1174
  periodUnit?: string;
1491
1175
  /**
1492
1176
  * @remarks
1493
- * [**This field is deprecated**] For node pool configuration, use the `platform` parameter under `scaling_group` in `nodepool` instead.
1494
- *
1495
- * OS distribution. Valid values:
1496
- *
1497
- * - CentOS
1498
- * - AliyunLinux
1499
- * - QbootAliyunLinux
1500
- * - Qboot
1501
- * - Windows
1502
- * - WindowsCore
1503
- *
1504
- * Default value: `CentOS`.
1177
+ * **[Deprecated]** For node pool configuration, use the `platform` parameter under `scaling_group` in `nodepool` instead.
1505
1178
  *
1506
1179
  * @example
1507
1180
  * CentOS
@@ -1511,19 +1184,14 @@ export class CreateClusterRequest extends $dara.Model {
1511
1184
  platform?: string;
1512
1185
  /**
1513
1186
  * @remarks
1514
- * [**This field is deprecated**] When using the Terway network plugin, you need to specify vSwitches for Pod IP allocation. Each Pod vSwitch corresponds to a Worker node vSwitch, and the availability zones of Pod vSwitches and Worker node vSwitches must be consistent.
1515
- * > The CIDR mask of Pod vSwitches should not exceed 19 and must not exceed 25; otherwise, the available Pod IP addresses in the cluster network will be very limited, affecting normal cluster usage.
1187
+ * **[Deprecated]** When you select Terway as the network plugin, you must specify vSwitches for pod IP address allocation. Each pod vSwitch corresponds to a worker node vSwitch, and the pod vSwitch and the worker node vSwitch must be in the same zone.
1516
1188
  *
1517
1189
  * @deprecated
1518
1190
  */
1519
1191
  podVswitchIds?: string[];
1520
1192
  /**
1521
1193
  * @remarks
1522
- * When `cluster_type` is set to `ManagedKubernetes`, you can further specify the cluster subtype.
1523
- * - `Default`: ACK managed cluster, including ACK cluster (Pro and Basic editions).
1524
- * - `Edge`: ACK Edge cluster, including ACK Edge cluster (Pro and Basic editions).
1525
- * - `Serverless`: ACK Serverless cluster, including ACK Serverless cluster (Pro and Basic editions).
1526
- * - `Lingjun`: ACK Lingjun cluster, available in Pro edition.
1194
+ * If you set `cluster_type` to `ManagedKubernetes`, which indicates an ACK managed cluster, you can further specify the cluster subtype.
1527
1195
  *
1528
1196
  * @example
1529
1197
  * Default
@@ -1531,14 +1199,7 @@ export class CreateClusterRequest extends $dara.Model {
1531
1199
  profile?: string;
1532
1200
  /**
1533
1201
  * @remarks
1534
- * kube-proxy mode
1535
- *
1536
- * - `iptables`: A mature and stable kube-proxy mode. Kubernetes Service discovery and load balancing are configured using iptables rules. Performance is average and significantly affected by scale, suitable for clusters with a small number of Services.
1537
- * - `ipvs`: A high-performance kube-proxy mode. Kubernetes Service discovery and load balancing are configured using the Linux IPVS module, suitable for clusters with a large number of Services that require high-performance load balancing.
1538
- * - `nftables`: Next-generation kube-proxy mode based on Linux nftables for Service discovery and load balancing. It is a modern replacement for iptables. Compared to iptables, nftables performs better in network performance, rule update efficiency, and large-scale Service scenarios.
1539
- * Only supported for clusters of version 1.35 and above. The Kubernetes community deprecated IPVS starting from version 1.35. It is recommended to use nftables for new clusters for longer-term community support.
1540
- *
1541
- * Default value: `ipvs`.
1202
+ * The kube-proxy proxy mode.
1542
1203
  *
1543
1204
  * @example
1544
1205
  * ipvs
@@ -1546,16 +1207,14 @@ export class CreateClusterRequest extends $dara.Model {
1546
1207
  proxyMode?: string;
1547
1208
  /**
1548
1209
  * @remarks
1549
- * [**This field is deprecated**] For node pool configuration, use the `rds_instances` parameter under `scaling_group` in `nodepool` instead.
1550
- *
1551
- * List of RDS instances. Select the RDS instances you want to add to the whitelist. It is recommended to add the container Pod CIDR block and Node CIDR block in RDS. Setting RDS instances may fail to pop up due to non-running instance status.
1210
+ * **[Deprecated]** For node pool configuration, use the `rds_instances` parameter under `scaling_group` in `nodepool` instead.
1552
1211
  *
1553
1212
  * @deprecated
1554
1213
  */
1555
1214
  rdsInstances?: string[];
1556
1215
  /**
1557
1216
  * @remarks
1558
- * The region ID where the cluster is located. For details, see [Regions supported by Container Service](https://help.aliyun.com/document_detail/216938.html).
1217
+ * The region ID of the cluster. For details, see [Regions supported by container service](https://help.aliyun.com/document_detail/216938.html).
1559
1218
  *
1560
1219
  * This parameter is required.
1561
1220
  *
@@ -1565,7 +1224,7 @@ export class CreateClusterRequest extends $dara.Model {
1565
1224
  regionId?: string;
1566
1225
  /**
1567
1226
  * @remarks
1568
- * The resource group ID to which the cluster belongs, used for isolating different resources.
1227
+ * The resource group ID of the cluster, which is used to isolate different resources.
1569
1228
  *
1570
1229
  * @example
1571
1230
  * rg-acfm3mkrure****
@@ -1573,22 +1232,19 @@ export class CreateClusterRequest extends $dara.Model {
1573
1232
  resourceGroupId?: string;
1574
1233
  /**
1575
1234
  * @remarks
1576
- * RRSA feature configuration.
1235
+ * The RRSA feature configuration.
1577
1236
  */
1578
1237
  rrsaConfig?: CreateClusterRequestRrsaConfig;
1579
1238
  /**
1580
1239
  * @remarks
1581
- * Container runtime in the cluster. Supports containerd, sandboxed containers, and Docker.
1582
- * > Kubernetes 1.24 no longer supports Docker as a built-in container runtime.
1583
- *
1584
- * For more information, see [Comparison of Docker, containerd, and sandboxed container runtimes](https://help.aliyun.com/document_detail/160313.html).
1240
+ * The container runtime in the cluster. Supported runtimes include containerd, sandboxed containers, and Docker.
1585
1241
  *
1586
1242
  * @deprecated
1587
1243
  */
1588
1244
  runtime?: Runtime;
1589
1245
  /**
1590
1246
  * @remarks
1591
- * Specify the security group ID when creating a cluster with an existing security group. Mutually exclusive with `is_enterprise_security_group`. Cluster nodes are automatically added to this security group.
1247
+ * The security group ID. Specify this parameter when you use an existing security group to create a cluster. This parameter and `is_enterprise_security_group` are mutually exclusive. Cluster nodes are automatically added to this security group.
1592
1248
  *
1593
1249
  * @example
1594
1250
  * sg-bp1bdue0qc1g7k****
@@ -1596,14 +1252,7 @@ export class CreateClusterRequest extends $dara.Model {
1596
1252
  securityGroupId?: string;
1597
1253
  /**
1598
1254
  * @remarks
1599
- * [**This field is deprecated**] For cluster control plane configuration, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configuration, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
1600
- *
1601
- * Alibaba Cloud OS security hardening. Valid values:
1602
- *
1603
- * - `true`: Enable Alibaba Cloud OS security hardening.
1604
- * - `false`: Disable Alibaba Cloud OS security hardening.
1605
- *
1606
- * Default value: `false`.
1255
+ * **[Deprecated]** For cluster control plane configuration, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configuration, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
1607
1256
  *
1608
1257
  * @example
1609
1258
  * false
@@ -1613,9 +1262,7 @@ export class CreateClusterRequest extends $dara.Model {
1613
1262
  securityHardeningOs?: boolean;
1614
1263
  /**
1615
1264
  * @remarks
1616
- * ServiceAccount is the access credential for communication between Pods and the cluster API Server. `service-account-issuer` is the issuer identity in the `serviceaccount token`, i.e., the `iss` field in the `token payload`.
1617
- *
1618
- * For more details about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
1265
+ * A ServiceAccount is the access credential for communication between a pod and the cluster API server. The `service-account-issuer` is the issuer identity in the `serviceaccount token`, which is the `iss` field in the `token payload`.
1619
1266
  *
1620
1267
  * @example
1621
1268
  * kubernetes.default.svc
@@ -1623,9 +1270,7 @@ export class CreateClusterRequest extends $dara.Model {
1623
1270
  serviceAccountIssuer?: string;
1624
1271
  /**
1625
1272
  * @remarks
1626
- * Service network CIDR block. Valid ranges: 10.0.0.0/16-24, 172.16-31.0.0/16-24, 192.168.0.0/16-24. Cannot overlap with VPC CIDR block 10.1.0.0/21 or CIDR blocks used by existing Kubernetes clusters in the VPC. Cannot be modified after creation.
1627
- *
1628
- * Default value: 172.19.0.0/20.
1273
+ * The Service network CIDR block. Valid ranges: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24.
1629
1274
  *
1630
1275
  * @example
1631
1276
  * 172.21.0.0/20
@@ -1633,26 +1278,14 @@ export class CreateClusterRequest extends $dara.Model {
1633
1278
  serviceCidr?: string;
1634
1279
  /**
1635
1280
  * @remarks
1636
- * [**This field is deprecated**] Service discovery type within the cluster, used to specify the service discovery method in `ACK Serverless` clusters.
1637
- *
1638
- * - `CoreDNS`: Uses the Kubernetes native standard service discovery component CoreDNS. A set of containers needs to be deployed in the cluster for DNS resolution. By default, two ECI instances with 0.25 Core 512 MiB specifications are used.
1639
- * - `PrivateZone`: Uses the Alibaba Cloud PrivateZone product for service discovery capabilities. The PrivateZone service needs to be enabled.
1640
- *
1641
- * Default value: Not enabled.
1281
+ * **[Deprecated]** The service discovery types within the cluster, used to specify the service discovery method in `ACK Serverless` clusters.
1642
1282
  *
1643
1283
  * @deprecated
1644
1284
  */
1645
1285
  serviceDiscoveryTypes?: string[];
1646
1286
  /**
1647
1287
  * @remarks
1648
- * Configure SNAT for the VPC. Valid values:
1649
- *
1650
- * - `true`: Automatically create a NAT gateway and configure SNAT rules. Set to `true` if nodes and applications in the cluster need to access the Internet.
1651
- * - `false`: Do not create a NAT gateway or SNAT rules. Nodes and applications in the cluster will not be able to access the Internet.
1652
- *
1653
- * > If not enabled during cluster creation and the business later requires Internet access, you can [manually enable it](https://help.aliyun.com/document_detail/178480.html).
1654
- *
1655
- * Default value: `false`.
1288
+ * Specifies whether to configure SNAT for the VPC. Valid values:
1656
1289
  *
1657
1290
  * @example
1658
1291
  * false
@@ -1660,15 +1293,7 @@ export class CreateClusterRequest extends $dara.Model {
1660
1293
  snatEntry?: boolean;
1661
1294
  /**
1662
1295
  * @remarks
1663
- * [**This field is deprecated**] For cluster control plane node configuration, use the `soc_enabled` parameter under `control_plane_config` instead. For node pool configuration, use the `soc_enabled` parameter under `scaling_group` in `nodepool` instead.
1664
- *
1665
- * Classified protection hardening. For more information, see [ACK classified protection hardening user guide](https://help.aliyun.com/document_detail/196148.html).
1666
- *
1667
- * Valid values:
1668
- * - `true`: Enable classified protection hardening.
1669
- * - `false`: Disable classified protection hardening.
1670
- *
1671
- * Default value: `false`.
1296
+ * **[Deprecated]** For cluster control plane node configuration, use the `soc_enabled` parameter under `control_plane_config` instead. For node pool configuration, use the `soc_enabled` parameter under `scaling_group` in `nodepool` instead.
1672
1297
  *
1673
1298
  * @example
1674
1299
  * false
@@ -1678,11 +1303,7 @@ export class CreateClusterRequest extends $dara.Model {
1678
1303
  socEnabled?: boolean;
1679
1304
  /**
1680
1305
  * @remarks
1681
- * Whether to enable public SSH login. Used for logging in to Master nodes of ACK dedicated clusters. This parameter does not take effect in managed clusters.
1682
- * - `true`: Enable.
1683
- * - `false`: Disable.
1684
- *
1685
- * Default value: `false`.
1306
+ * Specifies whether to enable public SSH logon. This is used to log on to the master nodes of ACK dedicated clusters. This parameter does not take effect for managed clusters.
1686
1307
  *
1687
1308
  * @example
1688
1309
  * true
@@ -1690,28 +1311,19 @@ export class CreateClusterRequest extends $dara.Model {
1690
1311
  sshFlags?: boolean;
1691
1312
  /**
1692
1313
  * @remarks
1693
- * Node tags. Tag definition rules:
1694
- *
1695
- * - Tags consist of case-sensitive key-value pairs. You can set up to 20 tags.
1696
- * - Tag keys cannot be duplicated, with a maximum length of 64 characters; tag values can be empty, with a maximum length of 128 characters. Neither tag keys nor tag values can start with “aliyun”, “acs:”, “https://”, or “http://”. For details, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
1314
+ * The node tags. Tag definition rules:
1697
1315
  */
1698
1316
  tags?: Tag[];
1699
1317
  /**
1700
1318
  * @remarks
1701
- * [**This field is deprecated**] For node pool configuration, use the `taints` parameter under `kubernetes_config` in `nodepool` instead.
1702
- *
1703
- * Node taint information. Taints and tolerations work together to prevent Pods from being scheduled on inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
1319
+ * **[Deprecated]** For node pool configuration, use the `taints` parameter under `kubernetes_config` in `nodepool` instead.
1704
1320
  *
1705
1321
  * @deprecated
1706
1322
  */
1707
1323
  taints?: Taint[];
1708
1324
  /**
1709
1325
  * @remarks
1710
- * [**This field is deprecated**] By default, no rollback is performed when cluster creation fails. You need to clean up the failed cluster yourself.
1711
- *
1712
- * Cluster creation timeout. Unit: minutes.
1713
- *
1714
- * Default value: `60`.
1326
+ * **[Deprecated]** When cluster creation fails, rollback is not performed by default. You must manually clean up the failed cluster.
1715
1327
  *
1716
1328
  * @example
1717
1329
  * 60
@@ -1721,7 +1333,7 @@ export class CreateClusterRequest extends $dara.Model {
1721
1333
  timeoutMins?: number;
1722
1334
  /**
1723
1335
  * @remarks
1724
- * The timezone used by the cluster. See [Supported timezones](https://help.aliyun.com/document_detail/354879.html).
1336
+ * The time zone used by the cluster. For more information, see [Supported time zones](https://help.aliyun.com/document_detail/354879.html).
1725
1337
  *
1726
1338
  * @example
1727
1339
  * Asia/Shanghai
@@ -1729,7 +1341,7 @@ export class CreateClusterRequest extends $dara.Model {
1729
1341
  timezone?: string;
1730
1342
  /**
1731
1343
  * @remarks
1732
- * Custom cluster CA.
1344
+ * The custom cluster CA.
1733
1345
  *
1734
1346
  * @example
1735
1347
  * -----BEGIN CERTIFICATE-----****
@@ -1737,7 +1349,7 @@ export class CreateClusterRequest extends $dara.Model {
1737
1349
  userCa?: string;
1738
1350
  /**
1739
1351
  * @remarks
1740
- * [**This field is deprecated**] Custom node data.
1352
+ * **[Deprecated]** The custom node data.
1741
1353
  *
1742
1354
  * @example
1743
1355
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
@@ -1747,7 +1359,7 @@ export class CreateClusterRequest extends $dara.Model {
1747
1359
  userData?: string;
1748
1360
  /**
1749
1361
  * @remarks
1750
- * The VPC used by the cluster. Must be provided when creating a cluster.
1362
+ * The VPC used by the cluster. You must provide a VPC when you create a cluster.
1751
1363
  *
1752
1364
  * @example
1753
1365
  * vpc-2zeik9h3ahvv2zz95****
@@ -1755,19 +1367,12 @@ export class CreateClusterRequest extends $dara.Model {
1755
1367
  vpcid?: string;
1756
1368
  /**
1757
1369
  * @remarks
1758
- * vSwitches for cluster nodes. This field is required when creating a zero-node managed cluster.
1370
+ * The vSwitches for cluster nodes. This field is required when you create a zero-node managed cluster.
1759
1371
  */
1760
1372
  vswitchIds?: string[];
1761
1373
  /**
1762
1374
  * @remarks
1763
- * [**This field is deprecated**] For node pool configuration, use the `auto_renew` parameter under `scaling_group` in `nodepool` instead.
1764
- *
1765
- * Whether to enable auto-renewal for Worker nodes. Only takes effect when `worker_instance_charge_type` is set to `PrePaid`. Valid values:
1766
- *
1767
- * - `true`: Enable auto-renewal.
1768
- * - `false`: Disable auto-renewal.
1769
- *
1770
- * Default value: `true`.
1375
+ * **[Deprecated]** For node pool configuration, use the auto_renew parameter under `scaling_group` in `nodepool` instead.
1771
1376
  *
1772
1377
  * @example
1773
1378
  * true
@@ -1777,12 +1382,7 @@ export class CreateClusterRequest extends $dara.Model {
1777
1382
  workerAutoRenew?: boolean;
1778
1383
  /**
1779
1384
  * @remarks
1780
- * [**This field is deprecated**] For node pool configuration, use the `auto_renew_period` parameter under `scaling_group` in `nodepool` instead.
1781
- *
1782
- *
1783
- * Worker node auto-renewal period. Only takes effect when subscription billing type is selected, and is a required value.
1784
- *
1785
- * Valid values: {1, 2, 3, 6, 12}.
1385
+ * **[Deprecated]** For node pool configuration, use the auto_renew_period parameter under `scaling_group` in `nodepool` instead.
1786
1386
  *
1787
1387
  * @example
1788
1388
  * 1
@@ -1792,23 +1392,14 @@ export class CreateClusterRequest extends $dara.Model {
1792
1392
  workerAutoRenewPeriod?: number;
1793
1393
  /**
1794
1394
  * @remarks
1795
- * [**This field is deprecated**] For node pool configuration, use the `data_disks` parameter under `scaling_group` in `nodepool` instead.
1796
- *
1797
- * Combination of Worker node data disk type, size, and other configurations.
1395
+ * **[Deprecated]** For node pool configuration, use the data_disks parameter under `scaling_group` in `nodepool` instead.
1798
1396
  *
1799
1397
  * @deprecated
1800
1398
  */
1801
1399
  workerDataDisks?: CreateClusterRequestWorkerDataDisks[];
1802
1400
  /**
1803
1401
  * @remarks
1804
- * [**This field is deprecated**] For node pool configuration, use the `instance_charge_type` parameter under `scaling_group` in `nodepool` instead.
1805
- *
1806
- * Worker node billing type. Valid values:
1807
- *
1808
- * - `PrePaid`: Subscription.
1809
- * - `PostPaid`: Pay-as-you-go.
1810
- *
1811
- * Default value: Pay-as-you-go.
1402
+ * **[Deprecated]** For node pool configuration, use the instance_charge_type parameter under `scaling_group` in `nodepool` instead.
1812
1403
  *
1813
1404
  * @example
1814
1405
  * PrePaid
@@ -1818,22 +1409,14 @@ export class CreateClusterRequest extends $dara.Model {
1818
1409
  workerInstanceChargeType?: string;
1819
1410
  /**
1820
1411
  * @remarks
1821
- * [**This field is deprecated**] For node pool configuration, use the `instance_types` parameter under `scaling_group` in `nodepool` instead.
1822
- *
1823
- * Worker node instance configuration.
1412
+ * **[Deprecated]** For node pool configuration, use the instance_types parameter under `scaling_group` in `nodepool` instead.
1824
1413
  *
1825
1414
  * @deprecated
1826
1415
  */
1827
1416
  workerInstanceTypes?: string[];
1828
1417
  /**
1829
1418
  * @remarks
1830
- * [**This field is deprecated**] For node pool configuration, use the `period` parameter under `scaling_group` in `nodepool` instead.
1831
- *
1832
- * Worker node subscription duration. Valid and required when `worker_instance_charge_type` is set to `PrePaid`.
1833
- *
1834
- * Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
1835
- *
1836
- * Default value: 1.
1419
+ * **[Deprecated]** For node pool configuration, use the period parameter under `scaling_group` in `nodepool` instead.
1837
1420
  *
1838
1421
  * @example
1839
1422
  * 1
@@ -1843,11 +1426,7 @@ export class CreateClusterRequest extends $dara.Model {
1843
1426
  workerPeriod?: number;
1844
1427
  /**
1845
1428
  * @remarks
1846
- * [**This field is deprecated**] For node pool configuration, use the `period_unit` parameter under `scaling_group` in `nodepool` instead.
1847
- *
1848
- * Worker node billing period. Must be specified when the billing type is `PrePaid`.
1849
- *
1850
- * Valid value: `Month`. Currently, only month-based periods are supported.
1429
+ * **[Deprecated]** For node pool configuration, use the period_unit parameter under `scaling_group` in `nodepool` instead.
1851
1430
  *
1852
1431
  * @example
1853
1432
  * Month
@@ -1857,17 +1436,7 @@ export class CreateClusterRequest extends $dara.Model {
1857
1436
  workerPeriodUnit?: string;
1858
1437
  /**
1859
1438
  * @remarks
1860
- * [**This field is deprecated**] For node pool configuration, use the `system_disk_category` parameter under `scaling_group` in `nodepool` instead.
1861
- *
1862
- * Worker node system disk type. For more information, see [Block storage overview](https://help.aliyun.com/document_detail/63136.html).
1863
- *
1864
- * Valid values:
1865
- *
1866
- * - `cloud_efficiency`: Ultra disk.
1867
- * - `cloud_ssd`: SSD disk.
1868
- *
1869
- *
1870
- * Default value: `cloud_ssd`.
1439
+ * **[Deprecated]** For node pool configuration, use the system_disk_category parameter under `scaling_group` in `nodepool` instead.
1871
1440
  *
1872
1441
  * @example
1873
1442
  * cloud_efficiency
@@ -1877,16 +1446,7 @@ export class CreateClusterRequest extends $dara.Model {
1877
1446
  workerSystemDiskCategory?: string;
1878
1447
  /**
1879
1448
  * @remarks
1880
- * [**This field is deprecated**] For node pool configuration, use the `system_disk_performance_level` parameter under `scaling_group` in `nodepool` instead.
1881
- *
1882
- * When the system disk is an ESSD disk, you can set the Performance Level (PL) of the ESSD disk. For more information, see [ESSD disk](https://help.aliyun.com/document_detail/122389.html).
1883
- *
1884
- * Valid values:
1885
- *
1886
- * - PL0
1887
- * - PL1
1888
- * - PL2
1889
- * - PL3
1449
+ * **[Deprecated]** For node pool configuration, use the system_disk_performance_level parameter under `scaling_group` in `nodepool` instead.
1890
1450
  *
1891
1451
  * @example
1892
1452
  * PL1
@@ -1896,15 +1456,7 @@ export class CreateClusterRequest extends $dara.Model {
1896
1456
  workerSystemDiskPerformanceLevel?: string;
1897
1457
  /**
1898
1458
  * @remarks
1899
- * [**This field is deprecated**] For node pool configuration, use the `system_disk_size` parameter under `scaling_group` in `nodepool` instead.
1900
- *
1901
- * Worker node system disk size. Unit: GiB.
1902
- *
1903
- * Valid values: [40, 500\\].
1904
- *
1905
- * The value must be greater than or equal to max{40, ImageSize}.
1906
- *
1907
- * Default value: `120`.
1459
+ * **[Deprecated]** For node pool configuration, use the system_disk_size parameter under `scaling_group` in `nodepool` instead.
1908
1460
  *
1909
1461
  * @example
1910
1462
  * 120
@@ -1914,9 +1466,7 @@ export class CreateClusterRequest extends $dara.Model {
1914
1466
  workerSystemDiskSize?: number;
1915
1467
  /**
1916
1468
  * @remarks
1917
- * [**This field is deprecated**] For node pool configuration, use the `system_disk_snapshot_policy_id` parameter under `scaling_group` in `nodepool` instead.
1918
- *
1919
- * Automatic snapshot policy ID for the Worker node system disk.
1469
+ * **[Deprecated]** For node pool configuration, use the system_disk_snapshot_policy_id parameter under `scaling_group` in `nodepool` instead.
1920
1470
  *
1921
1471
  * @example
1922
1472
  * sp-2zej1nogjvovnz4z****
@@ -1926,22 +1476,14 @@ export class CreateClusterRequest extends $dara.Model {
1926
1476
  workerSystemDiskSnapshotPolicyId?: string;
1927
1477
  /**
1928
1478
  * @remarks
1929
- * [**This field is deprecated**] For node pool configuration, use the `vswitch_ids` parameter under `scaling_group` in `nodepool` instead.
1930
- *
1931
- * List of vSwitches used by cluster nodes. One node corresponds to one value.
1932
- *
1933
- * When creating a zero-node managed cluster, the `worker_vswitch_ids` field is not required, but `vswitch_ids` must be provided.
1479
+ * **[Deprecated]** For node pool configuration, use the vswitch_ids parameter under `scaling_group` in `nodepool` instead.
1934
1480
  *
1935
1481
  * @deprecated
1936
1482
  */
1937
1483
  workerVswitchIds?: string[];
1938
1484
  /**
1939
1485
  * @remarks
1940
- * [**This field is deprecated**] Use the `zone_ids` parameter instead.
1941
- *
1942
- * Availability zone ID of the region where the cluster is located. This parameter is specific to ACK managed cluster types.
1943
- *
1944
- * When creating an ACK managed cluster, if `vpc_id` and `vswitch_ids` are not specified, `zone_id` must be specified for the cluster to automatically create VPC network resources in this availability zone. This parameter is ignored when `vpc_id` and `vswitch_ids` are specified.
1486
+ * **[Deprecated]** Use the `zone_ids` parameter instead.
1945
1487
  *
1946
1488
  * @example
1947
1489
  * cn-beiji****
@@ -1951,7 +1493,7 @@ export class CreateClusterRequest extends $dara.Model {
1951
1493
  zoneId?: string;
1952
1494
  /**
1953
1495
  * @remarks
1954
- * Multiple availability zone IDs of the region where the cluster is located. This parameter is specific to ACK managed cluster types.
1496
+ * The zone IDs of the cluster region. This parameter is specific to ACK managed clusters.
1955
1497
  */
1956
1498
  zoneIds?: string[];
1957
1499
  static names(): { [key: string]: string } {