@alicloud/cs20151215 7.0.3 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +30 -30
- package/dist/client.js +33 -30
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +139 -83
- package/dist/models/CreateClusterNodePoolRequest.js +29 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +163 -131
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +120 -92
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +64 -49
- package/dist/models/ModifyClusterNodePoolRequest.js +4 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/Nodepool.d.ts +132 -88
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +34 -30
- package/src/models/CreateClusterNodePoolRequest.ts +158 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +182 -131
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +139 -92
- package/src/models/ModifyClusterNodePoolRequest.ts +68 -49
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +151 -88
- package/src/models/model.ts +7 -0
|
@@ -3,9 +3,9 @@ import { MaintenanceWindow } from "./MaintenanceWindow";
|
|
|
3
3
|
export declare class ModifyClusterRequestApiServerCustomCertSans extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
*
|
|
7
|
-
* - overwrite:
|
|
8
|
-
* - append:
|
|
6
|
+
* Specifies whether to overwrite or append the SAN configuration. Valid values:
|
|
7
|
+
* - overwrite: overwrites the existing configuration.
|
|
8
|
+
* - append: appends to the existing configuration.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* append
|
|
@@ -13,7 +13,7 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $dara.M
|
|
|
13
13
|
action?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* SAN list.
|
|
16
|
+
* The SAN list.
|
|
17
17
|
*/
|
|
18
18
|
subjectAlternativeNames?: string[];
|
|
19
19
|
static names(): {
|
|
@@ -30,10 +30,10 @@ export declare class ModifyClusterRequestApiServerCustomCertSans extends $dara.M
|
|
|
30
30
|
export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
*
|
|
33
|
+
* Specifies whether to enable auto-renewal for control plane node instances. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
34
34
|
*
|
|
35
|
-
* - `true`:
|
|
36
|
-
* - `false`:
|
|
35
|
+
* - `true`: Enables auto-renewal.
|
|
36
|
+
* - `false`: Disables auto-renewal.
|
|
37
37
|
*
|
|
38
38
|
* Default value: `false`.
|
|
39
39
|
*
|
|
@@ -43,7 +43,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
43
43
|
autoRenew?: boolean;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
*
|
|
46
|
+
* The auto-renewal duration for each renewal cycle of control plane node instances.
|
|
47
47
|
*
|
|
48
48
|
* Valid values: {1, 2, 3, 6, 12}. Unit: months.
|
|
49
49
|
*
|
|
@@ -55,10 +55,10 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
55
55
|
autoRenewPeriod?: number;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
*
|
|
58
|
+
* The billing method for control plane node instances. Valid values:
|
|
59
59
|
*
|
|
60
|
-
* - `PrePaid`:
|
|
61
|
-
* - `PostPaid`:
|
|
60
|
+
* - `PrePaid`: subscription.
|
|
61
|
+
* - `PostPaid`: pay-as-you-go.
|
|
62
62
|
*
|
|
63
63
|
* Default value: `PostPaid`.
|
|
64
64
|
*
|
|
@@ -68,10 +68,10 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
68
68
|
chargeType?: string;
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
*
|
|
71
|
+
* Specifies whether to install the CloudMonitor agent on control plane nodes. Valid values:
|
|
72
72
|
*
|
|
73
|
-
* - `true`:
|
|
74
|
-
* - `false`:
|
|
73
|
+
* - `true`: Installs the CloudMonitor agent.
|
|
74
|
+
* - `false`: Does not install the CloudMonitor agent.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* true
|
|
@@ -79,9 +79,9 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
79
79
|
cloudMonitorFlags?: boolean;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
*
|
|
82
|
+
* The node CPU management policy. The following policies are supported for clusters running version 1.12.6 or later:
|
|
83
83
|
*
|
|
84
|
-
* - `static`: Allows
|
|
84
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
85
85
|
* - `none`: Uses the existing default CPU affinity scheme.
|
|
86
86
|
*
|
|
87
87
|
* Default value: `none`.
|
|
@@ -92,7 +92,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
92
92
|
cpuPolicy?: string;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
*
|
|
95
|
+
* The deployment set ID.
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* ds-bp10b35imuam5amw****
|
|
@@ -100,7 +100,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
100
100
|
deploymentsetId?: string;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
*
|
|
103
|
+
* The custom image ID. Specify this parameter when using a custom image.
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
106
|
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
@@ -108,10 +108,10 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
108
108
|
imageId?: string;
|
|
109
109
|
/**
|
|
110
110
|
* @remarks
|
|
111
|
-
*
|
|
111
|
+
* The operating system image type. Valid values:
|
|
112
112
|
*
|
|
113
113
|
* - `AliyunLinux3`: Alinux3 image.
|
|
114
|
-
* - `Custom`:
|
|
114
|
+
* - `Custom`: custom image.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* AliyunLinux3
|
|
@@ -119,12 +119,12 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
119
119
|
imageType?: string;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
*
|
|
122
|
+
* The instance types. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
123
123
|
*/
|
|
124
124
|
instanceTypes?: string[];
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
*
|
|
127
|
+
* The key pair name. Mutually exclusive with `login_password`.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* ack
|
|
@@ -132,7 +132,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
132
132
|
keyPair?: string;
|
|
133
133
|
/**
|
|
134
134
|
* @remarks
|
|
135
|
-
* SSH
|
|
135
|
+
* 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. To use password-based logon, specify this parameter during scale-out.
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
138
|
* Ack@2000.
|
|
@@ -140,8 +140,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
140
140
|
loginPassword?: string;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
*
|
|
144
|
-
* Available port range: [30000, 65535].
|
|
143
|
+
* The node service port range. Available port range: [30000, 65535].
|
|
145
144
|
*
|
|
146
145
|
* Default value: 30000-32767.
|
|
147
146
|
*
|
|
@@ -151,9 +150,9 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
151
150
|
nodePortRange?: string;
|
|
152
151
|
/**
|
|
153
152
|
* @remarks
|
|
154
|
-
*
|
|
153
|
+
* The subscription duration for control plane node instances. This parameter takes effect and is required only when `charge_type` is set to `PrePaid`.
|
|
155
154
|
*
|
|
156
|
-
* When `period_unit=Month`, valid values
|
|
155
|
+
* When `period_unit=Month`, valid values are {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
157
156
|
*
|
|
158
157
|
* @example
|
|
159
158
|
* 1
|
|
@@ -161,9 +160,9 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
161
160
|
period?: number;
|
|
162
161
|
/**
|
|
163
162
|
* @remarks
|
|
164
|
-
*
|
|
163
|
+
* The billing cycle unit for control plane node instances. This parameter takes effect only when `charge_type` is set to `PrePaid`.
|
|
165
164
|
*
|
|
166
|
-
* `Month`:
|
|
165
|
+
* `Month`: The billing cycle is measured in months. Currently, only months are supported.
|
|
167
166
|
*
|
|
168
167
|
* @example
|
|
169
168
|
* Month
|
|
@@ -171,7 +170,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
171
170
|
periodUnit?: string;
|
|
172
171
|
/**
|
|
173
172
|
* @remarks
|
|
174
|
-
*
|
|
173
|
+
* The container runtime name. Valid values:
|
|
175
174
|
*
|
|
176
175
|
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
177
176
|
*
|
|
@@ -183,10 +182,10 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
183
182
|
runtime?: string;
|
|
184
183
|
/**
|
|
185
184
|
* @remarks
|
|
186
|
-
* Alibaba Cloud OS security hardening. Valid values:
|
|
185
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
187
186
|
*
|
|
188
|
-
* - `true`:
|
|
189
|
-
* - `false`:
|
|
187
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
188
|
+
* - `false`: Disables Alibaba Cloud OS security hardening.
|
|
190
189
|
*
|
|
191
190
|
* Default value: `false`.
|
|
192
191
|
*
|
|
@@ -196,7 +195,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
196
195
|
securityHardeningOs?: boolean;
|
|
197
196
|
/**
|
|
198
197
|
* @remarks
|
|
199
|
-
*
|
|
198
|
+
* The number of control plane nodes. To scale out the control plane of a dedicated cluster, set this parameter to the target number of control plane nodes, which must be greater than the current number.
|
|
200
199
|
*
|
|
201
200
|
* @example
|
|
202
201
|
* 5
|
|
@@ -204,11 +203,11 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
204
203
|
size?: number;
|
|
205
204
|
/**
|
|
206
205
|
* @remarks
|
|
207
|
-
*
|
|
206
|
+
* Specifies whether to enable MLPS 2.0 security hardening. For more information, see [ACK MLPS 2.0 security hardening](https://help.aliyun.com/document_detail/196148.html).
|
|
208
207
|
*
|
|
209
208
|
* Valid values:
|
|
210
|
-
* - `true`:
|
|
211
|
-
* - `false`:
|
|
209
|
+
* - `true`: Enables MLPS 2.0 security hardening.
|
|
210
|
+
* - `false`: Disables MLPS 2.0 security hardening.
|
|
212
211
|
*
|
|
213
212
|
* Default value: `false`.
|
|
214
213
|
*
|
|
@@ -218,11 +217,11 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
218
217
|
socEnabled?: boolean;
|
|
219
218
|
/**
|
|
220
219
|
* @remarks
|
|
221
|
-
*
|
|
222
|
-
* - `true`:
|
|
223
|
-
* - `false`:
|
|
220
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
221
|
+
* - `true`: Enabled.
|
|
222
|
+
* - `false`: Disabled.
|
|
224
223
|
*
|
|
225
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
224
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
226
225
|
*
|
|
227
226
|
* @example
|
|
228
227
|
* true
|
|
@@ -230,12 +229,12 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
230
229
|
systemDiskBurstingEnabled?: boolean;
|
|
231
230
|
/**
|
|
232
231
|
* @remarks
|
|
233
|
-
*
|
|
234
|
-
* - `cloud_efficiency`:
|
|
235
|
-
* - `cloud_ssd`: SSD
|
|
236
|
-
* - `cloud_essd`: ESSD
|
|
237
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
238
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
232
|
+
* The node system cloud disk type. Valid values:
|
|
233
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
234
|
+
* - `cloud_ssd`: standard SSD.
|
|
235
|
+
* - `cloud_essd`: Enterprise SSD (ESSD).
|
|
236
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
237
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
239
238
|
*
|
|
240
239
|
* @example
|
|
241
240
|
* cloud_essd
|
|
@@ -243,7 +242,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
243
242
|
systemDiskCategory?: string;
|
|
244
243
|
/**
|
|
245
244
|
* @remarks
|
|
246
|
-
*
|
|
245
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [standard SSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
247
246
|
*
|
|
248
247
|
* @example
|
|
249
248
|
* PL1
|
|
@@ -251,9 +250,9 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
251
250
|
systemDiskPerformanceLevel?: string;
|
|
252
251
|
/**
|
|
253
252
|
* @remarks
|
|
254
|
-
*
|
|
253
|
+
* The provisioned read/write IOPS for the node system cloud disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
255
254
|
*
|
|
256
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL](https://help.aliyun.com/document_detail/368372.html).
|
|
255
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
257
256
|
*
|
|
258
257
|
* @example
|
|
259
258
|
* 1000
|
|
@@ -261,7 +260,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
261
260
|
systemDiskProvisionedIops?: number;
|
|
262
261
|
/**
|
|
263
262
|
* @remarks
|
|
264
|
-
*
|
|
263
|
+
* The node system cloud disk size. Valid values: [40, 500]. Unit: GiB.
|
|
265
264
|
*
|
|
266
265
|
* @example
|
|
267
266
|
* 120
|
|
@@ -269,7 +268,7 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
269
268
|
systemDiskSize?: number;
|
|
270
269
|
/**
|
|
271
270
|
* @remarks
|
|
272
|
-
*
|
|
271
|
+
* The ID of the automatic snapshot policy applied to the node system cloud disk.
|
|
273
272
|
*
|
|
274
273
|
* @example
|
|
275
274
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -289,13 +288,13 @@ export declare class ModifyClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
289
288
|
export declare class ModifyClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
|
|
290
289
|
/**
|
|
291
290
|
* @remarks
|
|
292
|
-
* VPCs where the
|
|
291
|
+
* The VPCs where the internal domain name resolution takes effect.
|
|
293
292
|
*/
|
|
294
293
|
bindVpcs?: string[];
|
|
295
294
|
/**
|
|
296
295
|
* @remarks
|
|
297
|
-
*
|
|
298
|
-
* - true:
|
|
296
|
+
* Specifies whether to enable internal domain name access for the cluster. Valid values:
|
|
297
|
+
* - true: Enables internal domain name access. Node-side components (kubelet, kube-proxy) access the API Server through the internal domain name.
|
|
299
298
|
*
|
|
300
299
|
* @example
|
|
301
300
|
* true
|
|
@@ -312,12 +311,45 @@ export declare class ModifyClusterRequestControlPlaneEndpointsConfigInternalDnsC
|
|
|
312
311
|
[key: string]: any;
|
|
313
312
|
});
|
|
314
313
|
}
|
|
314
|
+
export declare class ModifyClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig extends $dara.Model {
|
|
315
|
+
/**
|
|
316
|
+
* @remarks
|
|
317
|
+
* The endpoint type.
|
|
318
|
+
*
|
|
319
|
+
* @example
|
|
320
|
+
* public
|
|
321
|
+
*/
|
|
322
|
+
endpointType?: string;
|
|
323
|
+
/**
|
|
324
|
+
* @remarks
|
|
325
|
+
* The SLB instance associated with the endpoint.
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* nlb-xxxx
|
|
329
|
+
*/
|
|
330
|
+
loadBalancerId?: string;
|
|
331
|
+
static names(): {
|
|
332
|
+
[key: string]: string;
|
|
333
|
+
};
|
|
334
|
+
static types(): {
|
|
335
|
+
[key: string]: any;
|
|
336
|
+
};
|
|
337
|
+
validate(): void;
|
|
338
|
+
constructor(map?: {
|
|
339
|
+
[key: string]: any;
|
|
340
|
+
});
|
|
341
|
+
}
|
|
315
342
|
export declare class ModifyClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
|
|
316
343
|
/**
|
|
317
344
|
* @remarks
|
|
318
|
-
*
|
|
345
|
+
* 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.
|
|
319
346
|
*/
|
|
320
347
|
internalDnsConfig?: ModifyClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
|
|
348
|
+
/**
|
|
349
|
+
* @remarks
|
|
350
|
+
* The cluster access load balancing configuration.
|
|
351
|
+
*/
|
|
352
|
+
loadBalancersConfig?: ModifyClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig[];
|
|
321
353
|
static names(): {
|
|
322
354
|
[key: string]: string;
|
|
323
355
|
};
|
|
@@ -332,12 +364,12 @@ export declare class ModifyClusterRequestControlPlaneEndpointsConfig extends $da
|
|
|
332
364
|
export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $dara.Model {
|
|
333
365
|
/**
|
|
334
366
|
* @remarks
|
|
335
|
-
*
|
|
367
|
+
* The cluster auto upgrade frequency. For more information, see [Upgrade frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
336
368
|
*
|
|
337
369
|
* Valid values:
|
|
338
|
-
* - patch:
|
|
339
|
-
* - stable:
|
|
340
|
-
* - rapid:
|
|
370
|
+
* - patch: latest patch version.
|
|
371
|
+
* - stable: second-latest minor version.
|
|
372
|
+
* - rapid: latest minor version.
|
|
341
373
|
*
|
|
342
374
|
* @example
|
|
343
375
|
* patch
|
|
@@ -345,11 +377,11 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
345
377
|
channel?: string;
|
|
346
378
|
/**
|
|
347
379
|
* @remarks
|
|
348
|
-
*
|
|
380
|
+
* Specifies whether to enable cluster auto upgrade.
|
|
349
381
|
*
|
|
350
|
-
* - true:
|
|
382
|
+
* - true: Enables auto upgrade.
|
|
351
383
|
*
|
|
352
|
-
* - false:
|
|
384
|
+
* - false: Disables auto upgrade.
|
|
353
385
|
*
|
|
354
386
|
* @example
|
|
355
387
|
* true
|
|
@@ -369,7 +401,7 @@ export declare class ModifyClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
369
401
|
export declare class ModifyClusterRequestOperationPolicy extends $dara.Model {
|
|
370
402
|
/**
|
|
371
403
|
* @remarks
|
|
372
|
-
*
|
|
404
|
+
* The cluster auto upgrade configuration.
|
|
373
405
|
*/
|
|
374
406
|
clusterAutoUpgrade?: ModifyClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
375
407
|
static names(): {
|
|
@@ -386,12 +418,12 @@ export declare class ModifyClusterRequestOperationPolicy extends $dara.Model {
|
|
|
386
418
|
export declare class ModifyClusterRequestSystemEventsLogging extends $dara.Model {
|
|
387
419
|
/**
|
|
388
420
|
* @remarks
|
|
389
|
-
*
|
|
421
|
+
* Specifies whether to enable system event storage.
|
|
390
422
|
*
|
|
391
423
|
*
|
|
392
|
-
* - true:
|
|
424
|
+
* - true: Enables system event storage.
|
|
393
425
|
*
|
|
394
|
-
* - false:
|
|
426
|
+
* - false: Disables system event storage.
|
|
395
427
|
*
|
|
396
428
|
* @example
|
|
397
429
|
* true
|
|
@@ -399,7 +431,7 @@ export declare class ModifyClusterRequestSystemEventsLogging extends $dara.Model
|
|
|
399
431
|
enabled?: boolean;
|
|
400
432
|
/**
|
|
401
433
|
* @remarks
|
|
402
|
-
*
|
|
434
|
+
* The name of the LogProject used for system event storage.
|
|
403
435
|
*
|
|
404
436
|
* @example
|
|
405
437
|
* k8s-log-cb95aa626a47740afbf6aa099b65****
|
|
@@ -419,25 +451,24 @@ export declare class ModifyClusterRequestSystemEventsLogging extends $dara.Model
|
|
|
419
451
|
export declare class ModifyClusterRequest extends $dara.Model {
|
|
420
452
|
/**
|
|
421
453
|
* @remarks
|
|
422
|
-
*
|
|
454
|
+
* The access control list for the registered cluster API Server SLB.
|
|
423
455
|
*
|
|
424
456
|
* @deprecated
|
|
425
457
|
*/
|
|
426
458
|
accessControlList?: string[];
|
|
427
459
|
/**
|
|
428
460
|
* @remarks
|
|
429
|
-
*
|
|
430
|
-
* Used to add custom IPs or domain names to the SAN field of the cluster API Server server certificate for client access control.
|
|
461
|
+
* The custom API Server certificate Subject Alternative Name (SAN). This parameter adds custom IP addresses or domain names to the SAN field of the cluster API Server certificate for client access control.
|
|
431
462
|
*
|
|
432
463
|
* Only managed clusters support this parameter.
|
|
433
464
|
*/
|
|
434
465
|
apiServerCustomCertSans?: ModifyClusterRequestApiServerCustomCertSans;
|
|
435
466
|
/**
|
|
436
467
|
* @remarks
|
|
437
|
-
*
|
|
468
|
+
* Indicates whether an Elastic IP Address (EIP) is attached to the cluster for public network access to the API server. Valid values:
|
|
438
469
|
*
|
|
439
|
-
* - `true`:
|
|
440
|
-
* - `false`:
|
|
470
|
+
* - `true`: An EIP is attached to the cluster.
|
|
471
|
+
* - `false`: No EIP is attached to the cluster.
|
|
441
472
|
*
|
|
442
473
|
* @example
|
|
443
474
|
* true
|
|
@@ -445,7 +476,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
445
476
|
apiServerEip?: boolean;
|
|
446
477
|
/**
|
|
447
478
|
* @remarks
|
|
448
|
-
* The ID of the EIP
|
|
479
|
+
* The instance ID of the EIP attached to the cluster API Server. This parameter takes effect only when `api_server_eip` is set to `true`.
|
|
449
480
|
*
|
|
450
481
|
* @example
|
|
451
482
|
* eip-wz9fnasl6dsfhmvci****
|
|
@@ -453,7 +484,15 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
453
484
|
apiServerEipId?: string;
|
|
454
485
|
/**
|
|
455
486
|
* @remarks
|
|
456
|
-
*
|
|
487
|
+
* The client token.
|
|
488
|
+
*
|
|
489
|
+
* @example
|
|
490
|
+
* af31042c-6355-495b-b6e3-exxb9669
|
|
491
|
+
*/
|
|
492
|
+
clientToken?: string;
|
|
493
|
+
/**
|
|
494
|
+
* @remarks
|
|
495
|
+
* The custom cluster name. The name can contain digits, Chinese characters, letters, and hyphens (-). It must be 1 to 63 characters in length and cannot start with a hyphen (-).
|
|
457
496
|
*
|
|
458
497
|
* @example
|
|
459
498
|
* cluster-new-name
|
|
@@ -461,16 +500,16 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
461
500
|
clusterName?: string;
|
|
462
501
|
/**
|
|
463
502
|
* @remarks
|
|
464
|
-
*
|
|
503
|
+
* The cluster specification when `cluster_type` is set to `ManagedKubernetes` and `profile` is configured. Valid values:
|
|
465
504
|
*
|
|
466
|
-
* - `ack.pro.small`: Pro
|
|
505
|
+
* - `ack.pro.small`: Pro
|
|
467
506
|
* - `ack.pro.xlarge`: Pro XL
|
|
468
507
|
* - `ack.pro.2xlarge`: Pro 2XL
|
|
469
|
-
* - `ack.pro.4xlarge`: Pro 4XL (
|
|
508
|
+
* - `ack.pro.4xlarge`: Pro 4XL (contact customer service to be added to the whitelist)
|
|
470
509
|
*
|
|
471
|
-
* 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
|
|
510
|
+
* 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 dedicating control plane resources, these tiers ensure that API concurrency and pod scheduling capabilities remain at a consistently high level. They are suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
472
511
|
*
|
|
473
|
-
* For cluster management fees for Pro
|
|
512
|
+
* For information about the cluster management fees for Pro 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).
|
|
474
513
|
*
|
|
475
514
|
* @example
|
|
476
515
|
* ack.pro.small
|
|
@@ -478,20 +517,20 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
478
517
|
clusterSpec?: string;
|
|
479
518
|
/**
|
|
480
519
|
* @remarks
|
|
481
|
-
*
|
|
520
|
+
* The dedicated cluster control plane configuration.
|
|
482
521
|
*/
|
|
483
522
|
controlPlaneConfig?: ModifyClusterRequestControlPlaneConfig;
|
|
484
523
|
/**
|
|
485
524
|
* @remarks
|
|
486
|
-
*
|
|
525
|
+
* The cluster connection configuration.
|
|
487
526
|
*/
|
|
488
527
|
controlPlaneEndpointsConfig?: ModifyClusterRequestControlPlaneEndpointsConfig;
|
|
489
528
|
/**
|
|
490
529
|
* @remarks
|
|
491
|
-
*
|
|
530
|
+
* Specifies whether to enable deletion protection for the cluster to prevent accidental deletion through the console or API. Valid values:
|
|
492
531
|
*
|
|
493
|
-
* - `true`:
|
|
494
|
-
* - `false`:
|
|
532
|
+
* - `true`: Enables cluster deletion protection. The cluster cannot be deleted through the console or API.
|
|
533
|
+
* - `false`: Disables cluster deletion protection. The cluster can be deleted through the console or API.
|
|
495
534
|
*
|
|
496
535
|
* Default value: `false`.
|
|
497
536
|
*
|
|
@@ -501,10 +540,10 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
501
540
|
deletionProtection?: boolean;
|
|
502
541
|
/**
|
|
503
542
|
* @remarks
|
|
504
|
-
*
|
|
543
|
+
* Specifies whether to enable or disable the RAM Roles for Service Accounts (RRSA) feature. Only managed clusters support this parameter. Valid values:
|
|
505
544
|
*
|
|
506
|
-
* - `true`:
|
|
507
|
-
* - `false`:
|
|
545
|
+
* - `true`: Enabled.
|
|
546
|
+
* - `false`: Disabled.
|
|
508
547
|
*
|
|
509
548
|
* @example
|
|
510
549
|
* true
|
|
@@ -512,10 +551,10 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
512
551
|
enableRrsa?: boolean;
|
|
513
552
|
/**
|
|
514
553
|
* @remarks
|
|
515
|
-
*
|
|
554
|
+
* Specifies whether to rebind the cluster test domain name. Valid values:
|
|
516
555
|
*
|
|
517
|
-
* - `true`:
|
|
518
|
-
* - `false`:
|
|
556
|
+
* - `true`: Rebinds the cluster test domain name.
|
|
557
|
+
* - `false`: Does not rebind the cluster test domain name.
|
|
519
558
|
*
|
|
520
559
|
* Default value: `false`.
|
|
521
560
|
*
|
|
@@ -527,7 +566,7 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
527
566
|
ingressDomainRebinding?: boolean;
|
|
528
567
|
/**
|
|
529
568
|
* @remarks
|
|
530
|
-
* SLB instance ID of the cluster to be modified.
|
|
569
|
+
* The SLB instance ID of the cluster to be modified.
|
|
531
570
|
*
|
|
532
571
|
* @example
|
|
533
572
|
* lb-wz97kes8tnndkpodw****
|
|
@@ -537,10 +576,10 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
537
576
|
ingressLoadbalancerId?: string;
|
|
538
577
|
/**
|
|
539
578
|
* @remarks
|
|
540
|
-
*
|
|
579
|
+
* Specifies whether to enable instance deletion protection to prevent accidental deletion of nodes through the console or API. Valid values:
|
|
541
580
|
*
|
|
542
581
|
* - `true`: Nodes cannot be accidentally deleted through the console or API.
|
|
543
|
-
* - `false`: Nodes can be deleted through the console or API.
|
|
582
|
+
* - `false`: Nodes can be accidentally deleted through the console or API.
|
|
544
583
|
*
|
|
545
584
|
* Default value: `false`.
|
|
546
585
|
*
|
|
@@ -552,17 +591,17 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
552
591
|
instanceDeletionProtection?: boolean;
|
|
553
592
|
/**
|
|
554
593
|
* @remarks
|
|
555
|
-
*
|
|
594
|
+
* The maintenance window configuration for the cluster. This feature takes effect only for ACK Pro clusters.
|
|
556
595
|
*/
|
|
557
596
|
maintenanceWindow?: MaintenanceWindow;
|
|
558
597
|
/**
|
|
559
598
|
* @remarks
|
|
560
|
-
*
|
|
599
|
+
* The cluster automatic O&M policy.
|
|
561
600
|
*/
|
|
562
601
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
563
602
|
/**
|
|
564
603
|
* @remarks
|
|
565
|
-
*
|
|
604
|
+
* The resource group ID of the cluster.
|
|
566
605
|
*
|
|
567
606
|
* @example
|
|
568
607
|
* rg-acfmyvw3wjm****
|
|
@@ -570,11 +609,11 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
570
609
|
resourceGroupId?: string;
|
|
571
610
|
/**
|
|
572
611
|
* @remarks
|
|
573
|
-
*
|
|
612
|
+
* The control plane security group ID.
|
|
574
613
|
*
|
|
575
|
-
* - If you have configured blocking rules in the security group, ensure that the security group rules allow the protocols and ports required by the cluster. For recommended security group rules, see [Configure and
|
|
576
|
-
* - For non-ACK dedicated clusters,
|
|
577
|
-
* - For ACK dedicated clusters, after the control plane security group is changed, newly scaled-out
|
|
614
|
+
* - If you have configured blocking rules in the security group, ensure that the security group rules allow the protocols and ports required by the cluster. For information about recommended security group rules, see [Configure and manage cluster security groups](https://help.aliyun.com/document_detail/353191.html).
|
|
615
|
+
* - For non-ACK dedicated clusters, the cluster control plane and installed managed components (such as terway-controlplane) briefly restart during the procedure. Perform this operation during off-peak hours. After the control plane security group is changed, the network interface controllers (NICs) used by the cluster control plane and installed managed components are automatically added to the new security group.
|
|
616
|
+
* - For ACK dedicated clusters, after the control plane security group is changed, newly scaled-out master nodes automatically use the new control plane security group. Existing control plane nodes are not affected.
|
|
578
617
|
*
|
|
579
618
|
* @example
|
|
580
619
|
* sg-bp1h6rk3pgct2a08***
|
|
@@ -582,17 +621,17 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
582
621
|
securityGroupId?: string;
|
|
583
622
|
/**
|
|
584
623
|
* @remarks
|
|
585
|
-
*
|
|
624
|
+
* The system event storage configuration.
|
|
586
625
|
*/
|
|
587
626
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
588
627
|
/**
|
|
589
628
|
* @remarks
|
|
590
|
-
*
|
|
591
|
-
* - After
|
|
629
|
+
* The cluster time zone. See [Supported time zones](https://help.aliyun.com/document_detail/354879.html).
|
|
630
|
+
* - After the time zone is changed, the cluster inspection configuration uses the new time zone settings.
|
|
592
631
|
*
|
|
593
|
-
* - For managed clusters,
|
|
632
|
+
* - For managed clusters, the cluster control plane and installed managed components (such as terway-controlplane) briefly restart during the change. Perform this operation during off-peak hours. After the time zone is changed, newly scaled-out nodes automatically use the new time zone settings. Existing nodes are not affected. You can use the node pool node reset feature to apply the new settings to existing nodes.
|
|
594
633
|
*
|
|
595
|
-
* - For dedicated clusters, after
|
|
634
|
+
* - For dedicated clusters, after the time zone is changed, newly scaled-out nodes (including control plane nodes) automatically use the new time zone settings. Existing nodes (including control plane nodes) are not affected. You can use the node pool node reset feature to apply the new settings to existing nodes. For control plane nodes, scale out and then scale in to apply the new settings to all control plane nodes.
|
|
596
635
|
*
|
|
597
636
|
* @example
|
|
598
637
|
* Asia/Shanghai
|
|
@@ -600,11 +639,11 @@ export declare class ModifyClusterRequest extends $dara.Model {
|
|
|
600
639
|
timezone?: string;
|
|
601
640
|
/**
|
|
602
641
|
* @remarks
|
|
603
|
-
*
|
|
604
|
-
* - This parameter performs a full overwrite
|
|
605
|
-
* -
|
|
606
|
-
* - Ensure that all security groups of the cluster (including the control plane security group, all node
|
|
607
|
-
* - If the new control plane vSwitches have ACL rules configured, ensure that the ACL rules allow communication with the cluster nodes
|
|
642
|
+
* The vSwitches for the cluster control plane. For dedicated clusters, the change applies to newly scaled-out control plane nodes. When changing control plane vSwitches for managed clusters, note the following:
|
|
643
|
+
* - This parameter performs a full overwrite. Specify the complete list of target vSwitches.
|
|
644
|
+
* - Control plane components briefly restart during the change. Proceed with caution.
|
|
645
|
+
* - Ensure that all security groups of the cluster (including the control plane security group, security groups of all node pools, and security groups used by the container network) allow inbound and outbound traffic for the IP CIDR blocks of the new vSwitches to prevent nodes and containers from losing connectivity to the API server.
|
|
646
|
+
* - If the new control plane vSwitches have ACL rules configured, ensure that the ACL rules allow communication with the CIDR blocks of cluster nodes and the container network.
|
|
608
647
|
*/
|
|
609
648
|
vswitchIds?: string[];
|
|
610
649
|
static names(): {
|