@alicloud/cs20151215 7.0.4 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/client.d.ts +120 -42
  2. package/dist/client.js +332 -71
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
  5. package/dist/models/CreateClusterNodePoolRequest.js +2 -0
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterRequest.d.ts +119 -621
  8. package/dist/models/CreateClusterRequest.js.map +1 -1
  9. package/dist/models/CreateClusterResponseBody.d.ts +3 -3
  10. package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
  11. package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
  12. package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
  13. package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
  14. package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
  15. package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
  16. package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
  17. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
  18. package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
  19. package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
  20. package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
  21. package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
  22. package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
  23. package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
  24. package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
  25. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
  26. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
  27. package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
  28. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
  29. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
  30. package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
  31. package/dist/models/DescribeAddonRequest.d.ts +7 -18
  32. package/dist/models/DescribeAddonRequest.js.map +1 -1
  33. package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
  34. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
  35. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
  36. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  37. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
  38. package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
  39. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  40. package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
  41. package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
  42. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  43. package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
  44. package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
  45. package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
  46. package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
  47. package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
  48. package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
  49. package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
  50. package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
  51. package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
  52. package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
  53. package/dist/models/ListNodePoolComponentsRequest.js +73 -0
  54. package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
  55. package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
  56. package/dist/models/ListNodePoolComponentsResponse.js +69 -0
  57. package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
  58. package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
  59. package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
  60. package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
  61. package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
  62. package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
  63. package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
  64. package/dist/models/MaintenanceWindow.d.ts +1 -1
  65. package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
  66. package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
  67. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  68. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
  69. package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
  70. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  71. package/dist/models/Nodepool.d.ts +70 -195
  72. package/dist/models/Nodepool.js.map +1 -1
  73. package/dist/models/Runtime.d.ts +2 -2
  74. package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
  75. package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
  76. package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
  77. package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
  78. package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
  79. package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
  80. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
  81. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
  82. package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
  83. package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
  84. package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
  85. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  86. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
  87. package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
  88. package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
  89. package/dist/models/model.d.ts +25 -0
  90. package/dist/models/model.js +63 -12
  91. package/dist/models/model.js.map +1 -1
  92. package/package.json +1 -1
  93. package/src/client.ts +366 -71
  94. package/src/models/CreateClusterNodePoolRequest.ts +126 -367
  95. package/src/models/CreateClusterRequest.ts +119 -621
  96. package/src/models/CreateClusterResponseBody.ts +3 -3
  97. package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
  98. package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
  99. package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
  100. package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
  101. package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
  102. package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
  103. package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
  104. package/src/models/DescribeAddonRequest.ts +7 -18
  105. package/src/models/DescribeAddonResponseBody.ts +12 -12
  106. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
  107. package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
  108. package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
  109. package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
  110. package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
  111. package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
  112. package/src/models/ListNodePoolComponentsRequest.ts +76 -0
  113. package/src/models/ListNodePoolComponentsResponse.ts +40 -0
  114. package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
  115. package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
  116. package/src/models/MaintenanceWindow.ts +1 -1
  117. package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
  118. package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
  119. package/src/models/Nodepool.ts +70 -195
  120. package/src/models/Runtime.ts +2 -2
  121. package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
  122. package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
  123. package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
  124. package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
  125. package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
  126. package/src/models/model.ts +25 -0
@@ -11,21 +11,13 @@ export declare class CreateClusterRequestAuditLogConfig extends $dara.Model {
11
11
  * @remarks
12
12
  * Specifies whether to enable the cluster audit log feature.
13
13
  *
14
- * - true: Enable.
15
- *
16
- * - false: Do not enable.
17
- *
18
14
  * @example
19
15
  * true
20
16
  */
21
17
  enabled?: boolean;
22
18
  /**
23
19
  * @remarks
24
- * The [SLS Project](https://help.aliyun.com/document_detail/48873.html) that contains the cluster audit log [Logstore](https://help.aliyun.com/document_detail/48873.html).
25
- *
26
- * - Default value: `k8s-log-{clusterid}`.
27
- *
28
- * - After the cluster audit log feature is enabled, a Logstore for cluster audit logs is created in the specified SLS Project.
20
+ * 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.
29
21
  *
30
22
  * @example
31
23
  * k8s-log-c2345xxxxxxxxxxxx
@@ -47,10 +39,6 @@ export declare class CreateClusterRequestAutoMode extends $dara.Model {
47
39
  * @remarks
48
40
  * Specifies whether to enable intelligent managed mode.
49
41
  *
50
- * - true: Enable.
51
- *
52
- * - false: Do not enable.
53
- *
54
42
  * @example
55
43
  * true
56
44
  */
@@ -69,11 +57,7 @@ export declare class CreateClusterRequestAutoMode extends $dara.Model {
69
57
  export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model {
70
58
  /**
71
59
  * @remarks
72
- * Specifies whether to enable auto-renewal for control plane nodes. Takes effect when the billing method is `PrePaid`.
73
- * - true: Enable auto-renewal.
74
- * - false: Do not enable auto-renewal.
75
- *
76
- * Default value: true.
60
+ * Specifies whether to enable auto-renewal for control plane nodes. This parameter is valid only when charge_type is set to `PrePaid`.
77
61
  *
78
62
  * @example
79
63
  * true
@@ -81,11 +65,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
81
65
  autoRenew?: boolean;
82
66
  /**
83
67
  * @remarks
84
- * The auto-renewal period of control plane nodes.
85
- *
86
- * Valid values: {1, 2, 3, 6, 12}. Unit: months.
87
- *
88
- * Default value: 1.
68
+ * The auto-renewal duration of control plane nodes.
89
69
  *
90
70
  * @example
91
71
  * 1
@@ -95,11 +75,6 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
95
75
  * @remarks
96
76
  * The billing method of control plane nodes.
97
77
  *
98
- * - `PrePaid`: Subscription.
99
- * - `PostPaid`: Pay-as-you-go.
100
- *
101
- * Default value: `PostPaid`.
102
- *
103
78
  * @example
104
79
  * PostPaid
105
80
  */
@@ -108,25 +83,13 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
108
83
  * @remarks
109
84
  * Specifies whether to install CloudMonitor on nodes.
110
85
  *
111
- * - true: Installs the CloudMonitor agent.
112
- *
113
- * - false: Does not install the CloudMonitor agent.
114
- *
115
- * Default value: false.
116
- *
117
86
  * @example
118
87
  * false
119
88
  */
120
89
  cloudMonitorFlags?: boolean;
121
90
  /**
122
91
  * @remarks
123
- * The node CPU management policy.
124
- *
125
- * - static: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
126
- *
127
- * - none: Uses the existing default CPU affinity scheme.
128
- *
129
- * Default value: none.
92
+ * The CPU management policy for nodes.
130
93
  *
131
94
  * @example
132
95
  * none
@@ -163,12 +126,12 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
163
126
  instanceMetadataOptions?: InstanceMetadataOptions;
164
127
  /**
165
128
  * @remarks
166
- * The node instance types.
129
+ * The instance types of nodes.
167
130
  */
168
131
  instanceTypes?: string[];
169
132
  /**
170
133
  * @remarks
171
- * The key pair name. Mutually exclusive with login_password.
134
+ * The name of the key pair. Specify either this parameter or login_password.
172
135
  *
173
136
  * @example
174
137
  * ack
@@ -176,7 +139,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
176
139
  keyPair?: string;
177
140
  /**
178
141
  * @remarks
179
- * The SSH logon 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.
142
+ * 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.
180
143
  *
181
144
  * @example
182
145
  * ********
@@ -184,7 +147,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
184
147
  loginPassword?: string;
185
148
  /**
186
149
  * @remarks
187
- * **This field is deprecated.** The node service port range.
150
+ * **[Deprecated]** The node service port range.
188
151
  *
189
152
  * @example
190
153
  * 30000-32767
@@ -192,11 +155,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
192
155
  nodePortRange?: string;
193
156
  /**
194
157
  * @remarks
195
- * The subscription duration of control plane nodes. Valid and required when the billing method is `PrePaid`.
196
- *
197
- * Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}. Unit: months.
198
- *
199
- * Default value: 1.
158
+ * The subscription duration of control plane nodes. This parameter is valid and required only when charge_type is set to `PrePaid`.
200
159
  *
201
160
  * @example
202
161
  * 1
@@ -204,9 +163,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
204
163
  period?: number;
205
164
  /**
206
165
  * @remarks
207
- * The subscription period unit of control plane nodes. Valid and required when the billing method is `PrePaid`.
208
- *
209
- * Valid value: `Month`. Currently, only monthly periods are supported.
166
+ * The unit of the subscription duration of control plane nodes. This parameter is valid and required only when charge_type is set to `PrePaid`.
210
167
  *
211
168
  * @example
212
169
  * Month
@@ -214,9 +171,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
214
171
  periodUnit?: string;
215
172
  /**
216
173
  * @remarks
217
- * **This field is deprecated.** The container runtime for control plane nodes. Valid values:
218
- *
219
- * containerd: The Containerd runtime, which supports all cluster versions.
174
+ * **[Deprecated]** The runtime name of control plane nodes. Valid values:
220
175
  *
221
176
  * @example
222
177
  * containerd
@@ -226,12 +181,6 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
226
181
  * @remarks
227
182
  * Specifies whether to enable Alibaba Cloud OS security hardening.
228
183
  *
229
- * - true: Enables Alibaba Cloud OS security hardening.
230
- *
231
- * - false: Does not enable Alibaba Cloud OS security hardening.
232
- *
233
- * Default value: false.
234
- *
235
184
  * @example
236
185
  * false
237
186
  */
@@ -240,21 +189,13 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
240
189
  * @remarks
241
190
  * The number of control plane nodes.
242
191
  *
243
- * Valid values: `3` or `5`.
244
- *
245
192
  * @example
246
193
  * 3
247
194
  */
248
195
  size?: number;
249
196
  /**
250
197
  * @remarks
251
- * Specifies whether to enable MLPS 2.0 security hardening.
252
- *
253
- * - true: Enables MLPS 2.0 security hardening.
254
- *
255
- * - false: Does not enable MLPS 2.0 security hardening.
256
- *
257
- * Default value: false.
198
+ * Specifies whether to enable MLPS security hardening.
258
199
  *
259
200
  * @example
260
201
  * false
@@ -262,13 +203,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
262
203
  socEnabled?: boolean;
263
204
  /**
264
205
  * @remarks
265
- * Specifies whether to enable burst (performance burst) for the node system cloud disk.
266
- *
267
- * - true: Enabled.
268
- *
269
- * - false: Not enabled.
270
- *
271
- * This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
206
+ * Specifies whether to enable burst (performance burst) for the system cloud disk of nodes.
272
207
  *
273
208
  * @example
274
209
  * true
@@ -276,13 +211,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
276
211
  systemDiskBurstingEnabled?: boolean;
277
212
  /**
278
213
  * @remarks
279
- * The node system disk type.
280
- *
281
- * - `cloud_efficiency`: Ultra disk.
282
- * - `cloud_ssd`: Standard SSD.
283
- * - `cloud_essd`: ESSD.
284
- * - `cloud_auto`: ESSD AutoPL.
285
- * - `cloud_essd
214
+ * The type of the system cloud disk for nodes.
286
215
  *
287
216
  * @example
288
217
  * cloud_ssd
@@ -290,9 +219,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
290
219
  systemDiskCategory?: string;
291
220
  /**
292
221
  * @remarks
293
- * The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks.
294
- *
295
- * The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
222
+ * The performance level of the system cloud disk. This parameter takes effect only for ESSD disks.
296
223
  *
297
224
  * @example
298
225
  * PL1
@@ -300,11 +227,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
300
227
  systemDiskPerformanceLevel?: string;
301
228
  /**
302
229
  * @remarks
303
- * The provisioned read/write IOPS for the node system cloud disk.
304
- *
305
- * Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
306
- *
307
- * This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
230
+ * The provisioned read/write IOPS of the system cloud disk for nodes.
308
231
  *
309
232
  * @example
310
233
  * 1000
@@ -312,11 +235,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
312
235
  systemDiskProvisionedIops?: number;
313
236
  /**
314
237
  * @remarks
315
- * The size of the node system cloud disk.
316
- *
317
- * Valid values: [40,500\\]. Unit: GiB.
318
- *
319
- * Default value: `120`.
238
+ * The size of the system cloud disk for nodes.
320
239
  *
321
240
  * @example
322
241
  * 120
@@ -324,7 +243,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
324
243
  systemDiskSize?: number;
325
244
  /**
326
245
  * @remarks
327
- * The automatic snapshot backup policy for nodes.
246
+ * The automatic snapshot policy for nodes.
328
247
  *
329
248
  * @example
330
249
  * sp-2zej1nogjvovnz4z****
@@ -344,7 +263,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
344
263
  export declare class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
345
264
  /**
346
265
  * @remarks
347
- * The VPCs where the internal domain name record resolution takes effect.
266
+ * The VPCs in which the internal domain name DNS resolution takes effect.
348
267
  */
349
268
  bindVpcs?: string[];
350
269
  static names(): {
@@ -389,12 +308,12 @@ export declare class CreateClusterRequestControlPlaneEndpointsConfigLoadBalancer
389
308
  export declare class CreateClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
390
309
  /**
391
310
  * @remarks
392
- * The internal DNS configuration for the cluster. Applicable 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. When internal domain name access is not enabled, node-side system components access the API Server through the CLB IP address.
311
+ * 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.
393
312
  */
394
313
  internalDnsConfig?: CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
395
314
  /**
396
315
  * @remarks
397
- * The cluster endpoint configuration. When this field is specified, the endpoint_public_access and load_balancer_id parameters do not take effect. ACK only supports automatic creation of NLB instances. To specify a CLB/NLB, use load_balancers_config to specify the instance ID.
316
+ * The cluster connection configuration. When this field is specified, the endpoint_public_access and load_balancer_id parameters do not take effect.
398
317
  */
399
318
  loadBalancersConfig?: CreateClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig[];
400
319
  static names(): {
@@ -412,9 +331,6 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
412
331
  /**
413
332
  * @remarks
414
333
  * The cluster auto-upgrade frequency. Valid values:
415
- * - patch: Automatically upgrades to the available patch version of the current minor version. The new Kubernetes version does not contain breaking changes.
416
- * - stable: Automatically upgrades to the latest patch version of the second-latest minor version. The new Kubernetes version may involve API and feature changes, but its stability has been widely validated.
417
- * - rapid: Automatically upgrades to the latest patch version of the latest minor version to gain access to new Kubernetes community features faster.
418
334
  *
419
335
  * @example
420
336
  * stable
@@ -424,10 +340,6 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
424
340
  * @remarks
425
341
  * Specifies whether to enable cluster auto-upgrade.
426
342
  *
427
- * - true: Enable.
428
- *
429
- * - false: Do not enable.
430
- *
431
343
  * @example
432
344
  * true
433
345
  */
@@ -463,11 +375,7 @@ export declare class CreateClusterRequestOperationPolicy extends $dara.Model {
463
375
  export declare class CreateClusterRequestRrsaConfig extends $dara.Model {
464
376
  /**
465
377
  * @remarks
466
- * Specifies whether to enable RRSA.
467
- *
468
- * - true: Enable.
469
- *
470
- * - false: Do not enable.
378
+ * Specifies whether to enable the RRSA feature.
471
379
  *
472
380
  * @example
473
381
  * true
@@ -487,7 +395,7 @@ export declare class CreateClusterRequestRrsaConfig extends $dara.Model {
487
395
  export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
488
396
  /**
489
397
  * @remarks
490
- * The data cloud disk type.
398
+ * The type of the data disk.
491
399
  *
492
400
  * This parameter is required.
493
401
  *
@@ -497,12 +405,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
497
405
  category?: string;
498
406
  /**
499
407
  * @remarks
500
- * Specifies whether to encrypt the data cloud disk. Valid values:
501
- *
502
- * - `true`: Encrypts the data cloud disk.
503
- * - `false`: Does not encrypt the data cloud disk.
504
- *
505
- * Default value: `false`.
408
+ * Specifies whether to encrypt the data disk. Valid values:
506
409
  *
507
410
  * @example
508
411
  * true
@@ -510,7 +413,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
510
413
  encrypted?: string;
511
414
  /**
512
415
  * @remarks
513
- * The performance level of the node data cloud disk. This parameter takes effect only for [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
416
+ * 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).
514
417
  *
515
418
  * @example
516
419
  * PL1
@@ -518,7 +421,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
518
421
  performanceLevel?: string;
519
422
  /**
520
423
  * @remarks
521
- * The data cloud disk size. Valid values: 40 to 32767. Unit: GiB.
424
+ * The size of the data disk. Valid values: 40 to 32767. Unit: GiB.
522
425
  *
523
426
  * This parameter is required.
524
427
  *
@@ -540,46 +443,19 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
540
443
  export declare class CreateClusterRequest extends $dara.Model {
541
444
  /**
542
445
  * @remarks
543
- * 【**该字段已废弃**】注册集群 API Server SLB 访问控制列表。
446
+ * **[Deprecated]** The access control list for the API Server SLB of the registered cluster.
544
447
  *
545
448
  * @deprecated
546
449
  */
547
450
  accessControlList?: string[];
548
451
  /**
549
452
  * @remarks
550
- * The list of cluster components. Specify the components to install when creating a cluster using `addons`.
551
- *
552
- * **Network component**: Required. Choose between Flannel and Terway network types:
553
- *
554
- * - Flannel network: [{"name":"flannel","config":""}\\].
555
- * - Terway network: [{"name": "terway-eniip","config": ""}\\].
556
- *
557
- * **Storage component**: Optional. Only the `csi` type is supported:
558
- *
559
- * `csi`: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}\\].
560
- *
561
- * **Log component**: Optional. We recommend that you enable this component. If the log service is not enabled, the cluster audit feature is unavailable.
562
- *
563
- * - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\",\\"sls_project_name\\":\\"your_sls_project_name\\"}"}\\].
564
- * - Create a new `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\"}"}\\].
565
- *
566
- * **Ingress component**: Optional. ACK dedicated clusters install the Ingress component `nginx-ingress-controller` by default.
567
- *
568
- * - Install Ingress with public network access: [{"name":"nginx-ingress-controller","config":"{\\"IngressSlbNetworkType\\":\\"internet\\"}"}\\].
569
- * - Disable default Ingress installation: [{"name": "nginx-ingress-controller","config": "","disabled": true}\\].
570
- *
571
- * **Event Center**: Optional. Enabled by default.
572
- *
573
- * The Event Center provides storage, query, and alerting capabilities for 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).
574
- *
575
- * Example of enabling the Event Center: [{"name":"ack-node-problem-detector","config":"{\\"sls_project_name\\":\\"your_sls_project_name\\"}"}\\].
453
+ * The list of cluster components. Use `addons` to specify the components to install when creating a cluster.
576
454
  */
577
455
  addons?: Addon[];
578
456
  /**
579
457
  * @remarks
580
- * A ServiceAccount is the access credential for communication between a Pod and the cluster API Server. The `api-audiences` is the valid request `token` identity, used by the `apiserver` to authenticate whether a request `token` is valid. Multiple `audiences` are supported, separated by commas (,).
581
- *
582
- * For more information about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
458
+ * 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 (,).
583
459
  *
584
460
  * @example
585
461
  * kubernetes.default.svc
@@ -597,16 +473,7 @@ export declare class CreateClusterRequest extends $dara.Model {
597
473
  autoMode?: CreateClusterRequestAutoMode;
598
474
  /**
599
475
  * @remarks
600
- * 【**该字段已废弃**】
601
- *
602
- * 是否开启自动续费,当`charge_type`取值为`PrePaid`时才生效。取值:
603
- *
604
- * - `true`:自动续费。
605
- * - `false`:不自动续费。
606
- *
607
- * 默认值:`false`。
608
- *
609
- * 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
476
+ * **[Deprecated]**
610
477
  *
611
478
  * @example
612
479
  * true
@@ -616,13 +483,7 @@ export declare class CreateClusterRequest extends $dara.Model {
616
483
  autoRenew?: boolean;
617
484
  /**
618
485
  * @remarks
619
- * 【**该字段已废弃**】
620
- *
621
- * 自动续费周期,当选择预付费和自动续费时才生效。当`PeriodUnit=Month`时,取值范围:{1, 2, 3, 6, 12}。
622
- *
623
- * 默认值:1。
624
- *
625
- * 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
486
+ * **[Deprecated]**
626
487
  *
627
488
  * @example
628
489
  * 1
@@ -632,19 +493,7 @@ export declare class CreateClusterRequest extends $dara.Model {
632
493
  autoRenewPeriod?: number;
633
494
  /**
634
495
  * @remarks
635
- * 【**该字段已废弃**】
636
- *
637
- * API Server所使用的CLB实例的付费类型,默认值为PostPaid。取值:
638
- * - PostPaid:按量付费。
639
- * - PrePaid:包年包月,新建CLB付费类型已不支持,存量不影响。
640
- *
641
- * >Notice:
642
- *
643
- * - 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
644
- * - 自2024年12月01日起,新创建的CLB实例不再支持包年包月付费类型,同时将新增收取实例费。
645
- * </notice>
646
- * <props="china">详细信息请参见[【产品公告】关于取消新增集群API Server负载均衡CLB包年包月付费的公告](https://help.aliyun.com/document_detail/2851191.html)、[传统型负载均衡CLB计费项调整公告](https://help.aliyun.com/document_detail/2839797.html)。
647
- * <props="intl">详细信息请参见[传统型负载均衡CLB计费项调整公告](https://help.aliyun.com/document_detail/2839797.html)。
496
+ * **[Deprecated]**
648
497
  *
649
498
  * @example
650
499
  * PostPaid
@@ -654,7 +503,7 @@ export declare class CreateClusterRequest extends $dara.Model {
654
503
  chargeType?: string;
655
504
  /**
656
505
  * @remarks
657
- * **This field is deprecated.** For control plane configurations, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configurations, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
506
+ * **[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.
658
507
  *
659
508
  * @example
660
509
  * false
@@ -664,14 +513,7 @@ export declare class CreateClusterRequest extends $dara.Model {
664
513
  cisEnabled?: boolean;
665
514
  /**
666
515
  * @remarks
667
- * **This field is deprecated.** For control plane node configurations, use the `cloud_monitor_flags` parameter under `control_plane_config` instead. For node pool configurations, use the `cms_enabled` parameter under `kubernetes_config` in `nodepool` instead.
668
- *
669
- * Specifies whether to install the CloudMonitor agent on the cluster. Valid values:
670
- *
671
- * - `true`: Installs the CloudMonitor agent.
672
- * - `false`: Does not install the CloudMonitor agent.
673
- *
674
- * Default value: `false`.
516
+ * **[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.
675
517
  *
676
518
  * @example
677
519
  * false
@@ -681,9 +523,7 @@ export declare class CreateClusterRequest extends $dara.Model {
681
523
  cloudMonitorFlags?: boolean;
682
524
  /**
683
525
  * @remarks
684
- * The cluster local domain.
685
- *
686
- * Naming rules: The domain consists of one or more parts separated by periods (.). Each part can be up to 63 characters in length and can contain lowercase letters, digits, and hyphens (-). Each part must start and end with a lowercase letter or digit.
526
+ * The cluster local domain name.
687
527
  *
688
528
  * @example
689
529
  * cluster.local
@@ -691,17 +531,7 @@ export declare class CreateClusterRequest extends $dara.Model {
691
531
  clusterDomain?: string;
692
532
  /**
693
533
  * @remarks
694
- * After you set `cluster_type` to `ManagedKubernetes` and configure `profile`, you can further specify the cluster specification. Valid values:
695
- *
696
- * - `ack.standard`: Basic (selected by default when the value is empty)
697
- * - `ack.pro.small`: Pro
698
- * - `ack.pro.xlarge`: Pro XL
699
- * - `ack.pro.2xlarge`: Pro 2XL
700
- * - `ack.pro.4xlarge`: Pro 4XL (requires contacting customer service to enable the whitelist)
701
- *
702
- * 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). By pre-allocating and fixing control plane resources, they ensure that API concurrency and Pod scheduling capabilities remain at a deterministic high level, suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
703
- *
704
- * For information about the management fees for Pro and Provisioned Control Plane clusters, see <props="china">[Cluster management fee](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee)<props="intl">[Cluster management fee](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee).
534
+ * If you set `cluster_type` to `ManagedKubernetes` and configure `profile`, you can further specify the cluster specifications. Valid values:
705
535
  *
706
536
  * @example
707
537
  * ack.pro.small
@@ -710,8 +540,6 @@ export declare class CreateClusterRequest extends $dara.Model {
710
540
  /**
711
541
  * @remarks
712
542
  * - `Kubernetes`: ACK dedicated cluster.
713
- * - `ManagedKubernetes`: ACK managed cluster types, including ACK managed clusters (Pro and Basic), ACK Serverless clusters (Pro and Basic), ACK Edge clusters (Pro and Basic), and ACK Lingjun clusters (Pro).
714
- * - `ExternalKubernetes`: registered cluster.
715
543
  *
716
544
  * @example
717
545
  * Kubernetes
@@ -719,11 +547,7 @@ export declare class CreateClusterRequest extends $dara.Model {
719
547
  clusterType?: string;
720
548
  /**
721
549
  * @remarks
722
- * The Pod network CIDR block. It 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. It cannot overlap with the VPC CIDR block or CIDR blocks used by existing Kubernetes clusters in the VPC. It cannot be modified after creation.
723
- *
724
- * For information about cluster network planning, see [ACK managed cluster network planning](https://help.aliyun.com/document_detail/86500.html).
725
- *
726
- * > This field is required for Flannel clusters.
550
+ * 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.
727
551
  *
728
552
  * @example
729
553
  * 172.20.0.0/16
@@ -731,24 +555,22 @@ export declare class CreateClusterRequest extends $dara.Model {
731
555
  containerCidr?: string;
732
556
  /**
733
557
  * @remarks
734
- * The ACK dedicated cluster control plane configuration.
558
+ * The control plane configuration for ACK dedicated clusters.
735
559
  */
736
560
  controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
737
561
  /**
738
562
  * @remarks
739
- * The cluster endpoint configuration.
563
+ * The cluster connection configuration.
740
564
  */
741
565
  controlPlaneEndpointsConfig?: CreateClusterRequestControlPlaneEndpointsConfig;
742
566
  /**
743
567
  * @remarks
744
568
  * The list of component names that specifies which control plane components to collect logs from.
745
- *
746
- * By default, logs are collected from kube-apiserver, kube-controller-manager, kube-scheduler, and cloud-controller-manager.
747
569
  */
748
570
  controlplaneLogComponents?: string[];
749
571
  /**
750
572
  * @remarks
751
- * The Simple Log Service project for control plane component logs. You can use an existing project for log storage or have the system automatically create a project. If you choose automatic creation, a Simple Log Service project named `k8s-log-{ClusterID}` is created.
573
+ * 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.
752
574
  *
753
575
  * @example
754
576
  * k8s-log-xxx
@@ -756,7 +578,7 @@ export declare class CreateClusterRequest extends $dara.Model {
756
578
  controlplaneLogProject?: string;
757
579
  /**
758
580
  * @remarks
759
- * The number of days for log retention of control plane component logs.
581
+ * The number of days for control plane component log retention.
760
582
  *
761
583
  * @example
762
584
  * 30
@@ -764,14 +586,7 @@ export declare class CreateClusterRequest extends $dara.Model {
764
586
  controlplaneLogTtl?: string;
765
587
  /**
766
588
  * @remarks
767
- * **This field is deprecated.** For control plane configurations, use the `cpu_policy` parameter under `control_plane_config` instead. For node pool configurations, use the `cpu_policy` parameter under `kubernetes_config` in `nodepool` instead.
768
- *
769
- * The node CPU management policy. The following policies are supported for cluster versions 1.12.6 and later:
770
- *
771
- * - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
772
- * - `none`: Uses the existing default CPU affinity scheme.
773
- *
774
- * Default value: `none`.
589
+ * **[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.
775
590
  *
776
591
  * @example
777
592
  * none
@@ -781,9 +596,7 @@ export declare class CreateClusterRequest extends $dara.Model {
781
596
  cpuPolicy?: string;
782
597
  /**
783
598
  * @remarks
784
- * **This field is deprecated.** Use the `extra_sans` parameter instead.
785
- *
786
- * The custom certificate Subject Alternative Name (SAN). Separate multiple IP addresses or domain names with commas (,).
599
+ * **[Deprecated]** Use the `extra_sans` parameter instead.
787
600
  *
788
601
  * @example
789
602
  * cs.aliyun.com
@@ -793,12 +606,7 @@ export declare class CreateClusterRequest extends $dara.Model {
793
606
  customSan?: string;
794
607
  /**
795
608
  * @remarks
796
- * Specifies whether to enable cluster deletion protection, which prevents the cluster from being accidentally deleted through the console or API. Valid values:
797
- *
798
- * - `true`: Enable cluster deletion protection. The cluster cannot be deleted through the console or API.
799
- * - `false`: Do not enable cluster deletion protection. The cluster can be deleted through the console or API.
800
- *
801
- * Default value: `false`.
609
+ * Specifies whether to enable deletion protection for the cluster to prevent accidental deletion through the console or API. Valid values:
802
610
  *
803
611
  * @example
804
612
  * true
@@ -806,15 +614,7 @@ export declare class CreateClusterRequest extends $dara.Model {
806
614
  deletionProtection?: boolean;
807
615
  /**
808
616
  * @remarks
809
- * 【**该字段已废弃**】集群创建失败时默认不会进行回滚,您需要自行清理创建失败的集群。
810
- *
811
- * 集群创建失败是否回滚。取值:
812
- *
813
- * - `true`:当集群创建失败时,进行回滚操作。
814
- * - `false`:当集群创建失败时,不进行回滚操作。
815
- *
816
- *
817
- * 默认值:`true`。
617
+ * **[Deprecated]** When cluster creation fails, rollback is not performed by default. You must manually clean up the failed cluster.
818
618
  *
819
619
  * @example
820
620
  * true
@@ -824,13 +624,7 @@ export declare class CreateClusterRequest extends $dara.Model {
824
624
  disableRollback?: boolean;
825
625
  /**
826
626
  * @remarks
827
- * 【**该字段已废弃**】请使用参数`rrsa_config`代替。
828
- *
829
- * 是否启用RRSA功能。
830
- *
831
- * - true:开启。
832
- *
833
- * - false:不开启。
627
+ * **[Deprecated]** Use the `rrsa_config` parameter instead.
834
628
  *
835
629
  * @example
836
630
  * false
@@ -840,9 +634,7 @@ export declare class CreateClusterRequest extends $dara.Model {
840
634
  enableRrsa?: boolean;
841
635
  /**
842
636
  * @remarks
843
- * The KMS key ID used to encrypt data disks. For more information, see [Key Management Service](https://help.aliyun.com/document_detail/28935.html).
844
- *
845
- * > This feature only takes effect in ACK Pro managed clusters.
637
+ * 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).
846
638
  *
847
639
  * @example
848
640
  * 0fe64791-55eb-4fc7-84c5-c6c7cdca****
@@ -850,12 +642,7 @@ export declare class CreateClusterRequest extends $dara.Model {
850
642
  encryptionProviderKey?: string;
851
643
  /**
852
644
  * @remarks
853
- * Specifies whether to public network access. Exposes the API Server through an EIP to public network access to the cluster.
854
- *
855
- * - `true`: Public network access.
856
- * - `false`: Do not public network access. If not enabled, the cluster API Server cannot be accessed from the Internet.
857
- *
858
- * Default value: `false`.
645
+ * Specifies whether to public network access. The API Server is exposed through an EIP to public network access to the cluster.
859
646
  *
860
647
  * @example
861
648
  * true
@@ -868,20 +655,7 @@ export declare class CreateClusterRequest extends $dara.Model {
868
655
  extraSans?: string[];
869
656
  /**
870
657
  * @remarks
871
- * 【**该字段已废弃**】创建集群时不支持选择已有节点,如需添加已有节点到集群,请先创建节点池,并调用[AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html)接口操作。
872
- *
873
- * 使用已有实例创建集群时,是否对实例进行数据盘挂载,取值:
874
- *
875
- * - `true`:将容器和镜像存储在数据盘,数据盘内原有数据将丢失,请注意备份数据。
876
- *
877
- * - `false`:不将容器和镜像存储在数据盘。
878
- *
879
- * 默认值:`false`。
880
- *
881
- * 数据盘挂载规则:
882
- *
883
- * - 如果ECS已挂载数据盘,且最后一块数据盘的文件系统未初始化,系统会自动将该数据盘格式化为ext4,用来存放内容/var/lib/docker、/var/lib/kubelet。
884
- * - 如果ECS未挂载数据盘,则不会挂载新的数据盘。
658
+ * **[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.
885
659
  *
886
660
  * @example
887
661
  * false
@@ -891,9 +665,7 @@ export declare class CreateClusterRequest extends $dara.Model {
891
665
  formatDisk?: boolean;
892
666
  /**
893
667
  * @remarks
894
- * **This field is deprecated.** For control plane configurations, use the `image_id` parameter under `control_plane_config` instead. For node pool configurations, use the `image_id` parameter under `scaling_group` in `nodepool` instead.
895
- *
896
- * The custom node image. The system image is used by default. When a custom image is selected, it replaces the default system image. For more information, see [Custom images](https://help.aliyun.com/document_detail/146647.html).
668
+ * **[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.
897
669
  *
898
670
  * @example
899
671
  * m-bp16z7xko3vvv8gt****
@@ -903,21 +675,7 @@ export declare class CreateClusterRequest extends $dara.Model {
903
675
  imageId?: string;
904
676
  /**
905
677
  * @remarks
906
- * 【**该字段已废弃**】集群控制面配置请使用`control_plane_config`下的`image_type`参数代替;节点池配置请使用`nodepool`中`scaling_group`下的`image_type`参数代替。
907
- *
908
- * 操作系统发行版类型,推荐使用该字段指定节点操作系统。取值:
909
- *
910
- * - CentOS
911
- * - AliyunLinux
912
- * - AliyunLinux Qboot
913
- * - AliyunLinuxUEFI
914
- * - AliyunLinux3
915
- * - Windows
916
- * - WindowsCore
917
- * - AliyunLinux3Arm64
918
- * - ContainerOS
919
- *
920
- * 默认值:`CentOS`。
678
+ * **[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.
921
679
  *
922
680
  * @example
923
681
  * AliyunLinux
@@ -927,36 +685,22 @@ export declare class CreateClusterRequest extends $dara.Model {
927
685
  imageType?: string;
928
686
  /**
929
687
  * @remarks
930
- * 【**该字段已废弃**】创建集群时不支持选择已有节点,如需添加已有节点到集群,请先创建节点池,并调用[AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html)接口操作。
931
- *
932
- *
933
- * 使用已有节点创建集群时,需要指定ECS实例列表,该实例会作为Worker节点加入集群。
934
- *
935
- * > 使用已有实例创建集群时,该字段必填。
688
+ * **[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.
936
689
  *
937
690
  * @deprecated
938
691
  */
939
692
  instances?: string[];
940
693
  /**
941
694
  * @remarks
942
- * The IP protocol stack of the cluster.
695
+ * The IP stack of the cluster.
943
696
  *
944
697
  * @example
945
- * 可选值:
946
- * ipv4(单栈)
947
- * dual(双栈),默认值为ipv4。
698
+ * Valid values:
948
699
  */
949
700
  ipStack?: string;
950
701
  /**
951
702
  * @remarks
952
- * Specifies whether to use automatic creation of an advanced security group. Takes effect when `security_group_id` is empty.
953
- *
954
- * > 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, we recommend using an advanced security group.
955
- *
956
- * - `true`: Create and use an advanced security group.
957
- * - `false`: Use a basic security group.
958
- *
959
- * Default value: `true`.
703
+ * Specifies whether to enable automatic creation of an advanced security group. This parameter takes effect only when `security_group_id` is empty.
960
704
  *
961
705
  * @example
962
706
  * true
@@ -964,14 +708,7 @@ export declare class CreateClusterRequest extends $dara.Model {
964
708
  isEnterpriseSecurityGroup?: boolean;
965
709
  /**
966
710
  * @remarks
967
- * 【**该字段已废弃**】创建集群时不支持选择已有节点,如需添加已有节点到集群,请先创建节点池,并调用[AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html)接口操作。
968
- *
969
- * 使用已有实例创建集群时,是否保留实例名称。
970
- *
971
- * - `true`:保留。
972
- * - `false`:不保留,会用系统规则进行替换。
973
- *
974
- * 默认值:`true`。
711
+ * **[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.
975
712
  *
976
713
  * @example
977
714
  * true
@@ -981,9 +718,7 @@ export declare class CreateClusterRequest extends $dara.Model {
981
718
  keepInstanceName?: boolean;
982
719
  /**
983
720
  * @remarks
984
- * **This field is deprecated.** For control plane configurations, use the `key_pair` parameter under `control_plane_config` instead. For node pool configurations, use the `key_pair` parameter under `scaling_group` in `nodepool` instead.
985
- *
986
- * The key pair name. Mutually exclusive with `login_password`.
721
+ * **[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.
987
722
  *
988
723
  * @example
989
724
  * security-key
@@ -993,11 +728,7 @@ export declare class CreateClusterRequest extends $dara.Model {
993
728
  keyPair?: string;
994
729
  /**
995
730
  * @remarks
996
- * The cluster version, which is consistent with the Kubernetes community baseline version. We recommend that you select the latest version. If you do not specify this parameter, the latest version is used by default.
997
- *
998
- * You can create clusters of the latest three versions. Call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query supported cluster versions.
999
- *
1000
- * For more information about Kubernetes versions supported by ACK, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
731
+ * 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.
1001
732
  *
1002
733
  * @example
1003
734
  * 1.32.1-aliyun.1
@@ -1005,8 +736,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1005
736
  kubernetesVersion?: string;
1006
737
  /**
1007
738
  * @remarks
1008
- * The CLB instance ID for API Server access. When this parameter is specified, automatic creation of the API Server CLB is not performed.
1009
- * > Ensure that the CLB instance has no other dependencies (such as listeners or backend servers). Shared and Internet-facing CLB instances are not supported.
739
+ * The CLB instance ID used for API Server access. When this parameter is specified, automatic creation of the API Server CLB is skipped.
1010
740
  *
1011
741
  * @example
1012
742
  * lb-wz9t256gqa3vbouk****
@@ -1014,17 +744,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1014
744
  loadBalancerId?: string;
1015
745
  /**
1016
746
  * @remarks
1017
- * 【**该参数已废弃**】CLB按使用量计费,该参数不生效。
1018
- *
1019
- * 负载均衡规格,取值:
1020
- * - slb.s1.small
1021
- * - slb.s2.small
1022
- * - slb.s2.medium
1023
- * - slb.s3.small
1024
- * - slb.s3.medium
1025
- * - slb.s3.large
1026
- *
1027
- * 默认值:`slb.s2.small`。
747
+ * **[Deprecated]** CLB is billed on a pay-by-usage basis. This parameter does not take effect.
1028
748
  *
1029
749
  * @example
1030
750
  * slb.s2.small
@@ -1034,7 +754,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1034
754
  loadBalancerSpec?: string;
1035
755
  /**
1036
756
  * @remarks
1037
- * 【**该字段已废弃**】集群开启日志服务,只针对ACK Serverless集群生效,且取值必须是`SLS`。
757
+ * **[Deprecated]** Enables the log service for the cluster. This parameter takes effect only for ACK Serverless clusters, and the value must be `SLS`.
1038
758
  *
1039
759
  * @example
1040
760
  * SLS
@@ -1044,9 +764,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1044
764
  loggingType?: string;
1045
765
  /**
1046
766
  * @remarks
1047
- * **This field is deprecated.** For control plane configurations, use the `login_password` parameter under `control_plane_config` instead. For node pool configurations, use the `login_password` parameter under `scaling_group` in `nodepool` instead.
1048
- *
1049
- * The SSH logon password. Mutually exclusive with `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
767
+ * **[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.
1050
768
  *
1051
769
  * @example
1052
770
  * null
@@ -1061,14 +779,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1061
779
  maintenanceWindow?: MaintenanceWindow;
1062
780
  /**
1063
781
  * @remarks
1064
- * **This field is deprecated.** For control plane configurations, use the `auto_renew` parameter under `control_plane_config` instead.
1065
- *
1066
- * Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only when `master_instance_charge_type` is set to `PrePaid`. Valid values:
1067
- *
1068
- * - `true`: Enables auto-renewal.
1069
- * - `false`: Disables auto-renewal.
1070
- *
1071
- * Default value: `true`.
782
+ * **[Deprecated]** For cluster control plane configuration, use the auto_renew parameter under `control_plane_config` instead.
1072
783
  *
1073
784
  * @example
1074
785
  * true
@@ -1078,13 +789,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1078
789
  masterAutoRenew?: boolean;
1079
790
  /**
1080
791
  * @remarks
1081
- * **This field is deprecated.** For control plane configurations, use the `auto_renew_period` parameter under `control_plane_config` instead.
1082
- *
1083
- * The auto-renewal period for master nodes. This parameter takes effect and is required when the subscription billing method is selected.
1084
- *
1085
- * Valid values: {1, 2, 3, 6, 12}.
1086
- *
1087
- * Default value: 1.
792
+ * **[Deprecated]** For cluster control plane configuration, use the auto_renew_period parameter under `control_plane_config` instead.
1088
793
  *
1089
794
  * @example
1090
795
  * 1
@@ -1094,11 +799,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1094
799
  masterAutoRenewPeriod?: number;
1095
800
  /**
1096
801
  * @remarks
1097
- * **This field is deprecated.** For control plane configurations, use the `size` parameter under `control_plane_config` instead.
1098
- *
1099
- * The number of master nodes. Valid values: `3` or `5`.
1100
- *
1101
- * Default value: `3`.
802
+ * **[Deprecated]** For cluster control plane configuration, use the size parameter under `control_plane_config` instead.
1102
803
  *
1103
804
  * @example
1104
805
  * 3
@@ -1108,14 +809,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1108
809
  masterCount?: number;
1109
810
  /**
1110
811
  * @remarks
1111
- * **This field is deprecated.** For control plane configurations, use the `instance_charge_type` parameter under `control_plane_config` instead.
1112
- *
1113
- * The billing method for master nodes. Valid values:
1114
- *
1115
- * - `PrePaid`: subscription.
1116
- * - `PostPaid`: pay-as-you-go.
1117
- *
1118
- * Default value: `PostPaid`.
812
+ * **[Deprecated]** For cluster control plane configuration, use the instance_charge_type parameter under `control_plane_config` instead.
1119
813
  *
1120
814
  * @example
1121
815
  * PrePaid
@@ -1125,22 +819,14 @@ export declare class CreateClusterRequest extends $dara.Model {
1125
819
  masterInstanceChargeType?: string;
1126
820
  /**
1127
821
  * @remarks
1128
- * **This field is deprecated.** For control plane configurations, use the `instance_types` parameter under `control_plane_config` instead.
1129
- *
1130
- * The instance types for master nodes. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
822
+ * **[Deprecated]** For cluster control plane configuration, use the instance_types parameter under `control_plane_config` instead.
1131
823
  *
1132
824
  * @deprecated
1133
825
  */
1134
826
  masterInstanceTypes?: string[];
1135
827
  /**
1136
828
  * @remarks
1137
- * **This field is deprecated.** For control plane configurations, use the `unit` parameter under `control_plane_config` instead.
1138
- *
1139
- * The subscription duration for master nodes. This parameter takes effect and is required only when `master_instance_charge_type` is set to `PrePaid`.
1140
- *
1141
- * Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
1142
- *
1143
- * Default value: 1.
829
+ * **[Deprecated]** For cluster control plane configuration, use the `unit` parameter under `control_plane_config` instead.
1144
830
  *
1145
831
  * @example
1146
832
  * 1
@@ -1150,11 +836,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1150
836
  masterPeriod?: number;
1151
837
  /**
1152
838
  * @remarks
1153
- * **This field is deprecated.** For control plane configurations, use the `period_unit` parameter under `control_plane_config` instead.
1154
- *
1155
- * The billing period unit for master nodes. This parameter is required when the billing method is `PrePaid`.
1156
- *
1157
- * Valid values: `Month`. Only monthly billing is supported.
839
+ * **[Deprecated]** For cluster control plane configuration, use the period_unit parameter under `control_plane_config` instead.
1158
840
  *
1159
841
  * @example
1160
842
  * Month
@@ -1164,15 +846,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1164
846
  masterPeriodUnit?: string;
1165
847
  /**
1166
848
  * @remarks
1167
- * **This field is deprecated.** For control plane configurations, use the `system_disk_category` parameter under `control_plane_config` instead.
1168
- *
1169
- * The system cloud disk type for master nodes. Valid values:
1170
- *
1171
- * - `cloud_efficiency`: ultra cloud disk.
1172
- * - `cloud_ssd`: standard SSD.
1173
- * - `cloud_essd`: ESSD.
1174
- *
1175
- * Default value: `cloud_ssd`. The default value may vary by zone.
849
+ * **[Deprecated]** For cluster control plane configuration, use the system_disk_category parameter under `control_plane_config` instead.
1176
850
  *
1177
851
  * @example
1178
852
  * cloud_ssd
@@ -1182,9 +856,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1182
856
  masterSystemDiskCategory?: string;
1183
857
  /**
1184
858
  * @remarks
1185
- * **This field is deprecated.** For control plane configurations, use the `system_disk_performance_level` parameter under `control_plane_config` instead.
1186
- *
1187
- * The performance level of the system cloud disk for cluster master nodes. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
859
+ * **[Deprecated]** For cluster control plane configuration, use the system_disk_performance_level parameter under `control_plane_config` instead.
1188
860
  *
1189
861
  * @example
1190
862
  * PL1
@@ -1194,11 +866,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1194
866
  masterSystemDiskPerformanceLevel?: string;
1195
867
  /**
1196
868
  * @remarks
1197
- * **This field is deprecated.** For control plane configurations, use the `system_disk_size` parameter under `control_plane_config` instead.
1198
- *
1199
- * The system cloud disk size for master nodes. Valid values: [40,500\\]. Unit: GiB.
1200
- *
1201
- * Default value: `120`.
869
+ * **[Deprecated]** For cluster control plane configuration, use the system_disk_size parameter under `control_plane_config` instead.
1202
870
  *
1203
871
  * @example
1204
872
  * 120
@@ -1208,9 +876,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1208
876
  masterSystemDiskSize?: number;
1209
877
  /**
1210
878
  * @remarks
1211
- * **This field is deprecated.** For control plane configurations, use the `system_disk_snapshot_policy_id` parameter under `control_plane_config` instead.
1212
- *
1213
- * The automatic snapshot policy ID for the master node system cloud disk.
879
+ * **[Deprecated]** For cluster control plane configuration, use the system_disk_snapshot_policy_id parameter under `control_plane_config` instead.
1214
880
  *
1215
881
  * @example
1216
882
  * sp-2zej1nogjvovnz4z****
@@ -1220,11 +886,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1220
886
  masterSystemDiskSnapshotPolicyId?: string;
1221
887
  /**
1222
888
  * @remarks
1223
- * **This field is deprecated.** Use the `vswitch_ids` parameter instead.
1224
- *
1225
- * The list of vSwitch IDs for master nodes. The number of vSwitches ranges from [1,3\\]. To ensure high availability, select three vSwitches distributed across different zones.
1226
- *
1227
- * The number of specified instance types must match the value of `master_count` and correspond one-to-one with the elements in `master_vswitch_ids`.
889
+ * **[Deprecated]** Use the `vswitch_ids` parameter instead.
1228
890
  *
1229
891
  * @deprecated
1230
892
  */
@@ -1241,7 +903,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1241
903
  name?: string;
1242
904
  /**
1243
905
  * @remarks
1244
- * 【**该字段已废弃**】请使用参数`snat_entry`代替。
906
+ * **[Deprecated]** Use the `snat_entry` parameter instead.
1245
907
  *
1246
908
  * @example
1247
909
  * true
@@ -1251,9 +913,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1251
913
  natGateway?: boolean;
1252
914
  /**
1253
915
  * @remarks
1254
- * The number of IP addresses per node, determined by specifying the network CIDR mask. Only takes effect for Flannel network type clusters.
1255
- *
1256
- * Default value: `26`.
916
+ * The number of node IP addresses, determined by specifying the network CIDR block. This parameter takes effect only for Flannel network type clusters.
1257
917
  *
1258
918
  * @example
1259
919
  * 25
@@ -1261,7 +921,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1261
921
  nodeCidrMask?: string;
1262
922
  /**
1263
923
  * @remarks
1264
- * **This field is deprecated.** For node pool configurations, use the `node_name_mode` parameter under `kubernetes_config` in `nodepool` instead.
924
+ * **[Deprecated]** For node pool configuration, use the `node_name_mode` parameter under `kubernetes_config` in `nodepool` instead.
1265
925
  *
1266
926
  * @example
1267
927
  * null
@@ -1271,9 +931,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1271
931
  nodeNameMode?: string;
1272
932
  /**
1273
933
  * @remarks
1274
- * The node service port range. Valid values: [30000,65535\\].
1275
- *
1276
- * Default value: `30000-32767`.
934
+ * The node service port. Valid port range: [30000,65535\\].
1277
935
  *
1278
936
  * @example
1279
937
  * 30000~32767
@@ -1288,9 +946,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1288
946
  nodepools?: Nodepool[];
1289
947
  /**
1290
948
  * @remarks
1291
- * **This field is deprecated.** For node pool configurations, use the `desired_size` parameter under `scaling_group` in `nodepool` instead.
1292
- *
1293
- * The number of worker nodes. Valid values: [0, 100\\].
949
+ * **[Deprecated]** For node pool configuration, use the desired_size parameter under `scaling_group` in `nodepool` instead.
1294
950
  *
1295
951
  * @example
1296
952
  * 3
@@ -1305,13 +961,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1305
961
  operationPolicy?: CreateClusterRequestOperationPolicy;
1306
962
  /**
1307
963
  * @remarks
1308
- * **This field is deprecated.** For control plane node configurations, use the `image_type` parameter under `control_plane_config` instead. For node pool configurations, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
1309
- *
1310
- * The operating system platform type. Valid values:
1311
- * - Windows
1312
- * - Linux
1313
- *
1314
- * Default value: `Linux`.
964
+ * **[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.
1315
965
  *
1316
966
  * @example
1317
967
  * Linux
@@ -1321,15 +971,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1321
971
  osType?: string;
1322
972
  /**
1323
973
  * @remarks
1324
- * 【**该字段已废弃**】
1325
- *
1326
- * 购买时长。包年包月时长,当charge_type取值为PrePaid时才生效,且为必选值。
1327
- *
1328
- * 取值范围:{1, 2, 3, 6, 12, 24, 36, 48, 60}。
1329
- *
1330
- * 默认值:1。
1331
- *
1332
- * 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
974
+ * **[Deprecated]**
1333
975
  *
1334
976
  * @example
1335
977
  * 1
@@ -1339,13 +981,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1339
981
  period?: number;
1340
982
  /**
1341
983
  * @remarks
1342
- * 【**该字段已废弃**】
1343
- *
1344
- * 付费周期,当付费类型为PrePaid的时候,需要指定周期。
1345
- *
1346
- * 取值:Month,当前仅支持以月为周期。
1347
- *
1348
- * 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
984
+ * **[Deprecated]**
1349
985
  *
1350
986
  * @example
1351
987
  * Month
@@ -1355,18 +991,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1355
991
  periodUnit?: string;
1356
992
  /**
1357
993
  * @remarks
1358
- * **This field is deprecated.** For node pool configurations, use the `platform` parameter under `scaling_group` in `nodepool` instead.
1359
- *
1360
- * The operating system distribution. Valid values:
1361
- *
1362
- * - CentOS
1363
- * - AliyunLinux
1364
- * - QbootAliyunLinux
1365
- * - Qboot
1366
- * - Windows
1367
- * - WindowsCore
1368
- *
1369
- * Default value: `CentOS`.
994
+ * **[Deprecated]** For node pool configuration, use the `platform` parameter under `scaling_group` in `nodepool` instead.
1370
995
  *
1371
996
  * @example
1372
997
  * CentOS
@@ -1376,19 +1001,14 @@ export declare class CreateClusterRequest extends $dara.Model {
1376
1001
  platform?: string;
1377
1002
  /**
1378
1003
  * @remarks
1379
- * **This field is deprecated.** When you select Terway as the network plugin, you must assign vSwitches for Pod IP 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.
1380
- * > The CIDR block mask of the Pod vSwitch should not exceed 19 and must not exceed 25. Otherwise, the number of Pod IP addresses available in the cluster network is very limited, which affects normal cluster usage.
1004
+ * **[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.
1381
1005
  *
1382
1006
  * @deprecated
1383
1007
  */
1384
1008
  podVswitchIds?: string[];
1385
1009
  /**
1386
1010
  * @remarks
1387
- * When you set `cluster_type` to `ManagedKubernetes` (ACK managed cluster types), you can further specify the cluster subtype.
1388
- * - `Default`: ACK managed cluster, including ACK clusters (Pro and Basic).
1389
- * - `Edge`: ACK Edge cluster, including ACK Edge clusters (Pro and Basic).
1390
- * - `Serverless`: ACK Serverless cluster, including ACK Serverless clusters (Pro and Basic).
1391
- * - `Lingjun`: ACK Lingjun cluster, available in Pro.
1011
+ * If you set `cluster_type` to `ManagedKubernetes`, which indicates an ACK managed cluster, you can further specify the cluster subtype.
1392
1012
  *
1393
1013
  * @example
1394
1014
  * Default
@@ -1396,14 +1016,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1396
1016
  profile?: string;
1397
1017
  /**
1398
1018
  * @remarks
1399
- * The kube-proxy mode.
1400
- *
1401
- * - `iptables`: A mature and stable kube-proxy mode. Service discovery and load balancing for Kubernetes Services are configured using iptables rules. However, performance is average and significantly affected by scale. Suitable for clusters with a small number of Services.
1402
- * - `ipvs`: A high-performance kube-proxy mode. Service discovery and load balancing for Kubernetes Services are configured using the Linux IPVS module. Suitable for clusters with a large number of Services that require high-performance load balancing.
1403
- * - `nftables`: A next-generation kube-proxy mode that implements Service discovery and load balancing based on Linux nftables, serving as a modern replacement for iptables. Compared to iptables, nftables offers better network performance, more efficient rule updates, and improved behavior in large-scale Service scenarios.
1404
- * Only supported for clusters running version 1.35 or later. The Kubernetes community deprecated IPVS starting from version 1.35. For new clusters, use nftables for longer-term community support.
1405
- *
1406
- * Default value: `ipvs`.
1019
+ * The kube-proxy proxy mode.
1407
1020
  *
1408
1021
  * @example
1409
1022
  * ipvs
@@ -1411,16 +1024,14 @@ export declare class CreateClusterRequest extends $dara.Model {
1411
1024
  proxyMode?: string;
1412
1025
  /**
1413
1026
  * @remarks
1414
- * **This field is deprecated.** For node pool configurations, use the `rds_instances` parameter under `scaling_group` in `nodepool` instead.
1415
- *
1416
- * The list of RDS instances. Select the RDS instances that you want to add to the whitelist. Go to the RDS console to add the container pod CIDR block and node CIDR block. Configuring RDS instances may fail if the instances are not in the running state.
1027
+ * **[Deprecated]** For node pool configuration, use the `rds_instances` parameter under `scaling_group` in `nodepool` instead.
1417
1028
  *
1418
1029
  * @deprecated
1419
1030
  */
1420
1031
  rdsInstances?: string[];
1421
1032
  /**
1422
1033
  * @remarks
1423
- * The region ID of the cluster. For more information, see [Regions supported by Container Service](https://help.aliyun.com/document_detail/216938.html).
1034
+ * The region ID of the cluster. For details, see [Regions supported by container service](https://help.aliyun.com/document_detail/216938.html).
1424
1035
  *
1425
1036
  * This parameter is required.
1426
1037
  *
@@ -1430,7 +1041,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1430
1041
  regionId?: string;
1431
1042
  /**
1432
1043
  * @remarks
1433
- * The resource group ID of the cluster, used to isolate different resources.
1044
+ * The resource group ID of the cluster, which is used to isolate different resources.
1434
1045
  *
1435
1046
  * @example
1436
1047
  * rg-acfm3mkrure****
@@ -1438,22 +1049,19 @@ export declare class CreateClusterRequest extends $dara.Model {
1438
1049
  resourceGroupId?: string;
1439
1050
  /**
1440
1051
  * @remarks
1441
- * The RRSA configuration.
1052
+ * The RRSA feature configuration.
1442
1053
  */
1443
1054
  rrsaConfig?: CreateClusterRequestRrsaConfig;
1444
1055
  /**
1445
1056
  * @remarks
1446
- * The container runtime of the cluster. Supported runtimes include containerd, sandboxed containers, and Docker.
1447
- * > Kubernetes 1.24 no longer supports Docker as a built-in container runtime.
1448
- *
1449
- * For more information, see [Comparison among Docker, containerd, and sandboxed container runtimes](https://help.aliyun.com/document_detail/160313.html).
1057
+ * The container runtime in the cluster. Supported runtimes include containerd, sandboxed containers, and Docker.
1450
1058
  *
1451
1059
  * @deprecated
1452
1060
  */
1453
1061
  runtime?: Runtime;
1454
1062
  /**
1455
1063
  * @remarks
1456
- * The security group ID. Specify this parameter 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.
1064
+ * 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.
1457
1065
  *
1458
1066
  * @example
1459
1067
  * sg-bp1bdue0qc1g7k****
@@ -1461,14 +1069,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1461
1069
  securityGroupId?: string;
1462
1070
  /**
1463
1071
  * @remarks
1464
- * **This field is deprecated.** For control plane configurations, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configurations, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
1465
- *
1466
- * Alibaba Cloud OS security hardening. Valid values:
1467
- *
1468
- * - `true`: Enables Alibaba Cloud OS security hardening.
1469
- * - `false`: Does not enable Alibaba Cloud OS security hardening.
1470
- *
1471
- * Default value: `false`.
1072
+ * **[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.
1472
1073
  *
1473
1074
  * @example
1474
1075
  * false
@@ -1478,9 +1079,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1478
1079
  securityHardeningOs?: boolean;
1479
1080
  /**
1480
1081
  * @remarks
1481
- * 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`.
1482
- *
1483
- * For more information about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
1082
+ * 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`.
1484
1083
  *
1485
1084
  * @example
1486
1085
  * kubernetes.default.svc
@@ -1488,9 +1087,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1488
1087
  serviceAccountIssuer?: string;
1489
1088
  /**
1490
1089
  * @remarks
1491
- * The 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. It cannot overlap with the VPC CIDR block 10.1.0.0/21 or CIDR blocks used by existing Kubernetes clusters in the VPC. It cannot be modified after creation.
1492
- *
1493
- * Default value: 172.19.0.0/20.
1090
+ * 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.
1494
1091
  *
1495
1092
  * @example
1496
1093
  * 172.21.0.0/20
@@ -1498,26 +1095,14 @@ export declare class CreateClusterRequest extends $dara.Model {
1498
1095
  serviceCidr?: string;
1499
1096
  /**
1500
1097
  * @remarks
1501
- * 【**该字段已废弃**】集群内服务发现类型,用于在`ACK Serverless`集群中指定服务发现方式。
1502
- *
1503
- * - `CoreDNS`:使用Kubernetes原生标准服务发现组件CoreDNS,需要在集群部署一组容器用于DNS解析。默认采用两个0.25 Core 512 MiB规格的ECI实例。
1504
- * - `PrivateZone`:使用阿里云PrivateZone产品提供服务发现能力,需要开启PrivateZone服务。
1505
- *
1506
- * 默认值:不开启。
1098
+ * **[Deprecated]** The service discovery types within the cluster, used to specify the service discovery method in `ACK Serverless` clusters.
1507
1099
  *
1508
1100
  * @deprecated
1509
1101
  */
1510
1102
  serviceDiscoveryTypes?: string[];
1511
1103
  /**
1512
1104
  * @remarks
1513
- * Settings for configuring SNAT for the VPC. Valid values:
1514
- *
1515
- * - `true`: Use automatic creation of a NAT gateway and configure SNAT rules. Set this to `true` if nodes and applications in the cluster need to access the Internet.
1516
- * - `false`: Do not create a NAT gateway or SNAT rules. Nodes and applications in the cluster cannot access the Internet.
1517
- *
1518
- * > If this is not enabled during cluster creation and Internet access is needed later, you can [manually enable it](https://help.aliyun.com/document_detail/178480.html).
1519
- *
1520
- * Default value: `false`.
1105
+ * Specifies whether to configure SNAT for the VPC. Valid values:
1521
1106
  *
1522
1107
  * @example
1523
1108
  * false
@@ -1525,15 +1110,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1525
1110
  snatEntry?: boolean;
1526
1111
  /**
1527
1112
  * @remarks
1528
- * **This field is deprecated.** For control plane node configurations, use the `soc_enabled` parameter under `control_plane_config` instead. For node pool configurations, use the `soc_enabled` parameter under `scaling_group` in `nodepool` instead.
1529
- *
1530
- * MLPS 2.0 security hardening. For more information, see [ACK MLPS 2.0 security hardening usage instructions](https://help.aliyun.com/document_detail/196148.html).
1531
- *
1532
- * Valid values:
1533
- * - `true`: Enables MLPS 2.0 security hardening.
1534
- * - `false`: Does not enable MLPS 2.0 security hardening.
1535
- *
1536
- * Default value: `false`.
1113
+ * **[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.
1537
1114
  *
1538
1115
  * @example
1539
1116
  * false
@@ -1543,11 +1120,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1543
1120
  socEnabled?: boolean;
1544
1121
  /**
1545
1122
  * @remarks
1546
- * Specifies whether to enable public SSH logon. Used to log on to the master nodes of ACK dedicated clusters. This parameter does not take effect for managed clusters.
1547
- * - `true`: Enable.
1548
- * - `false`: Do not enable.
1549
- *
1550
- * Default value: `false`.
1123
+ * 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.
1551
1124
  *
1552
1125
  * @example
1553
1126
  * true
@@ -1556,27 +1129,18 @@ export declare class CreateClusterRequest extends $dara.Model {
1556
1129
  /**
1557
1130
  * @remarks
1558
1131
  * The node tags. Tag definition rules:
1559
- *
1560
- * - Tags are composed of case-sensitive key-value pairs. You can set up to 20 tags.
1561
- * - Tag keys cannot be duplicated and can be up to 64 characters in length. Tag values can be empty and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun", "acs:", "https://", or "http://". For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
1562
1132
  */
1563
1133
  tags?: Tag[];
1564
1134
  /**
1565
1135
  * @remarks
1566
- * **This field is deprecated.** For node pool configurations, use the `taints` parameter under `kubernetes_config` in `nodepool` instead.
1567
- *
1568
- * The node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
1136
+ * **[Deprecated]** For node pool configuration, use the `taints` parameter under `kubernetes_config` in `nodepool` instead.
1569
1137
  *
1570
1138
  * @deprecated
1571
1139
  */
1572
1140
  taints?: Taint[];
1573
1141
  /**
1574
1142
  * @remarks
1575
- * 【**该字段已废弃**】集群创建失败时默认不会进行回滚,您需要自行清理创建失败的集群。
1576
- *
1577
- * 集群创建超时时间,单位分钟。
1578
- *
1579
- * 默认值:`60`。
1143
+ * **[Deprecated]** When cluster creation fails, rollback is not performed by default. You must manually clean up the failed cluster.
1580
1144
  *
1581
1145
  * @example
1582
1146
  * 60
@@ -1586,7 +1150,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1586
1150
  timeoutMins?: number;
1587
1151
  /**
1588
1152
  * @remarks
1589
- * The time zone used by the cluster. See [Supported time zones](https://help.aliyun.com/document_detail/354879.html).
1153
+ * The time zone used by the cluster. For more information, see [Supported time zones](https://help.aliyun.com/document_detail/354879.html).
1590
1154
  *
1591
1155
  * @example
1592
1156
  * Asia/Shanghai
@@ -1602,7 +1166,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1602
1166
  userCa?: string;
1603
1167
  /**
1604
1168
  * @remarks
1605
- * **This field is deprecated.** The custom node data.
1169
+ * **[Deprecated]** The custom node data.
1606
1170
  *
1607
1171
  * @example
1608
1172
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
@@ -1612,7 +1176,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1612
1176
  userData?: string;
1613
1177
  /**
1614
1178
  * @remarks
1615
- * The VPC used by the cluster. You must provide a VPC when creating a cluster.
1179
+ * The VPC used by the cluster. You must provide a VPC when you create a cluster.
1616
1180
  *
1617
1181
  * @example
1618
1182
  * vpc-2zeik9h3ahvv2zz95****
@@ -1620,19 +1184,12 @@ export declare class CreateClusterRequest extends $dara.Model {
1620
1184
  vpcid?: string;
1621
1185
  /**
1622
1186
  * @remarks
1623
- * The vSwitches for cluster nodes. This field is required when creating a zero-node managed cluster.
1187
+ * The vSwitches for cluster nodes. This field is required when you create a zero-node managed cluster.
1624
1188
  */
1625
1189
  vswitchIds?: string[];
1626
1190
  /**
1627
1191
  * @remarks
1628
- * 【**该字段已废弃**】节点池配置请使用`nodepool`中`scaling_group`下的`auto_renew`参数代替。
1629
- *
1630
- * Worker节点是否开启自动续费,当`worker_instance_charge_type`取值为`PrePaid`时才生效,取值:
1631
- *
1632
- * - `true`:自动续费。
1633
- * - `false`:不自动续费。
1634
- *
1635
- * 默认值:`true`。
1192
+ * **[Deprecated]** For node pool configuration, use the auto_renew parameter under `scaling_group` in `nodepool` instead.
1636
1193
  *
1637
1194
  * @example
1638
1195
  * true
@@ -1642,12 +1199,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1642
1199
  workerAutoRenew?: boolean;
1643
1200
  /**
1644
1201
  * @remarks
1645
- * 【**该字段已废弃**】节点池配置请使用`nodepool`中`scaling_group`下的`auto_renew_period`参数代替。
1646
- *
1647
- *
1648
- * Worker节点自动续费周期,当选择包年包月付费类型时才生效,且为必选值。
1649
- *
1650
- * 取值范围:{1, 2, 3, 6, 12}。
1202
+ * **[Deprecated]** For node pool configuration, use the auto_renew_period parameter under `scaling_group` in `nodepool` instead.
1651
1203
  *
1652
1204
  * @example
1653
1205
  * 1
@@ -1657,23 +1209,14 @@ export declare class CreateClusterRequest extends $dara.Model {
1657
1209
  workerAutoRenewPeriod?: number;
1658
1210
  /**
1659
1211
  * @remarks
1660
- * **This field is deprecated.** For node pool configurations, use the `data_disks` parameter under `scaling_group` in `nodepool` instead.
1661
- *
1662
- * The data cloud disk type, size, and other configurations for worker nodes.
1212
+ * **[Deprecated]** For node pool configuration, use the data_disks parameter under `scaling_group` in `nodepool` instead.
1663
1213
  *
1664
1214
  * @deprecated
1665
1215
  */
1666
1216
  workerDataDisks?: CreateClusterRequestWorkerDataDisks[];
1667
1217
  /**
1668
1218
  * @remarks
1669
- * **This field is deprecated.** For node pool configurations, use the `instance_charge_type` parameter under `scaling_group` in `nodepool` instead.
1670
- *
1671
- * The billing method for worker nodes. Valid values:
1672
- *
1673
- * - `PrePaid`: subscription.
1674
- * - `PostPaid`: pay-as-you-go.
1675
- *
1676
- * Default value: pay-as-you-go.
1219
+ * **[Deprecated]** For node pool configuration, use the instance_charge_type parameter under `scaling_group` in `nodepool` instead.
1677
1220
  *
1678
1221
  * @example
1679
1222
  * PrePaid
@@ -1683,18 +1226,14 @@ export declare class CreateClusterRequest extends $dara.Model {
1683
1226
  workerInstanceChargeType?: string;
1684
1227
  /**
1685
1228
  * @remarks
1686
- * **This field is deprecated.** For node pool configurations, use the `instance_types` parameter under `scaling_group` in `nodepool` instead.
1687
- *
1688
- * The instance configuration for worker nodes.
1229
+ * **[Deprecated]** For node pool configuration, use the instance_types parameter under `scaling_group` in `nodepool` instead.
1689
1230
  *
1690
1231
  * @deprecated
1691
1232
  */
1692
1233
  workerInstanceTypes?: string[];
1693
1234
  /**
1694
1235
  * @remarks
1695
- * **This field is deprecated.** For node pool configurations, use the `period` parameter under `scaling_group` in `nodepool` instead.
1696
- *
1697
- * The subscription duration for worker nodes. This parameter takes effect and is required only when `worker_
1236
+ * **[Deprecated]** For node pool configuration, use the period parameter under `scaling_group` in `nodepool` instead.
1698
1237
  *
1699
1238
  * @example
1700
1239
  * 1
@@ -1704,11 +1243,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1704
1243
  workerPeriod?: number;
1705
1244
  /**
1706
1245
  * @remarks
1707
- * **This field is deprecated.** For node pool configurations, use the `period_unit` parameter under `scaling_group` in `nodepool` instead.
1708
- *
1709
- * The billing period unit for worker nodes. This parameter is required when the billing method is `PrePaid`.
1710
- *
1711
- * Valid values: `Month`. Only monthly billing is supported.
1246
+ * **[Deprecated]** For node pool configuration, use the period_unit parameter under `scaling_group` in `nodepool` instead.
1712
1247
  *
1713
1248
  * @example
1714
1249
  * Month
@@ -1718,17 +1253,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1718
1253
  workerPeriodUnit?: string;
1719
1254
  /**
1720
1255
  * @remarks
1721
- * **This field is deprecated.** For node pool configurations, use the `system_disk_category` parameter under `scaling_group` in `nodepool` instead.
1722
- *
1723
- * The system cloud disk type for worker nodes. For more information, see [Block storage overview](https://help.aliyun.com/document_detail/63136.html).
1724
- *
1725
- * Valid values:
1726
- *
1727
- * - `cloud_efficiency`: ultra cloud disk.
1728
- * - `cloud_ssd`: standard SSD.
1729
- *
1730
- *
1731
- * Default value: `cloud_ssd`.
1256
+ * **[Deprecated]** For node pool configuration, use the system_disk_category parameter under `scaling_group` in `nodepool` instead.
1732
1257
  *
1733
1258
  * @example
1734
1259
  * cloud_efficiency
@@ -1738,16 +1263,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1738
1263
  workerSystemDiskCategory?: string;
1739
1264
  /**
1740
1265
  * @remarks
1741
- * **This field is deprecated.** For node pool configurations, use the `system_disk_performance_level` parameter under `scaling_group` in `nodepool` instead.
1742
- *
1743
- * When the system cloud disk is an ESSD, you can set the performance level (PL) of the ESSD. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
1744
- *
1745
- * Valid values:
1746
- *
1747
- * - PL0
1748
- * - PL1
1749
- * - PL2
1750
- * - PL3
1266
+ * **[Deprecated]** For node pool configuration, use the system_disk_performance_level parameter under `scaling_group` in `nodepool` instead.
1751
1267
  *
1752
1268
  * @example
1753
1269
  * PL1
@@ -1757,15 +1273,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1757
1273
  workerSystemDiskPerformanceLevel?: string;
1758
1274
  /**
1759
1275
  * @remarks
1760
- * **This field is deprecated.** For node pool configurations, use the `system_disk_size` parameter under `scaling_group` in `nodepool` instead.
1761
- *
1762
- * The system cloud disk size for worker nodes. Unit: GiB.
1763
- *
1764
- * Valid values: [40,500\\].
1765
- *
1766
- * The value must be greater than or equal to max{40, ImageSize}.
1767
- *
1768
- * Default value: `120`.
1276
+ * **[Deprecated]** For node pool configuration, use the system_disk_size parameter under `scaling_group` in `nodepool` instead.
1769
1277
  *
1770
1278
  * @example
1771
1279
  * 120
@@ -1775,9 +1283,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1775
1283
  workerSystemDiskSize?: number;
1776
1284
  /**
1777
1285
  * @remarks
1778
- * **This field is deprecated.** For node pool configurations, use the `system_disk_snapshot_policy_id` parameter under `scaling_group` in `nodepool` instead.
1779
- *
1780
- * The automatic snapshot policy ID for the worker node system cloud disk.
1286
+ * **[Deprecated]** For node pool configuration, use the system_disk_snapshot_policy_id parameter under `scaling_group` in `nodepool` instead.
1781
1287
  *
1782
1288
  * @example
1783
1289
  * sp-2zej1nogjvovnz4z****
@@ -1787,22 +1293,14 @@ export declare class CreateClusterRequest extends $dara.Model {
1787
1293
  workerSystemDiskSnapshotPolicyId?: string;
1788
1294
  /**
1789
1295
  * @remarks
1790
- * **This field is deprecated.** For node pool configurations, use the `vswitch_ids` parameter under `scaling_group` in `nodepool` instead.
1791
- *
1792
- * The list of vSwitches used by cluster nodes. Each node corresponds to one value.
1793
- *
1794
- * When creating a zero-node managed cluster, the `worker_vswitch_ids` field is not required, but you must provide `vswitch_ids`.
1296
+ * **[Deprecated]** For node pool configuration, use the vswitch_ids parameter under `scaling_group` in `nodepool` instead.
1795
1297
  *
1796
1298
  * @deprecated
1797
1299
  */
1798
1300
  workerVswitchIds?: string[];
1799
1301
  /**
1800
1302
  * @remarks
1801
- * 【**该字段已废弃**】请使用`zone_ids`参数代替。
1802
- *
1803
- * 集群所属地域的可用区ID。此参数为ACK托管类的集群特有参数。
1804
- *
1805
- * 当创建ACK托管类的集群时,如果未指定`vpc_id`和`vswitch_ids`,必须为集群指定`zone_id`,用于自动在该可用区创建VPC网络资源;指定`vpc_id`和`vswitch_ids`时,该参数无效。
1303
+ * **[Deprecated]** Use the `zone_ids` parameter instead.
1806
1304
  *
1807
1305
  * @example
1808
1306
  * cn-beiji****
@@ -1812,7 +1310,7 @@ export declare class CreateClusterRequest extends $dara.Model {
1812
1310
  zoneId?: string;
1813
1311
  /**
1814
1312
  * @remarks
1815
- * The zone IDs of the region where the cluster resides. This parameter is specific to ACK managed cluster types.
1313
+ * The zone IDs of the cluster region. This parameter is specific to ACK managed clusters.
1816
1314
  */
1817
1315
  zoneIds?: string[];
1818
1316
  static names(): {