@alicloud/cs20151215 6.6.5 → 6.7.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.
- package/dist/client.d.ts +26 -8
- package/dist/client.js +53 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +396 -287
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +241 -244
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +254 -254
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +225 -218
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +183 -183
- package/dist/models/RunNodeOperationRequest.d.ts +22 -0
- package/dist/models/RunNodeOperationRequest.js +63 -0
- package/dist/models/RunNodeOperationRequest.js.map +1 -0
- package/dist/models/RunNodeOperationResponse.d.ts +19 -0
- package/dist/models/RunNodeOperationResponse.js +69 -0
- package/dist/models/RunNodeOperationResponse.js.map +1 -0
- package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
- package/dist/models/RunNodeOperationResponseBody.js +62 -0
- package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +57 -8
- package/src/models/CreateClusterNodePoolRequest.ts +397 -288
- package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +241 -244
- package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +254 -254
- package/src/models/ModifyClusterNodePoolRequest.ts +225 -218
- package/src/models/Nodepool.ts +183 -183
- package/src/models/RunNodeOperationRequest.ts +40 -0
- package/src/models/RunNodeOperationResponse.ts +40 -0
- package/src/models/RunNodeOperationResponseBody.ts +45 -0
- package/src/models/model.ts +3 -0
|
@@ -7,9 +7,10 @@ import { Taint } from "./Taint";
|
|
|
7
7
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* This
|
|
10
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
11
|
+
* The peak bandwidth of the EIP.
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
+
* Valid values: [1, 100]. Unit: Mbit/s.
|
|
13
14
|
*
|
|
14
15
|
* @example
|
|
15
16
|
* null
|
|
@@ -19,13 +20,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
19
20
|
eipBandwidth?: number;
|
|
20
21
|
/**
|
|
21
22
|
* @remarks
|
|
22
|
-
*
|
|
23
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
23
24
|
*
|
|
24
|
-
* The billing method
|
|
25
|
+
* The billing method of the EIP. Valid values:
|
|
25
26
|
*
|
|
26
|
-
* - `PayByBandwidth`:
|
|
27
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
27
28
|
*
|
|
28
|
-
* - `PayByTraffic`:
|
|
29
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
29
30
|
*
|
|
30
31
|
* Default value: `PayByBandwidth`.
|
|
31
32
|
*
|
|
@@ -37,13 +38,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
37
38
|
eipInternetChargeType?: string;
|
|
38
39
|
/**
|
|
39
40
|
* @remarks
|
|
40
|
-
*
|
|
41
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
41
42
|
*
|
|
42
|
-
* - `true`:
|
|
43
|
+
* - `true`: Enables auto scaling for the node pool. If the resources in the cluster do not meet the scheduling requirements of application pods, ACK automatically scales the nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, instant elasticity is enabled by default. For clusters of a Kubernetes version earlier than 1.24, node autoscaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
43
44
|
*
|
|
44
|
-
* - `false`:
|
|
45
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool to the value of \\`desired_size\\` and keeps the number of nodes unchanged.
|
|
45
46
|
*
|
|
46
|
-
*
|
|
47
|
+
* If this parameter is set to false, other parameters in `auto_scaling` do not take effect.
|
|
47
48
|
*
|
|
48
49
|
* Default value: `false`.
|
|
49
50
|
*
|
|
@@ -53,11 +54,11 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
53
54
|
enable?: boolean;
|
|
54
55
|
/**
|
|
55
56
|
* @remarks
|
|
56
|
-
*
|
|
57
|
+
* This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
57
58
|
*
|
|
58
|
-
* - `true`:
|
|
59
|
+
* - `true`: associates an EIP.
|
|
59
60
|
*
|
|
60
|
-
* - `false`:
|
|
61
|
+
* - `false`: does not associate an EIP.
|
|
61
62
|
*
|
|
62
63
|
* Default value: `false`.
|
|
63
64
|
*
|
|
@@ -69,7 +70,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
69
70
|
isBondEip?: boolean;
|
|
70
71
|
/**
|
|
71
72
|
* @remarks
|
|
72
|
-
* The maximum number of
|
|
73
|
+
* The maximum number of instances that can be created in the node pool. This parameter does not include existing instances. This parameter takes effect only when `enable=true`.
|
|
73
74
|
*
|
|
74
75
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
75
76
|
*
|
|
@@ -79,13 +80,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
79
80
|
maxInstances?: number;
|
|
80
81
|
/**
|
|
81
82
|
* @remarks
|
|
82
|
-
* The minimum number of
|
|
83
|
+
* The minimum number of instances that can be created in the node pool. This parameter does not include existing instances. This parameter takes effect only when `enable=true`.
|
|
83
84
|
*
|
|
84
85
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
85
86
|
*
|
|
86
|
-
* > - If the minimum
|
|
87
|
+
* > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
|
|
87
88
|
* >
|
|
88
|
-
* > -
|
|
89
|
+
* > - Set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, a scale-in event is triggered after auto scaling is enabled.
|
|
89
90
|
*
|
|
90
91
|
* @example
|
|
91
92
|
* 2
|
|
@@ -93,15 +94,15 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
93
94
|
minInstances?: number;
|
|
94
95
|
/**
|
|
95
96
|
* @remarks
|
|
96
|
-
* The auto scaling
|
|
97
|
+
* The type of auto scaling. This parameter is specified based on the instance type. Valid values:
|
|
97
98
|
*
|
|
98
|
-
* - `cpu`:
|
|
99
|
+
* - `cpu`: regular instance.
|
|
99
100
|
*
|
|
100
|
-
* - `gpu`: GPU instance.
|
|
101
|
+
* - `gpu`: GPU-accelerated instance.
|
|
101
102
|
*
|
|
102
|
-
* - `gpushare`: GPU
|
|
103
|
+
* - `gpushare`: shared GPU-accelerated instance.
|
|
103
104
|
*
|
|
104
|
-
* - `spot`:
|
|
105
|
+
* - `spot`: spot instance.
|
|
105
106
|
*
|
|
106
107
|
* Default value: `cpu`.
|
|
107
108
|
*
|
|
@@ -125,11 +126,11 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
125
126
|
export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
126
127
|
/**
|
|
127
128
|
* @remarks
|
|
128
|
-
*
|
|
129
|
+
* Specifies whether to install Cloud Monitor on the ECS nodes. After Cloud Monitor is installed, you can view the monitoring information of the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
|
|
129
130
|
*
|
|
130
|
-
* - `true`:
|
|
131
|
+
* - `true`: installs Cloud Monitor on ECS nodes.
|
|
131
132
|
*
|
|
132
|
-
* - `false`:
|
|
133
|
+
* - `false`: does not install Cloud Monitor on ECS nodes.
|
|
133
134
|
*
|
|
134
135
|
* Default value: `false`.
|
|
135
136
|
*
|
|
@@ -139,11 +140,11 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
139
140
|
cmsEnabled?: boolean;
|
|
140
141
|
/**
|
|
141
142
|
* @remarks
|
|
142
|
-
* The
|
|
143
|
+
* The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
143
144
|
*
|
|
144
|
-
* - `static`:
|
|
145
|
+
* - `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
145
146
|
*
|
|
146
|
-
* - `none`:
|
|
147
|
+
* - `none`: indicates that the default CPU affinity is used.
|
|
147
148
|
*
|
|
148
149
|
* Default value: `none`.
|
|
149
150
|
*
|
|
@@ -153,20 +154,20 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
153
154
|
cpuPolicy?: string;
|
|
154
155
|
/**
|
|
155
156
|
* @remarks
|
|
156
|
-
*
|
|
157
|
+
* The labels that you want to add to the nodes. The following rules apply:
|
|
157
158
|
*
|
|
158
|
-
* -
|
|
159
|
+
* - A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
159
160
|
*
|
|
160
|
-
* -
|
|
161
|
+
* - The key must be unique and can be up to 64 characters in length. The value can be empty and can be up to 128 characters in length. The key and the value 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).
|
|
161
162
|
*/
|
|
162
163
|
labels?: Tag[];
|
|
163
164
|
/**
|
|
164
165
|
* @remarks
|
|
165
|
-
* The custom node name parameter. A node name consists of three parts: prefix
|
|
166
|
+
* The custom node name parameter. A node name consists of three parts: a prefix, the node IP address, and a suffix.
|
|
166
167
|
*
|
|
167
|
-
* The prefix and suffix can
|
|
168
|
+
* The prefix and suffix can contain one or more parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or a digit. The node IP address is the complete private IP address of the node.
|
|
168
169
|
*
|
|
169
|
-
* The parameter
|
|
170
|
+
* The parameter consists of four parts that are separated by commas. For example, if you pass the "customized,aliyun,ip,com" string (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is aliyun.192.168.xxx.xxx.com.
|
|
170
171
|
*
|
|
171
172
|
* @example
|
|
172
173
|
* customized,aliyun,ip,com
|
|
@@ -174,7 +175,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
174
175
|
nodeNameMode?: string;
|
|
175
176
|
/**
|
|
176
177
|
* @remarks
|
|
177
|
-
* The
|
|
178
|
+
* The pre-customized instance data. Before a node is added to the cluster, the specified pre-customized instance data script is run. For more information, see [User data](https://help.aliyun.com/document_detail/49121.html).
|
|
178
179
|
*
|
|
179
180
|
* @example
|
|
180
181
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -182,13 +183,13 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
182
183
|
preUserData?: string;
|
|
183
184
|
/**
|
|
184
185
|
* @remarks
|
|
185
|
-
* The container runtime
|
|
186
|
+
* The name of the container runtime. ACK supports the following three container runtimes.
|
|
186
187
|
*
|
|
187
|
-
* - containerd:
|
|
188
|
+
* - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
|
|
188
189
|
*
|
|
189
|
-
* - Sandboxed-Container.runv:
|
|
190
|
+
* - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 and earlier.
|
|
190
191
|
*
|
|
191
|
-
* - docker:
|
|
192
|
+
* - docker: This runtime is no longer maintained. It is supported by clusters of Kubernetes 1.22 and earlier.
|
|
192
193
|
*
|
|
193
194
|
* Default value: containerd.
|
|
194
195
|
*
|
|
@@ -198,7 +199,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
198
199
|
runtime?: string;
|
|
199
200
|
/**
|
|
200
201
|
* @remarks
|
|
201
|
-
* The container runtime
|
|
202
|
+
* The version of the container runtime.
|
|
202
203
|
*
|
|
203
204
|
* @example
|
|
204
205
|
* 1.6.38
|
|
@@ -206,16 +207,16 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
206
207
|
runtimeVersion?: string;
|
|
207
208
|
/**
|
|
208
209
|
* @remarks
|
|
209
|
-
* The node taint
|
|
210
|
+
* The node taint configurations.
|
|
210
211
|
*/
|
|
211
212
|
taints?: Taint[];
|
|
212
213
|
/**
|
|
213
214
|
* @remarks
|
|
214
|
-
*
|
|
215
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
215
216
|
*
|
|
216
|
-
* - true:
|
|
217
|
+
* - true: The nodes are unschedulable.
|
|
217
218
|
*
|
|
218
|
-
* - false:
|
|
219
|
+
* - false: The nodes are schedulable.
|
|
219
220
|
*
|
|
220
221
|
* @example
|
|
221
222
|
* false
|
|
@@ -223,7 +224,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
223
224
|
unschedulable?: boolean;
|
|
224
225
|
/**
|
|
225
226
|
* @remarks
|
|
226
|
-
* The instance user data. After a node
|
|
227
|
+
* The instance user data. After a node is added to the cluster, the specified user data script is run. For more information, see [User data](https://help.aliyun.com/document_detail/49121.html).
|
|
227
228
|
*
|
|
228
229
|
* @example
|
|
229
230
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -243,12 +244,12 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
243
244
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
244
245
|
/**
|
|
245
246
|
* @remarks
|
|
246
|
-
*
|
|
247
|
+
* Specifies whether manual approval is required for node repair.
|
|
247
248
|
*/
|
|
248
249
|
approvalRequired?: boolean;
|
|
249
250
|
/**
|
|
250
251
|
* @remarks
|
|
251
|
-
* The
|
|
252
|
+
* The ID of the auto repair policy.
|
|
252
253
|
*
|
|
253
254
|
* @example
|
|
254
255
|
* r-xxxxxxxxxx
|
|
@@ -256,13 +257,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
256
257
|
autoRepairPolicyId?: string;
|
|
257
258
|
/**
|
|
258
259
|
* @remarks
|
|
259
|
-
*
|
|
260
|
+
* Specifies whether to allow node restart. This parameter takes effect only when auto_repair is set to `true`. Valid values:
|
|
260
261
|
*
|
|
261
|
-
* - `true`:
|
|
262
|
+
* - `true`: allows node restart.
|
|
262
263
|
*
|
|
263
|
-
* - `false`:
|
|
264
|
+
* - `false`: disallows node restart.
|
|
264
265
|
*
|
|
265
|
-
* Default value: `true
|
|
266
|
+
* Default value: `true`
|
|
266
267
|
*
|
|
267
268
|
* @example
|
|
268
269
|
* true
|
|
@@ -282,13 +283,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
282
283
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
283
284
|
/**
|
|
284
285
|
* @remarks
|
|
285
|
-
*
|
|
286
|
+
* Specifies whether to allow auto kubelet upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
286
287
|
*
|
|
287
|
-
* - `true`:
|
|
288
|
+
* - `true`: allows auto kubelet upgrade.
|
|
288
289
|
*
|
|
289
|
-
* - `false`:
|
|
290
|
+
* - `false`: disallows auto kubelet upgrade.
|
|
290
291
|
*
|
|
291
|
-
* Default value: `true
|
|
292
|
+
* Default value: `true`
|
|
292
293
|
*
|
|
293
294
|
* @example
|
|
294
295
|
* true
|
|
@@ -296,11 +297,11 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
296
297
|
autoUpgradeKubelet?: boolean;
|
|
297
298
|
/**
|
|
298
299
|
* @remarks
|
|
299
|
-
*
|
|
300
|
+
* Specifies whether to allow auto operating system upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
300
301
|
*
|
|
301
|
-
* - `true`:
|
|
302
|
+
* - `true`: allows auto operating system upgrade.
|
|
302
303
|
*
|
|
303
|
-
* - `false`:
|
|
304
|
+
* - `false`: disallows auto operating system upgrade.
|
|
304
305
|
*
|
|
305
306
|
* Default value: `false`.
|
|
306
307
|
*
|
|
@@ -310,11 +311,11 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
310
311
|
autoUpgradeOs?: boolean;
|
|
311
312
|
/**
|
|
312
313
|
* @remarks
|
|
313
|
-
*
|
|
314
|
+
* Specifies whether to allow auto runtime upgrade. This parameter takes effect only when auto_upgrade is set to `true`. Valid values:
|
|
314
315
|
*
|
|
315
|
-
* - `true`:
|
|
316
|
+
* - `true`: allows auto runtime upgrade.
|
|
316
317
|
*
|
|
317
|
-
* - `false`:
|
|
318
|
+
* - `false`: disallows auto runtime upgrade.
|
|
318
319
|
*
|
|
319
320
|
* Default value: `true`.
|
|
320
321
|
*
|
|
@@ -336,7 +337,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
336
337
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
337
338
|
/**
|
|
338
339
|
* @remarks
|
|
339
|
-
*
|
|
340
|
+
* The packages that should be excluded during vulnerability fixing.
|
|
340
341
|
*
|
|
341
342
|
* Default value: `kernel`.
|
|
342
343
|
*
|
|
@@ -346,13 +347,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
346
347
|
excludePackages?: string;
|
|
347
348
|
/**
|
|
348
349
|
* @remarks
|
|
349
|
-
*
|
|
350
|
+
* Specifies whether to allow node restart. This parameter takes effect only when auto_vul_fix is set to `true`. Valid values:
|
|
350
351
|
*
|
|
351
|
-
* - `true`:
|
|
352
|
+
* - `true`: allows node restart.
|
|
352
353
|
*
|
|
353
|
-
* - `false`:
|
|
354
|
+
* - `false`: disallows node restart.
|
|
354
355
|
*
|
|
355
|
-
* Default value: `true
|
|
356
|
+
* Default value: `true`
|
|
356
357
|
*
|
|
357
358
|
* @example
|
|
358
359
|
* true
|
|
@@ -360,13 +361,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
360
361
|
restartNode?: boolean;
|
|
361
362
|
/**
|
|
362
363
|
* @remarks
|
|
363
|
-
* The
|
|
364
|
+
* The vulnerability levels that are allowed to be automatically fixed. The value is a comma-separated list. Example: `asap,later`. Supported vulnerability levels:
|
|
364
365
|
*
|
|
365
|
-
* - `asap`:
|
|
366
|
+
* - `asap`: high
|
|
366
367
|
*
|
|
367
|
-
* - `later`:
|
|
368
|
+
* - `later`: medium
|
|
368
369
|
*
|
|
369
|
-
* - `nntf`:
|
|
370
|
+
* - `nntf`: low
|
|
370
371
|
*
|
|
371
372
|
* Default value: `asap`.
|
|
372
373
|
*
|
|
@@ -388,13 +389,13 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
388
389
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
389
390
|
/**
|
|
390
391
|
* @remarks
|
|
391
|
-
*
|
|
392
|
+
* This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
|
|
392
393
|
*
|
|
393
|
-
*
|
|
394
|
+
* Specifies whether to enable auto upgrade:
|
|
394
395
|
*
|
|
395
|
-
* - true:
|
|
396
|
+
* - true: enables auto upgrade.
|
|
396
397
|
*
|
|
397
|
-
* - false:
|
|
398
|
+
* - false: disables auto upgrade.
|
|
398
399
|
*
|
|
399
400
|
* Default value: `true`.
|
|
400
401
|
*
|
|
@@ -408,7 +409,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
408
409
|
* @remarks
|
|
409
410
|
* The maximum number of unavailable nodes.
|
|
410
411
|
*
|
|
411
|
-
* Valid values: [1, 1000]
|
|
412
|
+
* Valid values: [1, 1000]
|
|
412
413
|
*
|
|
413
414
|
* Default value: 1.
|
|
414
415
|
*
|
|
@@ -418,11 +419,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
418
419
|
maxUnavailable?: number;
|
|
419
420
|
/**
|
|
420
421
|
* @remarks
|
|
421
|
-
* The number of
|
|
422
|
+
* The number of extra nodes. You can specify only one of surge and `surge_percentage`.
|
|
422
423
|
*
|
|
423
|
-
* Nodes become unavailable during
|
|
424
|
+
* Nodes may become unavailable during an upgrade. You can create extra nodes to ensure service continuity.
|
|
424
425
|
*
|
|
425
|
-
* >
|
|
426
|
+
* > The number of extra nodes must not exceed the current number of nodes.
|
|
426
427
|
*
|
|
427
428
|
* @example
|
|
428
429
|
* 5
|
|
@@ -430,9 +431,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
430
431
|
surge?: number;
|
|
431
432
|
/**
|
|
432
433
|
* @remarks
|
|
433
|
-
* The percentage of
|
|
434
|
+
* The percentage of extra nodes. You can specify only one of surge and `surge_percentage`.
|
|
434
435
|
*
|
|
435
|
-
*
|
|
436
|
+
* Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if you set the percentage of extra nodes to 50% and the number of existing nodes is 6, three extra nodes are created.
|
|
436
437
|
*
|
|
437
438
|
* @example
|
|
438
439
|
* 0
|
|
@@ -453,13 +454,13 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
453
454
|
autoFaultDiagnosis?: boolean;
|
|
454
455
|
/**
|
|
455
456
|
* @remarks
|
|
456
|
-
*
|
|
457
|
+
* Specifies whether to enable auto node repair. This parameter takes effect only when enable is set to `true`.
|
|
457
458
|
*
|
|
458
|
-
* - `true`:
|
|
459
|
+
* - `true`: Auto repair is enabled.
|
|
459
460
|
*
|
|
460
|
-
* - `false`:
|
|
461
|
+
* - `false`: Auto repair is disabled.
|
|
461
462
|
*
|
|
462
|
-
* Default value: `true
|
|
463
|
+
* Default value: `true`
|
|
463
464
|
*
|
|
464
465
|
* @example
|
|
465
466
|
* true
|
|
@@ -467,18 +468,18 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
467
468
|
autoRepair?: boolean;
|
|
468
469
|
/**
|
|
469
470
|
* @remarks
|
|
470
|
-
* The
|
|
471
|
+
* The auto node repair policy.
|
|
471
472
|
*/
|
|
472
473
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
473
474
|
/**
|
|
474
475
|
* @remarks
|
|
475
|
-
*
|
|
476
|
+
* Specifies whether to enable auto node upgrade. This parameter takes effect only when enable is set to `true`.
|
|
476
477
|
*
|
|
477
|
-
* - `true`:
|
|
478
|
+
* - `true`: enables auto upgrade.
|
|
478
479
|
*
|
|
479
|
-
* - `false`:
|
|
480
|
+
* - `false`: disables auto upgrade.
|
|
480
481
|
*
|
|
481
|
-
* Default value: `true
|
|
482
|
+
* Default value: `true`
|
|
482
483
|
*
|
|
483
484
|
* @example
|
|
484
485
|
* true
|
|
@@ -486,16 +487,16 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
486
487
|
autoUpgrade?: boolean;
|
|
487
488
|
/**
|
|
488
489
|
* @remarks
|
|
489
|
-
* The
|
|
490
|
+
* The auto upgrade policy.
|
|
490
491
|
*/
|
|
491
492
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
492
493
|
/**
|
|
493
494
|
* @remarks
|
|
494
|
-
*
|
|
495
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when enable is set to `true`.
|
|
495
496
|
*
|
|
496
|
-
* - `true`:
|
|
497
|
+
* - `true`: allows automatic CVE fixing.
|
|
497
498
|
*
|
|
498
|
-
* - `false`:
|
|
499
|
+
* - `false`: disallows automatic CVE fixing.
|
|
499
500
|
*
|
|
500
501
|
* Default value: `true`.
|
|
501
502
|
*
|
|
@@ -505,16 +506,16 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
505
506
|
autoVulFix?: boolean;
|
|
506
507
|
/**
|
|
507
508
|
* @remarks
|
|
508
|
-
* The
|
|
509
|
+
* The policy for automatically fixing CVE vulnerabilities.
|
|
509
510
|
*/
|
|
510
511
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
511
512
|
/**
|
|
512
513
|
* @remarks
|
|
513
|
-
*
|
|
514
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
514
515
|
*
|
|
515
|
-
* - `true`:
|
|
516
|
+
* - `true`: Enables the managed node pool.
|
|
516
517
|
*
|
|
517
|
-
* - `false`:
|
|
518
|
+
* - `false`: Disables the managed node pool. Other related configurations are ignored.
|
|
518
519
|
*
|
|
519
520
|
* Default value: `false`.
|
|
520
521
|
*
|
|
@@ -524,9 +525,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
524
525
|
enable?: boolean;
|
|
525
526
|
/**
|
|
526
527
|
* @remarks
|
|
527
|
-
*
|
|
528
|
+
* This parameter is deprecated. Use the `auto_upgrade` parameter at the upper level instead.
|
|
528
529
|
*
|
|
529
|
-
* The
|
|
530
|
+
* The auto upgrade configurations. This parameter takes effect only when enable is set to `true`.
|
|
530
531
|
*
|
|
531
532
|
* @deprecated
|
|
532
533
|
*/
|
|
@@ -545,9 +546,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
545
546
|
export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
546
547
|
/**
|
|
547
548
|
* @remarks
|
|
548
|
-
* The node pool
|
|
549
|
+
* The name of the node pool.
|
|
549
550
|
*
|
|
550
|
-
*
|
|
551
|
+
* The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
551
552
|
*
|
|
552
553
|
* @example
|
|
553
554
|
* default-nodepool
|
|
@@ -555,9 +556,9 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
555
556
|
name?: string;
|
|
556
557
|
/**
|
|
557
558
|
* @remarks
|
|
558
|
-
* The resource group
|
|
559
|
+
* The ID of the resource group for the node pool. Instances created in the node pool belong to this resource group.
|
|
559
560
|
*
|
|
560
|
-
* A resource can belong to only one resource group.
|
|
561
|
+
* A resource can belong to only one resource group. You can use resource groups to categorize resources by project, application, or organization.
|
|
561
562
|
*
|
|
562
563
|
* @example
|
|
563
564
|
* rg-acfmyvw3wjm****
|
|
@@ -577,7 +578,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
577
578
|
export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
578
579
|
/**
|
|
579
580
|
* @remarks
|
|
580
|
-
* The private node pool
|
|
581
|
+
* The ID of the private node pool. If `match_criteria` is set to `Target`, you must specify the ID of the private pool.
|
|
581
582
|
*
|
|
582
583
|
* @example
|
|
583
584
|
* eap-bp67acfmxazb4****
|
|
@@ -585,13 +586,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
585
586
|
id?: string;
|
|
586
587
|
/**
|
|
587
588
|
* @remarks
|
|
588
|
-
* The private node pool
|
|
589
|
+
* The type of the private node pool. This parameter specifies the private pool capacity option for instance startup. After an elastic assurance service or a capacity reservation service takes effect, it generates a private pool of capacity for instance startup. Valid values:
|
|
589
590
|
*
|
|
590
|
-
* - `Open`: Open mode.
|
|
591
|
+
* - `Open`: Open mode. The system automatically matches the capacity of private pools in Open mode. If no matching private pool is found, the instance is started using public pool resources.
|
|
591
592
|
*
|
|
592
|
-
* - `Target`: Specified mode.
|
|
593
|
+
* - `Target`: Specified mode. The instance is started using the capacity of a specified private pool. If the capacity of the specified private pool is unavailable, the instance fails to be started.
|
|
593
594
|
*
|
|
594
|
-
* - `None`:
|
|
595
|
+
* - `None`: The instance is started without using the capacity of a private pool.
|
|
595
596
|
*
|
|
596
597
|
* @example
|
|
597
598
|
* Open
|
|
@@ -611,12 +612,16 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
611
612
|
export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
612
613
|
/**
|
|
613
614
|
* @remarks
|
|
614
|
-
*
|
|
615
|
+
* A list of private pool IDs. The IDs of elastic assurance services or capacity reservation services. You can specify only the IDs of private pools in Target mode. You can specify 1 to 20 IDs.
|
|
615
616
|
*/
|
|
616
617
|
privatePoolIds?: string[];
|
|
617
618
|
/**
|
|
618
619
|
* @remarks
|
|
619
|
-
* The resource pool policy
|
|
620
|
+
* The resource pool policy that is used when you create an instance. Resource pools include private pools that are generated after elastic assurance services or capacity reservation services take effect, and public pools. You can select a resource pool when you start an instance. Valid values:
|
|
621
|
+
* PrivatePoolFirst: Private pool first. If you select this policy and specify resouce_pool_options.private_pool_ids, the specified private pool is used first. If you do not specify a private pool or the capacity of the specified private pool is insufficient, the system automatically matches a private pool in Open mode. If no matching private pool is found, a public pool is used to create the instance.
|
|
622
|
+
* PrivatePoolOnly: Private pool only. If you select this policy, you must specify resouce_pool_options.private_pool_ids. If the capacity of the specified private pool is insufficient, the instance fails to be started.
|
|
623
|
+
* None: No resource pool policy is used.
|
|
624
|
+
* Default value: None.
|
|
620
625
|
*
|
|
621
626
|
* @example
|
|
622
627
|
* PrivatePoolFirst
|
|
@@ -636,7 +641,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
636
641
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
637
642
|
/**
|
|
638
643
|
* @remarks
|
|
639
|
-
* The spot instance
|
|
644
|
+
* The instance type of the spot instance.
|
|
640
645
|
*
|
|
641
646
|
* @example
|
|
642
647
|
* ecs.c6.large
|
|
@@ -644,7 +649,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
644
649
|
instanceType?: string;
|
|
645
650
|
/**
|
|
646
651
|
* @remarks
|
|
647
|
-
* The maximum
|
|
652
|
+
* The maximum price of a single instance.
|
|
648
653
|
*
|
|
649
654
|
* <props="china">
|
|
650
655
|
*
|
|
@@ -674,11 +679,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
674
679
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
675
680
|
/**
|
|
676
681
|
* @remarks
|
|
677
|
-
*
|
|
682
|
+
* Specifies whether to enable auto-renewal for the nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
678
683
|
*
|
|
679
|
-
* - `true`:
|
|
684
|
+
* - `true`: Auto-renewal is enabled.
|
|
680
685
|
*
|
|
681
|
-
* - `false`:
|
|
686
|
+
* - `false`: Auto-renewal is disabled.
|
|
682
687
|
*
|
|
683
688
|
* Default value: `false`.
|
|
684
689
|
*
|
|
@@ -688,11 +693,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
688
693
|
autoRenew?: boolean;
|
|
689
694
|
/**
|
|
690
695
|
* @remarks
|
|
691
|
-
* The
|
|
696
|
+
* The auto-renewal period. Valid values:
|
|
692
697
|
*
|
|
693
|
-
* -
|
|
698
|
+
* - If PeriodUnit=Week, valid values are 1, 2, and 3.
|
|
694
699
|
*
|
|
695
|
-
* -
|
|
700
|
+
* - If PeriodUnit=Month, valid values are 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
696
701
|
*
|
|
697
702
|
* Default value: 1.
|
|
698
703
|
*
|
|
@@ -702,11 +707,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
702
707
|
autoRenewPeriod?: number;
|
|
703
708
|
/**
|
|
704
709
|
* @remarks
|
|
705
|
-
*
|
|
710
|
+
* If `multi_az_policy` is set to `COST_OPTIMIZED`, this parameter specifies whether to allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to reasons such as price and stock. Valid values:
|
|
706
711
|
*
|
|
707
|
-
* - `true`:
|
|
712
|
+
* - `true`: allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
708
713
|
*
|
|
709
|
-
* - `false`:
|
|
714
|
+
* - `false`: does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
710
715
|
*
|
|
711
716
|
* @example
|
|
712
717
|
* true
|
|
@@ -714,12 +719,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
714
719
|
compensateWithOnDemand?: boolean;
|
|
715
720
|
/**
|
|
716
721
|
* @remarks
|
|
717
|
-
* The data disk
|
|
722
|
+
* The data disk configurations of the node. You can specify 0 to 10 data disks.
|
|
718
723
|
*/
|
|
719
724
|
dataDisks?: DataDisk[];
|
|
720
725
|
/**
|
|
721
726
|
* @remarks
|
|
722
|
-
* The deployment set to which the ECS instances
|
|
727
|
+
* The ID of the deployment set to which the ECS instances in the node pool belong. This parameter is valid only for incremental nodes. The deployment sets of existing nodes are not changed.
|
|
723
728
|
*
|
|
724
729
|
* @example
|
|
725
730
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -727,11 +732,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
727
732
|
deploymentsetId?: string;
|
|
728
733
|
/**
|
|
729
734
|
* @remarks
|
|
730
|
-
* The
|
|
735
|
+
* The expected number of nodes in the node pool.
|
|
731
736
|
*
|
|
732
|
-
*
|
|
737
|
+
* The total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure that the cluster components run as expected. You can adjust the expected number of nodes to scale in or scale out the node pool.
|
|
733
738
|
*
|
|
734
|
-
* If you do not need to create nodes, set this to 0
|
|
739
|
+
* If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
|
|
735
740
|
*
|
|
736
741
|
* @example
|
|
737
742
|
* 2
|
|
@@ -744,7 +749,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
744
749
|
diskInit?: DiskInit[];
|
|
745
750
|
/**
|
|
746
751
|
* @remarks
|
|
747
|
-
* The custom image
|
|
752
|
+
* The ID of the custom image. You can call `DescribeKubernetesVersionMetadata` to query the images that are supported by the system. By default, the latest image is used.
|
|
748
753
|
*
|
|
749
754
|
* @example
|
|
750
755
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -752,27 +757,27 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
752
757
|
imageId?: string;
|
|
753
758
|
/**
|
|
754
759
|
* @remarks
|
|
755
|
-
* The operating system
|
|
760
|
+
* The distribution of the operating system. We recommend that you use this parameter to specify the operating system of the nodes. Valid values:
|
|
756
761
|
*
|
|
757
|
-
* - `AliyunLinux`:
|
|
762
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
758
763
|
*
|
|
759
|
-
* - `AliyunLinuxSecurity`:
|
|
764
|
+
* - `AliyunLinuxSecurity`: Alinux2 image with UEFI.
|
|
760
765
|
*
|
|
761
|
-
* - `AliyunLinux3`:
|
|
766
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
762
767
|
*
|
|
763
|
-
* - `AliyunLinux3Arm64`:
|
|
768
|
+
* - `AliyunLinux3Arm64`: Alinux3 image for ARM.
|
|
764
769
|
*
|
|
765
|
-
* - `AliyunLinux3Security`:
|
|
770
|
+
* - `AliyunLinux3Security`: Alinux3 image with UEFI.
|
|
766
771
|
*
|
|
767
772
|
* - `CentOS`: CentOS image.
|
|
768
773
|
*
|
|
769
774
|
* - `Windows`: Windows image.
|
|
770
775
|
*
|
|
771
|
-
* - `WindowsCore`:
|
|
776
|
+
* - `WindowsCore`: WindowsCore image.
|
|
772
777
|
*
|
|
773
|
-
* - `ContainerOS`:
|
|
778
|
+
* - `ContainerOS`: container-optimized image.
|
|
774
779
|
*
|
|
775
|
-
* - `AliyunLinux3ContainerOptimized`:
|
|
780
|
+
* - `AliyunLinux3ContainerOptimized`: container-optimized Alinux3 image.
|
|
776
781
|
*
|
|
777
782
|
* @example
|
|
778
783
|
* AliyunLinux3
|
|
@@ -780,11 +785,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
780
785
|
imageType?: string;
|
|
781
786
|
/**
|
|
782
787
|
* @remarks
|
|
783
|
-
* The billing method
|
|
788
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
784
789
|
*
|
|
785
|
-
* - `PrePaid`:
|
|
790
|
+
* - `PrePaid`: subscription
|
|
786
791
|
*
|
|
787
|
-
* - `PostPaid`:
|
|
792
|
+
* - `PostPaid`: pay-as-you-go
|
|
788
793
|
*
|
|
789
794
|
* Default value: `PostPaid`.
|
|
790
795
|
*
|
|
@@ -794,23 +799,23 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
794
799
|
instanceChargeType?: string;
|
|
795
800
|
/**
|
|
796
801
|
* @remarks
|
|
797
|
-
* The instance attribute
|
|
802
|
+
* The instance attribute configurations.
|
|
798
803
|
*/
|
|
799
804
|
instancePatterns?: InstancePatterns[];
|
|
800
805
|
/**
|
|
801
806
|
* @remarks
|
|
802
|
-
*
|
|
807
|
+
* A list of node instance types. You can specify multiple instance types as alternatives. When a node is created, the system attempts to purchase the instance types in the order they are specified until one is successfully purchased. The final instance type that is purchased may vary depending on the stock.
|
|
803
808
|
*
|
|
804
|
-
*
|
|
809
|
+
* You can specify 1 to 10 instance types.
|
|
805
810
|
*/
|
|
806
811
|
instanceTypes?: string[];
|
|
807
812
|
/**
|
|
808
813
|
* @remarks
|
|
809
|
-
* The billing method
|
|
814
|
+
* The billing method of the public IP address. Valid values:
|
|
810
815
|
*
|
|
811
|
-
* - `PayByBandwidth`:
|
|
816
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
812
817
|
*
|
|
813
|
-
* - `PayByTraffic`:
|
|
818
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
814
819
|
*
|
|
815
820
|
* @example
|
|
816
821
|
* PayByBandwidth
|
|
@@ -818,7 +823,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
818
823
|
internetChargeType?: string;
|
|
819
824
|
/**
|
|
820
825
|
* @remarks
|
|
821
|
-
* The maximum outbound bandwidth
|
|
826
|
+
* The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: [1, 100].
|
|
822
827
|
*
|
|
823
828
|
* @example
|
|
824
829
|
* 5
|
|
@@ -826,7 +831,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
826
831
|
internetMaxBandwidthOut?: number;
|
|
827
832
|
/**
|
|
828
833
|
* @remarks
|
|
829
|
-
* The key pair
|
|
834
|
+
* The name of the key pair. You must specify key_pair or `login_password`. For managed node pools, you can specify only `key_pair`.
|
|
830
835
|
*
|
|
831
836
|
* @example
|
|
832
837
|
* pro-nodepool
|
|
@@ -834,7 +839,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
834
839
|
keyPair?: string;
|
|
835
840
|
/**
|
|
836
841
|
* @remarks
|
|
837
|
-
* The SSH
|
|
842
|
+
* The SSH logon password. You must specify key_pair or `login_password`. 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.
|
|
838
843
|
*
|
|
839
844
|
* @example
|
|
840
845
|
* Hello1234
|
|
@@ -844,13 +849,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
844
849
|
* @remarks
|
|
845
850
|
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
846
851
|
*
|
|
847
|
-
* - `PRIORITY`:
|
|
852
|
+
* - `PRIORITY`: The system scales ECS instances based on the vSwitch priority. The vSwitch priority is specified by the VSwitchIds.N parameter. If the system fails to create an ECS instance in the zone where the vSwitch with the highest priority resides, it attempts to create the ECS instance in the zone where the vSwitch with the next highest priority resides.
|
|
848
853
|
*
|
|
849
|
-
* - `COST_OPTIMIZED`:
|
|
854
|
+
* - `COST_OPTIMIZED`: The system creates ECS instances of the instance type that has the lowest vCPU price. When the scaling configuration is set to create multiple instance types and the billing method is set to preemptible, the system preferentially creates preemptible instances. You can also use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when the system fails to create preemptible instances due to insufficient stock.
|
|
850
855
|
*
|
|
851
|
-
* > `COST_OPTIMIZED`
|
|
856
|
+
* > The `COST_OPTIMIZED` policy is valid only when multiple instance types are specified or preemptible instances are selected in the scaling configuration.
|
|
852
857
|
*
|
|
853
|
-
* - `BALANCE`:
|
|
858
|
+
* - `BALANCE`: The system evenly distributes ECS instances across the zones that are specified in the scaling group. If the distribution of ECS instances becomes unbalanced due to insufficient stock, you can call the `RebalanceInstances` operation to rebalance the distribution. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) .
|
|
854
859
|
*
|
|
855
860
|
* Default value: `PRIORITY`.
|
|
856
861
|
*
|
|
@@ -860,7 +865,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
860
865
|
multiAzPolicy?: string;
|
|
861
866
|
/**
|
|
862
867
|
* @remarks
|
|
863
|
-
* The minimum number of on-demand instances
|
|
868
|
+
* The minimum number of on-demand instances that must be contained in the scaling group. Valid values: [0, 1000]. When the number of on-demand instances is less than this value, on-demand instances are preferentially created.
|
|
864
869
|
*
|
|
865
870
|
* @example
|
|
866
871
|
* 0
|
|
@@ -868,7 +873,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
868
873
|
onDemandBaseCapacity?: number;
|
|
869
874
|
/**
|
|
870
875
|
* @remarks
|
|
871
|
-
* The percentage of on-demand instances among the instances that exceed the minimum on-demand
|
|
876
|
+
* The percentage of on-demand instances among the instances that exceed the minimum number of on-demand instances (`on_demand_base_capacity`). Valid values: [0, 100].
|
|
872
877
|
*
|
|
873
878
|
* @example
|
|
874
879
|
* 20
|
|
@@ -876,11 +881,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
876
881
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
877
882
|
/**
|
|
878
883
|
* @remarks
|
|
879
|
-
* The subscription duration
|
|
884
|
+
* The subscription duration of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
880
885
|
*
|
|
881
|
-
* -
|
|
886
|
+
* - If `period_unit=Week`, valid values of `period` are {1, 2, 3, 4}.
|
|
882
887
|
*
|
|
883
|
-
* -
|
|
888
|
+
* - If `period_unit=Month`, valid values of `period` are {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
884
889
|
*
|
|
885
890
|
* @example
|
|
886
891
|
* 1
|
|
@@ -888,11 +893,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
888
893
|
period?: number;
|
|
889
894
|
/**
|
|
890
895
|
* @remarks
|
|
891
|
-
* The billing cycle
|
|
896
|
+
* The billing cycle of the nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
892
897
|
*
|
|
893
|
-
* - `Month`:
|
|
898
|
+
* - `Month`: billed by month.
|
|
894
899
|
*
|
|
895
|
-
* - `Week`:
|
|
900
|
+
* - `Week`: billed by week.
|
|
896
901
|
*
|
|
897
902
|
* Default value: `Month`.
|
|
898
903
|
*
|
|
@@ -902,9 +907,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
902
907
|
periodUnit?: string;
|
|
903
908
|
/**
|
|
904
909
|
* @remarks
|
|
905
|
-
*
|
|
910
|
+
* This parameter is deprecated. Use the `image_type` parameter instead.
|
|
906
911
|
*
|
|
907
|
-
* The
|
|
912
|
+
* The OS platform. Valid values:
|
|
908
913
|
*
|
|
909
914
|
* - `AliyunLinux`
|
|
910
915
|
*
|
|
@@ -922,26 +927,28 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
922
927
|
platform?: string;
|
|
923
928
|
/**
|
|
924
929
|
* @remarks
|
|
925
|
-
* The private node pool
|
|
930
|
+
* The private node pool configurations.
|
|
926
931
|
*/
|
|
927
932
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
928
933
|
/**
|
|
929
934
|
* @remarks
|
|
930
|
-
*
|
|
935
|
+
* A list of ApsaraDB RDS instances.
|
|
931
936
|
*/
|
|
932
937
|
rdsInstances?: string[];
|
|
933
938
|
/**
|
|
934
939
|
* @remarks
|
|
935
|
-
* The resource pool and
|
|
940
|
+
* The resource pool and resource pool policy that are used when you create an instance. If you specify this parameter, note the following points:
|
|
941
|
+
* This parameter is valid only when you create pay-as-you-go instances.
|
|
942
|
+
* This parameter cannot be specified at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
936
943
|
*/
|
|
937
944
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
938
945
|
/**
|
|
939
946
|
* @remarks
|
|
940
|
-
* The scaling group
|
|
947
|
+
* The scaling mode of the scaling group. Valid values:
|
|
941
948
|
*
|
|
942
|
-
* - `release`:
|
|
949
|
+
* - `release`: standard mode. This mode creates and releases ECS instances to perform scaling.
|
|
943
950
|
*
|
|
944
|
-
* - `recycle`:
|
|
951
|
+
* - `recycle`: fast mode. This mode creates, stops, and starts ECS instances to perform scaling. This improves scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instance types with local disks.
|
|
945
952
|
*
|
|
946
953
|
* @example
|
|
947
954
|
* release
|
|
@@ -949,12 +956,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
949
956
|
scalingPolicy?: string;
|
|
950
957
|
/**
|
|
951
958
|
* @remarks
|
|
952
|
-
*
|
|
959
|
+
* A list of security group IDs.
|
|
953
960
|
*/
|
|
954
961
|
securityGroupIds?: string[];
|
|
955
962
|
/**
|
|
956
963
|
* @remarks
|
|
957
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
964
|
+
* The number of available instance types. The scaling group creates spot instances of multiple instance types that are provided at the lowest cost. Valid values: [1, 10].
|
|
958
965
|
*
|
|
959
966
|
* @example
|
|
960
967
|
* 5
|
|
@@ -962,11 +969,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
962
969
|
spotInstancePools?: number;
|
|
963
970
|
/**
|
|
964
971
|
* @remarks
|
|
965
|
-
*
|
|
972
|
+
* Specifies whether to enable the feature of supplementing spot instances. If this feature is enabled, the scaling group attempts to create a new instance to replace a spot instance that is reclaimed. Valid values:
|
|
966
973
|
*
|
|
967
|
-
* - `true`:
|
|
974
|
+
* - `true`: enables the feature of supplementing spot instances.
|
|
968
975
|
*
|
|
969
|
-
* - `false`:
|
|
976
|
+
* - `false`: disables the feature of supplementing spot instances.
|
|
970
977
|
*
|
|
971
978
|
* @example
|
|
972
979
|
* false
|
|
@@ -974,18 +981,18 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
974
981
|
spotInstanceRemedy?: boolean;
|
|
975
982
|
/**
|
|
976
983
|
* @remarks
|
|
977
|
-
* The price range
|
|
984
|
+
* The price range for the spot instance.
|
|
978
985
|
*/
|
|
979
986
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
980
987
|
/**
|
|
981
988
|
* @remarks
|
|
982
|
-
* The spot instance
|
|
989
|
+
* The bidding policy for the spot instance. Valid values:
|
|
983
990
|
*
|
|
984
|
-
* - `NoSpot`:
|
|
991
|
+
* - `NoSpot`: The instance is not a spot instance.
|
|
985
992
|
*
|
|
986
|
-
* - `SpotWithPriceLimit`:
|
|
993
|
+
* - `SpotWithPriceLimit`: The instance is a spot instance for which you can specify the maximum hourly price.
|
|
987
994
|
*
|
|
988
|
-
* - `SpotAsPriceGo`:
|
|
995
|
+
* - `SpotAsPriceGo`: The system automatically bids for the instance. The bid is based on the market price.
|
|
989
996
|
*
|
|
990
997
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
991
998
|
*
|
|
@@ -995,13 +1002,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
995
1002
|
spotStrategy?: string;
|
|
996
1003
|
/**
|
|
997
1004
|
* @remarks
|
|
998
|
-
*
|
|
1005
|
+
* Specifies whether to enable the performance burst feature for the system disk. Valid values:
|
|
999
1006
|
*
|
|
1000
|
-
* - true:
|
|
1007
|
+
* - true: enables the performance burst feature. If your business fluctuates and is subject to unexpected data read and write pressure, the cloud disk temporarily improves its performance until your business returns to a stable state.
|
|
1001
1008
|
*
|
|
1002
|
-
* - false:
|
|
1009
|
+
* - false: disables the performance burst feature.
|
|
1003
1010
|
*
|
|
1004
|
-
*
|
|
1011
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1005
1012
|
*
|
|
1006
1013
|
* @example
|
|
1007
1014
|
* true
|
|
@@ -1009,18 +1016,18 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1009
1016
|
systemDiskBurstingEnabled?: boolean;
|
|
1010
1017
|
/**
|
|
1011
1018
|
* @remarks
|
|
1012
|
-
* The
|
|
1019
|
+
* The multi-disk type of the system disk. If a disk of a higher priority disk type cannot be used, the system automatically tries the next priority disk type to create the system disk.
|
|
1013
1020
|
*/
|
|
1014
1021
|
systemDiskCategories?: string[];
|
|
1015
1022
|
/**
|
|
1016
1023
|
* @remarks
|
|
1017
|
-
* The
|
|
1024
|
+
* The type of the system disk. Valid values:
|
|
1018
1025
|
*
|
|
1019
|
-
* - `cloud_efficiency`:
|
|
1026
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1020
1027
|
*
|
|
1021
|
-
* - `cloud_ssd`:
|
|
1028
|
+
* - `cloud_ssd`: standard SSD.
|
|
1022
1029
|
*
|
|
1023
|
-
* - `cloud_essd`:
|
|
1030
|
+
* - `cloud_essd`: ESSD.
|
|
1024
1031
|
*
|
|
1025
1032
|
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1026
1033
|
*
|
|
@@ -1034,7 +1041,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1034
1041
|
systemDiskCategory?: string;
|
|
1035
1042
|
/**
|
|
1036
1043
|
* @remarks
|
|
1037
|
-
* The encryption algorithm for the system disk. Valid value: aes-256.
|
|
1044
|
+
* The encryption algorithm that is used for the system disk. Valid value: aes-256.
|
|
1038
1045
|
*
|
|
1039
1046
|
* @example
|
|
1040
1047
|
* aes-256
|
|
@@ -1042,11 +1049,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1042
1049
|
systemDiskEncryptAlgorithm?: string;
|
|
1043
1050
|
/**
|
|
1044
1051
|
* @remarks
|
|
1045
|
-
*
|
|
1052
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1046
1053
|
*
|
|
1047
|
-
* - true:
|
|
1054
|
+
* - true: encrypts the system disk.
|
|
1048
1055
|
*
|
|
1049
|
-
* - false:
|
|
1056
|
+
* - false: does not encrypt the system disk.
|
|
1050
1057
|
*
|
|
1051
1058
|
* @example
|
|
1052
1059
|
* false
|
|
@@ -1054,7 +1061,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1054
1061
|
systemDiskEncrypted?: boolean;
|
|
1055
1062
|
/**
|
|
1056
1063
|
* @remarks
|
|
1057
|
-
* The KMS key
|
|
1064
|
+
* The ID of the KMS key that is used to encrypt the system disk.
|
|
1058
1065
|
*
|
|
1059
1066
|
* @example
|
|
1060
1067
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1062,15 +1069,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1062
1069
|
systemDiskKmsKeyId?: string;
|
|
1063
1070
|
/**
|
|
1064
1071
|
* @remarks
|
|
1065
|
-
* The performance level of the system disk. This
|
|
1072
|
+
* The performance level of the system disk. This parameter is valid only for ESSD disks. The performance level of a disk is related to its size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1066
1073
|
*
|
|
1067
|
-
* - PL0:
|
|
1074
|
+
* - PL0: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
|
|
1068
1075
|
*
|
|
1069
|
-
* - PL1:
|
|
1076
|
+
* - PL1: The maximum concurrent I/O performance is moderate and the read/write latency is relatively stable.
|
|
1070
1077
|
*
|
|
1071
|
-
* - PL2:
|
|
1078
|
+
* - PL2: The maximum concurrent I/O performance is high and the read/write latency is stable.
|
|
1072
1079
|
*
|
|
1073
|
-
* - PL3:
|
|
1080
|
+
* - PL3: The maximum concurrent I/O performance is very high and the read/write latency is very stable.
|
|
1074
1081
|
*
|
|
1075
1082
|
* @example
|
|
1076
1083
|
* PL1
|
|
@@ -1078,11 +1085,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1078
1085
|
systemDiskPerformanceLevel?: string;
|
|
1079
1086
|
/**
|
|
1080
1087
|
* @remarks
|
|
1081
|
-
* The
|
|
1088
|
+
* The pre-configured read/write IOPS of the system disk.
|
|
1082
1089
|
*
|
|
1083
|
-
*
|
|
1090
|
+
* Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1084
1091
|
*
|
|
1085
|
-
*
|
|
1092
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1086
1093
|
*
|
|
1087
1094
|
* @example
|
|
1088
1095
|
* 1000
|
|
@@ -1090,13 +1097,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1090
1097
|
systemDiskProvisionedIops?: number;
|
|
1091
1098
|
/**
|
|
1092
1099
|
* @remarks
|
|
1093
|
-
* The size of the system disk
|
|
1100
|
+
* The size of the system disk. Unit: GiB.
|
|
1094
1101
|
*
|
|
1095
1102
|
* Valid values: [20, 2048].
|
|
1096
1103
|
*
|
|
1097
|
-
*
|
|
1104
|
+
* The value of this parameter must be greater than or equal to max{20, ImageSize}.
|
|
1098
1105
|
*
|
|
1099
|
-
* Default value: max{40,
|
|
1106
|
+
* Default value: max{40, The size of the image that corresponds to the ImageId parameter}.
|
|
1100
1107
|
*
|
|
1101
1108
|
* @example
|
|
1102
1109
|
* 120
|
|
@@ -1112,16 +1119,16 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1112
1119
|
systemDiskSnapshotPolicyId?: string;
|
|
1113
1120
|
/**
|
|
1114
1121
|
* @remarks
|
|
1115
|
-
*
|
|
1122
|
+
* The tags that you want to add only to ECS instances.
|
|
1116
1123
|
*
|
|
1117
|
-
* Tag keys
|
|
1124
|
+
* Tag keys cannot be repeated. A tag key can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:" and cannot contain "https\\://" or "http\\://".
|
|
1118
1125
|
*/
|
|
1119
1126
|
tags?: Tag[];
|
|
1120
1127
|
/**
|
|
1121
1128
|
* @remarks
|
|
1122
|
-
*
|
|
1129
|
+
* A list of vSwitch IDs. You can specify 1 to 8 vSwitch IDs.
|
|
1123
1130
|
*
|
|
1124
|
-
* >
|
|
1131
|
+
* > For high availability, select vSwitches in different zones.
|
|
1125
1132
|
*/
|
|
1126
1133
|
vswitchIds?: string[];
|
|
1127
1134
|
static names(): {
|
|
@@ -1138,11 +1145,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1138
1145
|
export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1139
1146
|
/**
|
|
1140
1147
|
* @remarks
|
|
1141
|
-
*
|
|
1148
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1142
1149
|
*
|
|
1143
|
-
* - `true`:
|
|
1150
|
+
* - `true`: enables the cluster.
|
|
1144
1151
|
*
|
|
1145
|
-
* - `false`:
|
|
1152
|
+
* - `false`: disables the cluster.
|
|
1146
1153
|
*
|
|
1147
1154
|
* Default value: `false`.
|
|
1148
1155
|
*
|
|
@@ -1164,12 +1171,12 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1164
1171
|
export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1165
1172
|
/**
|
|
1166
1173
|
* @remarks
|
|
1167
|
-
* The auto scaling
|
|
1174
|
+
* The auto scaling configurations.
|
|
1168
1175
|
*/
|
|
1169
1176
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1170
1177
|
/**
|
|
1171
1178
|
* @remarks
|
|
1172
|
-
*
|
|
1179
|
+
* Specifies whether to run the task in parallel.
|
|
1173
1180
|
*
|
|
1174
1181
|
* @example
|
|
1175
1182
|
* true
|
|
@@ -1177,32 +1184,32 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1177
1184
|
concurrency?: boolean;
|
|
1178
1185
|
/**
|
|
1179
1186
|
* @remarks
|
|
1180
|
-
* The
|
|
1187
|
+
* The Kubernetes-related configurations.
|
|
1181
1188
|
*/
|
|
1182
1189
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1183
1190
|
/**
|
|
1184
1191
|
* @remarks
|
|
1185
|
-
* The managed node pool
|
|
1192
|
+
* The configurations of the managed node pool.
|
|
1186
1193
|
*/
|
|
1187
1194
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1188
1195
|
/**
|
|
1189
1196
|
* @remarks
|
|
1190
|
-
* The node pool
|
|
1197
|
+
* The node pool configurations.
|
|
1191
1198
|
*/
|
|
1192
1199
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1193
1200
|
/**
|
|
1194
1201
|
* @remarks
|
|
1195
|
-
*
|
|
1202
|
+
* The configurations of the node pool scaling group.
|
|
1196
1203
|
*/
|
|
1197
1204
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1198
1205
|
/**
|
|
1199
1206
|
* @remarks
|
|
1200
|
-
* The
|
|
1207
|
+
* The configurations of the Kubernetes cluster for confidential computing.
|
|
1201
1208
|
*/
|
|
1202
1209
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1203
1210
|
/**
|
|
1204
1211
|
* @remarks
|
|
1205
|
-
* Synchronously
|
|
1212
|
+
* Synchronously updates node labels and taints.
|
|
1206
1213
|
*
|
|
1207
1214
|
* @example
|
|
1208
1215
|
* true
|