@alicloud/cs20151215 7.2.5 → 7.2.6
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 +72 -72
- package/dist/client.js +82 -72
- package/dist/client.js.map +1 -1
- package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -13
- package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
- package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -1
- package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
- package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
- package/dist/models/CreateClusterRequest.d.ts +305 -392
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodesRequest.d.ts +15 -7
- package/dist/models/DeleteClusterNodesRequest.js +2 -0
- package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
- package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
- package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +80 -77
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +18 -12
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +22 -15
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +23 -17
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
- package/dist/models/ListUserKubeConfigStatesRequest.d.ts +3 -3
- package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
- package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +106 -99
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +18 -11
- package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +18 -11
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
- package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
- package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
- package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +84 -72
- package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
- package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
- package/src/models/CleanUserPermissionsRequest.ts +2 -2
- package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
- package/src/models/CreateClusterRequest.ts +305 -392
- package/src/models/DeleteClusterNodesRequest.ts +17 -7
- package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
- package/src/models/DescribeClusterDetailResponseBody.ts +80 -77
- package/src/models/DescribeClustersForRegionRequest.ts +14 -14
- package/src/models/DescribeClustersForRegionResponseBody.ts +18 -12
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +22 -15
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +23 -17
- package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
- package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
- package/src/models/ModifyClusterRequest.ts +106 -99
- package/src/models/ModifyClusterResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesRequest.ts +20 -11
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +20 -11
- package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
- package/src/models/UpdateUserPermissionsRequest.ts +22 -22
|
@@ -7,8 +7,8 @@ export class ModifyClusterRequestApiServerCustomCertSans extends $dara.Model {
|
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
9
|
* Specifies whether to overwrite or append the SAN configuration. Valid values:
|
|
10
|
-
* - overwrite: overwrites the existing
|
|
11
|
-
* - append: appends to the existing
|
|
10
|
+
* - overwrite: overwrites the existing configuration.
|
|
11
|
+
* - append: appends to the existing configuration.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* append
|
|
@@ -48,10 +48,10 @@ export class ModifyClusterRequestApiServerCustomCertSans extends $dara.Model {
|
|
|
48
48
|
export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* 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:
|
|
51
|
+
* Specifies whether to enable auto-renewal for the control plane node instances. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
52
52
|
*
|
|
53
|
-
* - `true`:
|
|
54
|
-
* - `false`:
|
|
53
|
+
* - `true`: enables auto-renewal.
|
|
54
|
+
* - `false`: disables auto-renewal.
|
|
55
55
|
*
|
|
56
56
|
* Default value: `false`.
|
|
57
57
|
*
|
|
@@ -61,9 +61,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
61
61
|
autoRenew?: boolean;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The auto-renewal period for
|
|
64
|
+
* The auto-renewal period for the control plane node instances.
|
|
65
65
|
*
|
|
66
|
-
* Valid values:
|
|
66
|
+
* Valid values: 1, 2, 3, 6, and 12. Unit: months.
|
|
67
67
|
*
|
|
68
68
|
* Default value: 1.
|
|
69
69
|
*
|
|
@@ -73,10 +73,10 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
73
73
|
autoRenewPeriod?: number;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The billing method
|
|
76
|
+
* The billing method of the control plane node instances. Valid values:
|
|
77
77
|
*
|
|
78
|
-
* - `PrePaid`: subscription
|
|
79
|
-
* - `PostPaid`: pay-as-you-go
|
|
78
|
+
* - `PrePaid`: subscription
|
|
79
|
+
* - `PostPaid`: pay-as-you-go
|
|
80
80
|
*
|
|
81
81
|
* Default value: `PostPaid`.
|
|
82
82
|
*
|
|
@@ -86,10 +86,10 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
86
86
|
chargeType?: string;
|
|
87
87
|
/**
|
|
88
88
|
* @remarks
|
|
89
|
-
* Specifies whether to install the CloudMonitor agent on control plane nodes. Valid values:
|
|
89
|
+
* Specifies whether to install the CloudMonitor agent on the control plane nodes. Valid values:
|
|
90
90
|
*
|
|
91
|
-
* - `true`:
|
|
92
|
-
* - `false`:
|
|
91
|
+
* - `true`: installs the CloudMonitor agent.
|
|
92
|
+
* - `false`: does not install the CloudMonitor agent.
|
|
93
93
|
*
|
|
94
94
|
* @example
|
|
95
95
|
* true
|
|
@@ -97,10 +97,10 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
97
97
|
cloudMonitorFlags?: boolean;
|
|
98
98
|
/**
|
|
99
99
|
* @remarks
|
|
100
|
-
* The CPU management policy for nodes. The following policies are supported
|
|
100
|
+
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
101
101
|
*
|
|
102
|
-
* - `static`:
|
|
103
|
-
* - `none`:
|
|
102
|
+
* - `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
103
|
+
* - `none`: indicates that the default CPU affinity scheme is used.
|
|
104
104
|
*
|
|
105
105
|
* Default value: `none`.
|
|
106
106
|
*
|
|
@@ -118,7 +118,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
118
118
|
deploymentsetId?: string;
|
|
119
119
|
/**
|
|
120
120
|
* @remarks
|
|
121
|
-
* The custom image ID. Specify this parameter when
|
|
121
|
+
* The custom image ID. Specify this parameter when you use a custom image.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
@@ -126,9 +126,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
126
126
|
imageId?: string;
|
|
127
127
|
/**
|
|
128
128
|
* @remarks
|
|
129
|
-
* The operating system image
|
|
129
|
+
* The type of the operating system image. Valid values:
|
|
130
130
|
*
|
|
131
|
-
* - `AliyunLinux3`:
|
|
131
|
+
* - `AliyunLinux3`: Alibaba Cloud Linux 3 image.
|
|
132
132
|
* - `Custom`: custom image.
|
|
133
133
|
*
|
|
134
134
|
* @example
|
|
@@ -137,12 +137,12 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
137
137
|
imageType?: string;
|
|
138
138
|
/**
|
|
139
139
|
* @remarks
|
|
140
|
-
* The instance
|
|
140
|
+
* The instance type. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
141
141
|
*/
|
|
142
142
|
instanceTypes?: string[];
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
* The key pair
|
|
145
|
+
* The name of the key pair. You must specify this parameter or `login_password`.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* ack
|
|
@@ -150,7 +150,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
150
150
|
keyPair?: string;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
* The SSH logon password.
|
|
153
|
+
* The SSH logon password. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. If you want to use a password for logon, you must specify this parameter during scale-out.
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* Ack@2000.
|
|
@@ -158,7 +158,8 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
158
158
|
loginPassword?: string;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* The
|
|
161
|
+
* The service port range of the node.
|
|
162
|
+
* Valid values: 30000 to 65535.
|
|
162
163
|
*
|
|
163
164
|
* Default value: 30000-32767.
|
|
164
165
|
*
|
|
@@ -168,9 +169,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
168
169
|
nodePortRange?: string;
|
|
169
170
|
/**
|
|
170
171
|
* @remarks
|
|
171
|
-
* The subscription duration
|
|
172
|
+
* The subscription duration of the control plane node instances. This parameter is required and takes effect only when `charge_type` is set to `PrePaid`.
|
|
172
173
|
*
|
|
173
|
-
* When `period_unit
|
|
174
|
+
* When `period_unit` is set to `Month`, valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
174
175
|
*
|
|
175
176
|
* @example
|
|
176
177
|
* 1
|
|
@@ -178,9 +179,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
178
179
|
period?: number;
|
|
179
180
|
/**
|
|
180
181
|
* @remarks
|
|
181
|
-
* The billing
|
|
182
|
+
* The billing cycle of the control plane node instances. This parameter takes effect only when `charge_type` is set to `PrePaid`.
|
|
182
183
|
*
|
|
183
|
-
* `Month`:
|
|
184
|
+
* `Month`: months. Currently, only months are supported.
|
|
184
185
|
*
|
|
185
186
|
* @example
|
|
186
187
|
* Month
|
|
@@ -188,9 +189,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
188
189
|
periodUnit?: string;
|
|
189
190
|
/**
|
|
190
191
|
* @remarks
|
|
191
|
-
* The container runtime
|
|
192
|
+
* The name of the container runtime. Valid values:
|
|
192
193
|
*
|
|
193
|
-
* - `containerd`:
|
|
194
|
+
* - `containerd`: recommended. Supported by all cluster versions.
|
|
194
195
|
*
|
|
195
196
|
* Default value: containerd.
|
|
196
197
|
*
|
|
@@ -202,8 +203,8 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
202
203
|
* @remarks
|
|
203
204
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
204
205
|
*
|
|
205
|
-
* - `true`:
|
|
206
|
-
* - `false`:
|
|
206
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
207
|
+
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
207
208
|
*
|
|
208
209
|
* Default value: `false`.
|
|
209
210
|
*
|
|
@@ -213,7 +214,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
213
214
|
securityHardeningOs?: boolean;
|
|
214
215
|
/**
|
|
215
216
|
* @remarks
|
|
216
|
-
* The number of control plane nodes.
|
|
217
|
+
* The number of control plane nodes. If you want 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 of control plane nodes.
|
|
217
218
|
*
|
|
218
219
|
* @example
|
|
219
220
|
* 5
|
|
@@ -221,11 +222,11 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
221
222
|
size?: number;
|
|
222
223
|
/**
|
|
223
224
|
* @remarks
|
|
224
|
-
* Specifies whether to enable MLPS 2.0 security hardening. For more information, see [
|
|
225
|
+
* Specifies whether to enable MLPS 2.0 security hardening. For more information, see [ACK MLPS 2.0 security hardening instructions](https://help.aliyun.com/document_detail/196148.html).
|
|
225
226
|
*
|
|
226
227
|
* Valid values:
|
|
227
|
-
* - `true`:
|
|
228
|
-
* - `false`:
|
|
228
|
+
* - `true`: enables MLPS 2.0 security hardening.
|
|
229
|
+
* - `false`: disables MLPS 2.0 security hardening.
|
|
229
230
|
*
|
|
230
231
|
* Default value: `false`.
|
|
231
232
|
*
|
|
@@ -235,9 +236,9 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
235
236
|
socEnabled?: boolean;
|
|
236
237
|
/**
|
|
237
238
|
* @remarks
|
|
238
|
-
* Specifies whether to enable burst mode for the
|
|
239
|
-
* - `true`:
|
|
240
|
-
* - `false`:
|
|
239
|
+
* Specifies whether to enable the burst mode for the system cloud disk of the node. Valid values:
|
|
240
|
+
* - `true`: yes
|
|
241
|
+
* - `false`: no
|
|
241
242
|
*
|
|
242
243
|
* 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).
|
|
243
244
|
*
|
|
@@ -247,12 +248,12 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
247
248
|
systemDiskBurstingEnabled?: boolean;
|
|
248
249
|
/**
|
|
249
250
|
* @remarks
|
|
250
|
-
* The type of the
|
|
251
|
-
* - `cloud_efficiency`: ultra
|
|
252
|
-
* - `cloud_ssd`: standard SSD
|
|
253
|
-
* - `cloud_essd`: ESSD
|
|
254
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk
|
|
255
|
-
* - `cloud_essd_entry`: ESSD Entry cloud disk
|
|
251
|
+
* The type of the system cloud disk. Valid values:
|
|
252
|
+
* - `cloud_efficiency`: ultra disk
|
|
253
|
+
* - `cloud_ssd`: standard SSD
|
|
254
|
+
* - `cloud_essd`: ESSD
|
|
255
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk
|
|
256
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk
|
|
256
257
|
*
|
|
257
258
|
* @example
|
|
258
259
|
* cloud_essd
|
|
@@ -260,7 +261,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
260
261
|
systemDiskCategory?: string;
|
|
261
262
|
/**
|
|
262
263
|
* @remarks
|
|
263
|
-
* The performance level of the
|
|
264
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSDs. The performance level is related to the disk size. For more information, see [ESSD](https://help.aliyun.com/document_detail/122389.html).
|
|
264
265
|
*
|
|
265
266
|
* @example
|
|
266
267
|
* PL1
|
|
@@ -268,7 +269,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
268
269
|
systemDiskPerformanceLevel?: string;
|
|
269
270
|
/**
|
|
270
271
|
* @remarks
|
|
271
|
-
* The provisioned read
|
|
272
|
+
* The provisioned read and write IOPS of the system cloud disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
272
273
|
*
|
|
273
274
|
* 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).
|
|
274
275
|
*
|
|
@@ -278,7 +279,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
278
279
|
systemDiskProvisionedIops?: number;
|
|
279
280
|
/**
|
|
280
281
|
* @remarks
|
|
281
|
-
* The size of the
|
|
282
|
+
* The size of the system cloud disk. Valid values: 40 to 500. Unit: GiB.
|
|
282
283
|
*
|
|
283
284
|
* @example
|
|
284
285
|
* 120
|
|
@@ -286,7 +287,7 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
286
287
|
systemDiskSize?: number;
|
|
287
288
|
/**
|
|
288
289
|
* @remarks
|
|
289
|
-
* The ID of the automatic snapshot policy
|
|
290
|
+
* The ID of the automatic snapshot policy applied to the system cloud disk of the node.
|
|
290
291
|
*
|
|
291
292
|
* @example
|
|
292
293
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -365,13 +366,13 @@ export class ModifyClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
365
366
|
export class ModifyClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
|
|
366
367
|
/**
|
|
367
368
|
* @remarks
|
|
368
|
-
* The VPCs
|
|
369
|
+
* The VPCs where internal DNS resolution takes effect.
|
|
369
370
|
*/
|
|
370
371
|
bindVpcs?: string[];
|
|
371
372
|
/**
|
|
372
373
|
* @remarks
|
|
373
|
-
* Specifies whether to enable internal
|
|
374
|
-
* - true: Enables internal
|
|
374
|
+
* Specifies whether to enable internal DNS access for the cluster. Valid values:
|
|
375
|
+
* - true: Enables internal DNS access. Node-side components such as kubelet and kube-proxy access the API server by using the internal domain name.
|
|
375
376
|
*
|
|
376
377
|
* @example
|
|
377
378
|
* true
|
|
@@ -414,7 +415,7 @@ export class ModifyClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig
|
|
|
414
415
|
endpointType?: string;
|
|
415
416
|
/**
|
|
416
417
|
* @remarks
|
|
417
|
-
* The SLB instance associated with the endpoint.
|
|
418
|
+
* The ID of the Server Load Balancer (SLB) instance associated with the endpoint.
|
|
418
419
|
*
|
|
419
420
|
* @example
|
|
420
421
|
* nlb-xxxx
|
|
@@ -446,7 +447,7 @@ export class ModifyClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig
|
|
|
446
447
|
export class ModifyClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
|
|
447
448
|
/**
|
|
448
449
|
* @remarks
|
|
449
|
-
* The internal
|
|
450
|
+
* The internal DNS configuration for ACK managed clusters. Internal domain names are used by node-side system components such as kubelet and kube-proxy to access the API server. If internal DNS access is not enabled, node-side system components access the API server by using the CLB IP address.
|
|
450
451
|
*/
|
|
451
452
|
internalDnsConfig?: ModifyClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
|
|
452
453
|
/**
|
|
@@ -486,7 +487,7 @@ export class ModifyClusterRequestControlPlaneEndpointsConfig extends $dara.Model
|
|
|
486
487
|
export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $dara.Model {
|
|
487
488
|
/**
|
|
488
489
|
* @remarks
|
|
489
|
-
* The automatic cluster
|
|
490
|
+
* The channel for automatic cluster upgrades. For more information, see [Upgrade channels](https://help.aliyun.com/document_detail/2712866.html).
|
|
490
491
|
*
|
|
491
492
|
* Valid values:
|
|
492
493
|
* - patch: The latest patch version.
|
|
@@ -499,11 +500,11 @@ export class ModifyClusterRequestOperationPolicyClusterAutoUpgrade extends $dara
|
|
|
499
500
|
channel?: string;
|
|
500
501
|
/**
|
|
501
502
|
* @remarks
|
|
502
|
-
* Specifies whether to enable automatic cluster
|
|
503
|
+
* Specifies whether to enable automatic cluster upgrades. Valid values:
|
|
503
504
|
*
|
|
504
|
-
* - true: Enables automatic
|
|
505
|
+
* - true: Enables automatic upgrades.
|
|
505
506
|
*
|
|
506
|
-
* - false: Disables automatic
|
|
507
|
+
* - false: Disables automatic upgrades.
|
|
507
508
|
*
|
|
508
509
|
* @example
|
|
509
510
|
* true
|
|
@@ -565,12 +566,11 @@ export class ModifyClusterRequestOperationPolicy extends $dara.Model {
|
|
|
565
566
|
export class ModifyClusterRequestSystemEventsLogging extends $dara.Model {
|
|
566
567
|
/**
|
|
567
568
|
* @remarks
|
|
568
|
-
* Specifies whether to enable system event
|
|
569
|
+
* Specifies whether to enable system event logging. Valid values:
|
|
569
570
|
*
|
|
571
|
+
* - true: Enables system event logging.
|
|
570
572
|
*
|
|
571
|
-
* -
|
|
572
|
-
*
|
|
573
|
-
* - false: Disables system event storage.
|
|
573
|
+
* - false: Disables system event logging.
|
|
574
574
|
*
|
|
575
575
|
* @example
|
|
576
576
|
* true
|
|
@@ -578,7 +578,7 @@ export class ModifyClusterRequestSystemEventsLogging extends $dara.Model {
|
|
|
578
578
|
enabled?: boolean;
|
|
579
579
|
/**
|
|
580
580
|
* @remarks
|
|
581
|
-
* The name of the LogProject for system event
|
|
581
|
+
* The name of the LogProject for system event logging.
|
|
582
582
|
*
|
|
583
583
|
* @example
|
|
584
584
|
* k8s-log-cb95aa626a47740afbf6aa099b65****
|
|
@@ -610,24 +610,24 @@ export class ModifyClusterRequestSystemEventsLogging extends $dara.Model {
|
|
|
610
610
|
export class ModifyClusterRequest extends $dara.Model {
|
|
611
611
|
/**
|
|
612
612
|
* @remarks
|
|
613
|
-
* The access control list
|
|
613
|
+
* The access control list of the SLB instance for the API server of the registered cluster.
|
|
614
614
|
*
|
|
615
615
|
* @deprecated
|
|
616
616
|
*/
|
|
617
617
|
accessControlList?: string[];
|
|
618
618
|
/**
|
|
619
619
|
* @remarks
|
|
620
|
-
* The custom
|
|
620
|
+
* The custom Subject Alternative Names (SANs) for the API server certificate. You can add custom IP addresses or domain names to the SAN field of the API server certificate to implement access control for clients.
|
|
621
621
|
*
|
|
622
622
|
* Only managed clusters support this parameter.
|
|
623
623
|
*/
|
|
624
624
|
apiServerCustomCertSans?: ModifyClusterRequestApiServerCustomCertSans;
|
|
625
625
|
/**
|
|
626
626
|
* @remarks
|
|
627
|
-
* Specifies whether
|
|
627
|
+
* Specifies whether an EIP is attached to the cluster for public network access to the API server. Valid values:
|
|
628
628
|
*
|
|
629
|
-
* - `true`:
|
|
630
|
-
* - `false`:
|
|
629
|
+
* - `true`: attaches an EIP to the cluster.
|
|
630
|
+
* - `false`: does not attach an EIP to the cluster.
|
|
631
631
|
*
|
|
632
632
|
* @example
|
|
633
633
|
* true
|
|
@@ -635,7 +635,7 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
635
635
|
apiServerEip?: boolean;
|
|
636
636
|
/**
|
|
637
637
|
* @remarks
|
|
638
|
-
* The instance ID
|
|
638
|
+
* The EIP instance ID attached to the API server of the cluster. This parameter takes effect only when `api_server_eip` is set to `true`.
|
|
639
639
|
*
|
|
640
640
|
* @example
|
|
641
641
|
* eip-wz9fnasl6dsfhmvci****
|
|
@@ -659,16 +659,16 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
659
659
|
clusterName?: string;
|
|
660
660
|
/**
|
|
661
661
|
* @remarks
|
|
662
|
-
* The cluster
|
|
662
|
+
* The specification of the cluster when `cluster_type` is set to `ManagedKubernetes` and `profile` is configured. Valid values:
|
|
663
663
|
*
|
|
664
|
-
* - `ack.pro.small`: Pro
|
|
664
|
+
* - `ack.pro.small`: Pro Edition
|
|
665
665
|
* - `ack.pro.xlarge`: Pro XL
|
|
666
666
|
* - `ack.pro.2xlarge`: Pro 2XL
|
|
667
|
-
* - `ack.pro.4xlarge`: Pro 4XL (contact customer service to
|
|
667
|
+
* - `ack.pro.4xlarge`: Pro 4XL (contact customer service to apply for whitelist access)
|
|
668
668
|
*
|
|
669
|
-
* Pro XL, Pro 2XL, and Pro 4XL are three tiers provided by <props="china">[ACK Pro
|
|
669
|
+
* Pro XL, Pro 2XL, and Pro 4XL are the three tiers provided by the <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 reserving control plane resources, these tiers ensure that API concurrency and pod scheduling capabilities are always maintained at a consistently high level. They are suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
670
670
|
*
|
|
671
|
-
* For information about the cluster management fees for Pro and
|
|
671
|
+
* For more information about the cluster management fees for the Pro Edition and provisioned control plane editions, see <props="china">[Cluster management fees](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee)<props="intl">[Cluster management fees](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee).
|
|
672
672
|
*
|
|
673
673
|
* @example
|
|
674
674
|
* ack.pro.small
|
|
@@ -686,10 +686,10 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
686
686
|
controlPlaneEndpointsConfig?: ModifyClusterRequestControlPlaneEndpointsConfig;
|
|
687
687
|
/**
|
|
688
688
|
* @remarks
|
|
689
|
-
* Specifies whether to enable deletion protection for the cluster
|
|
689
|
+
* Specifies whether to enable deletion protection for the cluster to prevent accidental deletion through the console or API calls. Valid values:
|
|
690
690
|
*
|
|
691
|
-
* - `true`: Enables
|
|
692
|
-
* - `false`: Disables
|
|
691
|
+
* - `true`: Enables deletion protection. The cluster cannot be deleted through the console or API calls.
|
|
692
|
+
* - `false`: Disables deletion protection. The cluster can be deleted through the console or API calls.
|
|
693
693
|
*
|
|
694
694
|
* Default value: `false`.
|
|
695
695
|
*
|
|
@@ -699,10 +699,10 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
699
699
|
deletionProtection?: boolean;
|
|
700
700
|
/**
|
|
701
701
|
* @remarks
|
|
702
|
-
* Specifies whether to enable
|
|
702
|
+
* Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature. Only managed clusters support this parameter. Valid values:
|
|
703
703
|
*
|
|
704
|
-
* - `true`:
|
|
705
|
-
* - `false`:
|
|
704
|
+
* - `true`: Enables the feature.
|
|
705
|
+
* - `false`: Disables the feature.
|
|
706
706
|
*
|
|
707
707
|
* @example
|
|
708
708
|
* true
|
|
@@ -710,7 +710,7 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
710
710
|
enableRrsa?: boolean;
|
|
711
711
|
/**
|
|
712
712
|
* @remarks
|
|
713
|
-
* Specifies whether to rebind the test domain name of the cluster. Valid values:
|
|
713
|
+
* Specifies whether to rebind the test domain name of the cluster to the SLB address of the Ingress. Valid values:
|
|
714
714
|
*
|
|
715
715
|
* - `true`: Rebinds the test domain name of the cluster.
|
|
716
716
|
* - `false`: Does not rebind the test domain name of the cluster.
|
|
@@ -725,7 +725,7 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
725
725
|
ingressDomainRebinding?: boolean;
|
|
726
726
|
/**
|
|
727
727
|
* @remarks
|
|
728
|
-
* The instance ID of the SLB for the cluster to be modified.
|
|
728
|
+
* The instance ID of the SLB for the Ingress of the cluster to be modified.
|
|
729
729
|
*
|
|
730
730
|
* @example
|
|
731
731
|
* lb-wz97kes8tnndkpodw****
|
|
@@ -735,10 +735,10 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
735
735
|
ingressLoadbalancerId?: string;
|
|
736
736
|
/**
|
|
737
737
|
* @remarks
|
|
738
|
-
* Specifies whether to enable
|
|
738
|
+
* Specifies whether to enable deletion protection for instances to prevent accidental deletion or release of nodes through the console or API calls. Valid values:
|
|
739
739
|
*
|
|
740
|
-
* - `true`: Nodes cannot be accidentally deleted through the console or API.
|
|
741
|
-
* - `false`: Nodes can be deleted through the console or API.
|
|
740
|
+
* - `true`: Enables deletion protection. Nodes cannot be accidentally deleted or released through the console or API calls.
|
|
741
|
+
* - `false`: Disables deletion protection. Nodes can be accidentally deleted or released through the console or API calls.
|
|
742
742
|
*
|
|
743
743
|
* Default value: `false`.
|
|
744
744
|
*
|
|
@@ -750,7 +750,7 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
750
750
|
instanceDeletionProtection?: boolean;
|
|
751
751
|
/**
|
|
752
752
|
* @remarks
|
|
753
|
-
* The
|
|
753
|
+
* The maintenance window of the cluster. This feature takes effect only in ACK managed clusters of the Pro edition.
|
|
754
754
|
*/
|
|
755
755
|
maintenanceWindow?: MaintenanceWindow;
|
|
756
756
|
/**
|
|
@@ -760,7 +760,7 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
760
760
|
operationPolicy?: ModifyClusterRequestOperationPolicy;
|
|
761
761
|
/**
|
|
762
762
|
* @remarks
|
|
763
|
-
* The resource group
|
|
763
|
+
* The ID of the resource group to which the cluster belongs.
|
|
764
764
|
*
|
|
765
765
|
* @example
|
|
766
766
|
* rg-acfmyvw3wjm****
|
|
@@ -768,10 +768,10 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
768
768
|
resourceGroupId?: string;
|
|
769
769
|
/**
|
|
770
770
|
* @remarks
|
|
771
|
-
* The control plane security group
|
|
771
|
+
* The ID of the control plane security group.
|
|
772
772
|
*
|
|
773
|
-
* - If you have configured blocking rules in the security group, make sure the security group rules allow the protocols and ports
|
|
774
|
-
* - For
|
|
773
|
+
* - If you have configured blocking rules in the security group, make sure that the security group rules allow the protocols and ports on which the cluster depends. For more information about the recommended security group rules for cluster management, see [Configure and manage cluster security groups](https://help.aliyun.com/document_detail/353191.html).
|
|
774
|
+
* - For ACK clusters other than dedicated clusters, the cluster control plane and installed managed components such as terway-controlplane will be briefly restarted during the procedure. We recommend that you perform this operation during off-peak hours. After the control plane security group is changed, the elastic network interfaces (ENIs) used by the cluster control plane and installed managed components are automatically added to the new security group.
|
|
775
775
|
* - For ACK dedicated clusters, after the control plane security group is changed, newly scaled-out master nodes automatically apply the new control plane security group. Existing control plane nodes are not affected.
|
|
776
776
|
*
|
|
777
777
|
* @example
|
|
@@ -779,23 +779,30 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
779
779
|
*/
|
|
780
780
|
securityGroupId?: string;
|
|
781
781
|
/**
|
|
782
|
+
* @remarks
|
|
783
|
+
* The version support policy for the cluster. The value is case-sensitive. Valid values:
|
|
784
|
+
* - Standard: Standard support.
|
|
785
|
+
* - Extended: Extended support. After the standard support period ends, the cluster enters the extended support period and continues to receive CVE patch versions.
|
|
786
|
+
* Only ACK managed clusters of the Pro edition (where cluster_spec is set to ack.pro.* and profile is set to Default) support the Extended value. If you specify Extended for ACK standard clusters, ACS clusters, ACK managed clusters of the edge edition, or ACK dedicated clusters, the request will be rejected.
|
|
787
|
+
* If you do not specify this parameter, the current value of the cluster remains unchanged. After a cluster is upgraded to an extended support patch version, it cannot be changed back to Standard.
|
|
788
|
+
*
|
|
782
789
|
* @example
|
|
783
790
|
* Extended
|
|
784
791
|
*/
|
|
785
792
|
supportPolicy?: string;
|
|
786
793
|
/**
|
|
787
794
|
* @remarks
|
|
788
|
-
* The system event
|
|
795
|
+
* The system event logging configuration.
|
|
789
796
|
*/
|
|
790
797
|
systemEventsLogging?: ModifyClusterRequestSystemEventsLogging;
|
|
791
798
|
/**
|
|
792
799
|
* @remarks
|
|
793
|
-
* The
|
|
794
|
-
* - After the time zone is changed, the cluster inspection configuration
|
|
800
|
+
* The time zone of the cluster. For more information, see [Supported time zones](https://help.aliyun.com/document_detail/354879.html).
|
|
801
|
+
* - After the time zone is changed, the cluster inspection configuration adopts the new time zone settings.
|
|
795
802
|
*
|
|
796
|
-
* - For managed clusters, the cluster control plane and installed managed components
|
|
803
|
+
* - For managed clusters, the cluster control plane and installed managed components such as terway-controlplane will be briefly restarted during the modification. We recommend that you perform this operation during off-peak hours. After the time zone is changed, newly scaled-out nodes automatically apply the new time zone settings. Existing nodes are not affected. You can use the node reset feature in the node pool to apply the new settings to existing nodes.
|
|
797
804
|
*
|
|
798
|
-
* - For dedicated clusters, after the time zone is changed, newly scaled-out nodes
|
|
805
|
+
* - For dedicated clusters, after the time zone is changed, newly scaled-out nodes, including control plane nodes, automatically apply the new time zone settings. Existing nodes, including control plane nodes, are not affected. You can use the node reset feature in the node pool to apply the new settings to existing nodes. For control plane nodes, you must scale out and then scale in the nodes to apply the new settings to all control plane nodes.
|
|
799
806
|
*
|
|
800
807
|
* @example
|
|
801
808
|
* Asia/Shanghai
|
|
@@ -803,11 +810,11 @@ export class ModifyClusterRequest extends $dara.Model {
|
|
|
803
810
|
timezone?: string;
|
|
804
811
|
/**
|
|
805
812
|
* @remarks
|
|
806
|
-
* The
|
|
807
|
-
* - This parameter
|
|
808
|
-
* - Control plane components will briefly
|
|
809
|
-
* - Make sure all security groups
|
|
810
|
-
* - If the new control plane vSwitches
|
|
813
|
+
* The vSwitches for the cluster control plane. For dedicated clusters, the change takes effect on newly scaled-out control plane nodes. For managed clusters, note the following when changing the control plane vSwitches:
|
|
814
|
+
* - This parameter overwrites the existing configuration. You must specify the complete list of target vSwitches.
|
|
815
|
+
* - Control plane components will be briefly restarted during the modification. Proceed with caution.
|
|
816
|
+
* - Make sure that the inbound and outbound rules of all security groups in the cluster, including the control plane security group, security groups of all node pools, and security groups used by the container network, allow the CIDR blocks of the new vSwitches. This prevents nodes and containers from failing to connect to the API server.
|
|
817
|
+
* - If ACL rules are configured for the new control plane vSwitches, make sure that the ACL rules allow communication with the CIDR blocks of cluster nodes and the container network.
|
|
811
818
|
*/
|
|
812
819
|
vswitchIds?: string[];
|
|
813
820
|
static names(): { [key: string]: string } {
|
|
@@ -13,7 +13,7 @@ export class ModifyClusterResponseBody extends $dara.Model {
|
|
|
13
13
|
clusterId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The request
|
|
16
|
+
* The ID of the request.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 687C5BAA-D103-4993-884B-C35E4314****
|
|
@@ -21,7 +21,7 @@ export class ModifyClusterResponseBody extends $dara.Model {
|
|
|
21
21
|
requestId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The task
|
|
24
|
+
* The ID of the task.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* T-5a54309c80282e39ea00****
|