@alicloud/cs20151215 7.0.3 → 7.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +38 -50
- package/dist/client.js +72 -79
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +174 -649
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +195 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +107 -250
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +128 -209
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +73 -79
- package/src/models/CreateClusterNodePoolRequest.ts +204 -370
- package/src/models/CreateClusterRequest.ts +191 -649
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +147 -209
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +7 -0
|
@@ -9,7 +9,7 @@ import { Taint } from "./Taint";
|
|
|
9
9
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* Specifies whether
|
|
12
|
+
* Specifies whether intelligent management is enabled.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* true
|
|
@@ -29,9 +29,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode exten
|
|
|
29
29
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $dara.Model {
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
33
|
-
*
|
|
34
|
-
* Valid values: [1,100]. Unit: Mbit/s.
|
|
32
|
+
* The peak bandwidth of the EIP.
|
|
35
33
|
*
|
|
36
34
|
* @example
|
|
37
35
|
* 5
|
|
@@ -39,10 +37,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
39
37
|
eipBandwidth?: number;
|
|
40
38
|
/**
|
|
41
39
|
* @remarks
|
|
42
|
-
* The
|
|
40
|
+
* The billing method for EIPs. Valid values:
|
|
43
41
|
*
|
|
44
42
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
45
|
-
* - `PayByTraffic`: pay-by-
|
|
43
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
46
44
|
*
|
|
47
45
|
* @example
|
|
48
46
|
* PayByBandwidth
|
|
@@ -50,13 +48,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
50
48
|
eipInternetChargeType?: string;
|
|
51
49
|
/**
|
|
52
50
|
* @remarks
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 and later use instant node elasticity by default. Clusters earlier than version 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
56
|
-
*
|
|
57
|
-
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count to maintain the node count at the desired number.
|
|
58
|
-
*
|
|
59
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
51
|
+
* Indicates whether auto scaling is enabled. Valid values:
|
|
60
52
|
*
|
|
61
53
|
* @example
|
|
62
54
|
* true
|
|
@@ -64,10 +56,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
64
56
|
enable?: boolean;
|
|
65
57
|
/**
|
|
66
58
|
* @remarks
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* - `true`: Associate an EIP.
|
|
70
|
-
* - `false`: Do not associate an EIP.
|
|
59
|
+
* Indicates whether an EIP is associated. Valid values:
|
|
71
60
|
*
|
|
72
61
|
* @example
|
|
73
62
|
* true
|
|
@@ -75,7 +64,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
75
64
|
isBondEip?: boolean;
|
|
76
65
|
/**
|
|
77
66
|
* @remarks
|
|
78
|
-
* The maximum number of
|
|
67
|
+
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances.
|
|
79
68
|
*
|
|
80
69
|
* @example
|
|
81
70
|
* 10
|
|
@@ -83,7 +72,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
83
72
|
maxInstances?: number;
|
|
84
73
|
/**
|
|
85
74
|
* @remarks
|
|
86
|
-
* The minimum number of
|
|
75
|
+
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances.
|
|
87
76
|
*
|
|
88
77
|
* @example
|
|
89
78
|
* 2
|
|
@@ -91,12 +80,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
91
80
|
minInstances?: number;
|
|
92
81
|
/**
|
|
93
82
|
* @remarks
|
|
94
|
-
* The auto scaling type,
|
|
95
|
-
*
|
|
96
|
-
* - `cpu`: regular instance type.
|
|
97
|
-
* - `gpu`: GPU instance type.
|
|
98
|
-
* - `gpushare`: GPU sharing type.
|
|
99
|
-
* - `spot`: spot instance type.
|
|
83
|
+
* The auto scaling type, classified by instance type. Valid values:
|
|
100
84
|
*
|
|
101
85
|
* @example
|
|
102
86
|
* cpu
|
|
@@ -116,7 +100,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
116
100
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends $dara.Model {
|
|
117
101
|
/**
|
|
118
102
|
* @remarks
|
|
119
|
-
* Specifies whether
|
|
103
|
+
* Specifies whether automatic node addition is enabled for the Lingjun node pool (not effective).
|
|
120
104
|
*/
|
|
121
105
|
autoAttachEnabled?: boolean;
|
|
122
106
|
/**
|
|
@@ -137,7 +121,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup
|
|
|
137
121
|
groupId?: string;
|
|
138
122
|
/**
|
|
139
123
|
* @remarks
|
|
140
|
-
* The
|
|
124
|
+
* The Worker RAM role used by the Lingjun node pool.
|
|
141
125
|
*/
|
|
142
126
|
workerRamRoleName?: string;
|
|
143
127
|
static names(): {
|
|
@@ -154,9 +138,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup
|
|
|
154
138
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig extends $dara.Model {
|
|
155
139
|
/**
|
|
156
140
|
* @remarks
|
|
157
|
-
* [
|
|
158
|
-
*
|
|
159
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
141
|
+
* **[Deprecated]**
|
|
160
142
|
*
|
|
161
143
|
* @example
|
|
162
144
|
* 10
|
|
@@ -164,9 +146,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
164
146
|
bandwidth?: number;
|
|
165
147
|
/**
|
|
166
148
|
* @remarks
|
|
167
|
-
* [
|
|
168
|
-
*
|
|
169
|
-
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
149
|
+
* **[Deprecated]**
|
|
170
150
|
*
|
|
171
151
|
* @example
|
|
172
152
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -174,9 +154,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
174
154
|
ccnId?: string;
|
|
175
155
|
/**
|
|
176
156
|
* @remarks
|
|
177
|
-
* [
|
|
178
|
-
*
|
|
179
|
-
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
157
|
+
* **[Deprecated]**
|
|
180
158
|
*
|
|
181
159
|
* @example
|
|
182
160
|
* cn-shanghai
|
|
@@ -184,9 +162,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
184
162
|
ccnRegionId?: string;
|
|
185
163
|
/**
|
|
186
164
|
* @remarks
|
|
187
|
-
* [
|
|
188
|
-
*
|
|
189
|
-
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
165
|
+
* **[Deprecated]**
|
|
190
166
|
*
|
|
191
167
|
* @example
|
|
192
168
|
* cen-ey9k9nfhz0f*******
|
|
@@ -194,9 +170,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
194
170
|
cenId?: string;
|
|
195
171
|
/**
|
|
196
172
|
* @remarks
|
|
197
|
-
* [
|
|
198
|
-
*
|
|
199
|
-
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
173
|
+
* **[Deprecated]**
|
|
200
174
|
*
|
|
201
175
|
* @example
|
|
202
176
|
* 1
|
|
@@ -218,19 +192,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
218
192
|
* @remarks
|
|
219
193
|
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
220
194
|
*
|
|
221
|
-
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
222
|
-
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
223
|
-
*
|
|
224
195
|
* @example
|
|
225
196
|
* true
|
|
226
197
|
*/
|
|
227
198
|
cmsEnabled?: boolean;
|
|
228
199
|
/**
|
|
229
200
|
* @remarks
|
|
230
|
-
* The node CPU management policy. The following two policies are supported for
|
|
231
|
-
*
|
|
232
|
-
* - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
233
|
-
* - `none`: enables the existing default CPU affinity scheme.
|
|
201
|
+
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
234
202
|
*
|
|
235
203
|
* @example
|
|
236
204
|
* none
|
|
@@ -245,13 +213,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
245
213
|
* @remarks
|
|
246
214
|
* The custom node name.
|
|
247
215
|
*
|
|
248
|
-
* The node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
249
|
-
*
|
|
250
|
-
* - The prefix and suffix can each consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit.
|
|
251
|
-
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
|
|
252
|
-
*
|
|
253
|
-
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP address segment length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
254
|
-
*
|
|
255
216
|
* @example
|
|
256
217
|
* aliyun.com192.XX.YY.55test
|
|
257
218
|
*/
|
|
@@ -266,11 +227,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
266
227
|
preUserData?: string;
|
|
267
228
|
/**
|
|
268
229
|
* @remarks
|
|
269
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
270
|
-
*
|
|
271
|
-
* - containerd: recommended. Supports all cluster versions.
|
|
272
|
-
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
273
|
-
* - docker: no longer maintained. Supports cluster versions 1.22 and earlier.
|
|
230
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
274
231
|
*
|
|
275
232
|
* @example
|
|
276
233
|
* containerd
|
|
@@ -293,10 +250,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
293
250
|
* @remarks
|
|
294
251
|
* Specifies whether scaled-out nodes are unschedulable.
|
|
295
252
|
*
|
|
296
|
-
* - true: unschedulable.
|
|
297
|
-
*
|
|
298
|
-
* - false: schedulable.
|
|
299
|
-
*
|
|
300
253
|
* @example
|
|
301
254
|
* true
|
|
302
255
|
*/
|
|
@@ -323,7 +276,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
323
276
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
|
|
324
277
|
/**
|
|
325
278
|
* @remarks
|
|
326
|
-
*
|
|
279
|
+
* Specifies whether manual approval is required for node repair.
|
|
327
280
|
*
|
|
328
281
|
* @example
|
|
329
282
|
* false
|
|
@@ -339,10 +292,23 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
339
292
|
autoRepairPolicyId?: string;
|
|
340
293
|
/**
|
|
341
294
|
* @remarks
|
|
342
|
-
*
|
|
295
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this specifies the maximum number or proportion of nodes that can be repaired simultaneously.
|
|
343
296
|
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
297
|
+
* @example
|
|
298
|
+
* 1
|
|
299
|
+
*/
|
|
300
|
+
maxParallelRepairingNodes?: string;
|
|
301
|
+
/**
|
|
302
|
+
* @remarks
|
|
303
|
+
* The self-healing circuit breaker threshold. When the number or proportion of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions.
|
|
304
|
+
*
|
|
305
|
+
* @example
|
|
306
|
+
* 10%
|
|
307
|
+
*/
|
|
308
|
+
maxUnhealthyNodesThreshold?: string;
|
|
309
|
+
/**
|
|
310
|
+
* @remarks
|
|
311
|
+
* Specifies whether node restart is allowed. This parameter takes effect only when `auto_repair=true`.
|
|
346
312
|
*
|
|
347
313
|
* @example
|
|
348
314
|
* true
|
|
@@ -362,9 +328,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
362
328
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
363
329
|
/**
|
|
364
330
|
* @remarks
|
|
365
|
-
* Specifies whether automatic kubelet upgrade
|
|
366
|
-
* - `true`: Allow automatic kubelet upgrade.
|
|
367
|
-
* - `false`: Do not allow automatic kubelet upgrade.
|
|
331
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
368
332
|
*
|
|
369
333
|
* @example
|
|
370
334
|
* true
|
|
@@ -392,9 +356,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
392
356
|
excludePackages?: string;
|
|
393
357
|
/**
|
|
394
358
|
* @remarks
|
|
395
|
-
* Specifies whether
|
|
396
|
-
* - `true`: Allow node restart.
|
|
397
|
-
* - `false`: Do not allow node restart.
|
|
359
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
398
360
|
*
|
|
399
361
|
* @example
|
|
400
362
|
* true
|
|
@@ -402,7 +364,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
402
364
|
restartNode?: boolean;
|
|
403
365
|
/**
|
|
404
366
|
* @remarks
|
|
405
|
-
* The vulnerability levels allowed for automatic
|
|
367
|
+
* The vulnerability levels that are allowed for automatic fixing, separated by commas.
|
|
406
368
|
*
|
|
407
369
|
* - `asap`: high
|
|
408
370
|
* - `later`: medium
|
|
@@ -426,10 +388,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
426
388
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
|
|
427
389
|
/**
|
|
428
390
|
* @remarks
|
|
429
|
-
* Specifies whether to enable
|
|
430
|
-
*
|
|
431
|
-
* - `true`: Enable auto upgrade.
|
|
432
|
-
* - `false`: Disable auto upgrade.
|
|
391
|
+
* Specifies whether to enable automatic upgrade. Valid values:
|
|
433
392
|
*
|
|
434
393
|
* @example
|
|
435
394
|
* true
|
|
@@ -439,15 +398,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
439
398
|
* @remarks
|
|
440
399
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
441
400
|
*
|
|
442
|
-
* Default value: 1.
|
|
443
|
-
*
|
|
444
401
|
* @example
|
|
445
402
|
* 1
|
|
446
403
|
*/
|
|
447
404
|
maxUnavailable?: number;
|
|
448
405
|
/**
|
|
449
406
|
* @remarks
|
|
450
|
-
* The number of extra nodes.
|
|
407
|
+
* The number of extra nodes. You must set this parameter or `surge_percentage`.
|
|
451
408
|
*
|
|
452
409
|
* @example
|
|
453
410
|
* 5
|
|
@@ -455,9 +412,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
455
412
|
surge?: number;
|
|
456
413
|
/**
|
|
457
414
|
* @remarks
|
|
458
|
-
* The percentage of
|
|
415
|
+
* The percentage of additional nodes. This parameter is mutually exclusive with `surge`.
|
|
459
416
|
*
|
|
460
|
-
*
|
|
417
|
+
* Additional nodes = surge percentage × number of existing nodes. For example, if the surge percentage is set to 50% and there are 6 existing nodes, the number of additional nodes = 50% × 6, which means 3 additional nodes are created.
|
|
461
418
|
*
|
|
462
419
|
* @example
|
|
463
420
|
* 50
|
|
@@ -477,15 +434,15 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
477
434
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Model {
|
|
478
435
|
/**
|
|
479
436
|
* @remarks
|
|
480
|
-
*
|
|
437
|
+
* Specifies whether to enable node self-healing ECS fault detection.
|
|
481
438
|
*/
|
|
482
439
|
autoFaultDiagnosis?: boolean;
|
|
483
440
|
/**
|
|
484
441
|
* @remarks
|
|
485
|
-
* Specifies whether to enable
|
|
442
|
+
* Specifies whether to enable automatic repair. This parameter takes effect only when `enable=true`.
|
|
486
443
|
*
|
|
487
|
-
* - `true`:
|
|
488
|
-
* - `false`:
|
|
444
|
+
* - `true`: Automatic repair is enabled.
|
|
445
|
+
* - `false`: Automatic repair is disabled.
|
|
489
446
|
*
|
|
490
447
|
* @example
|
|
491
448
|
* true
|
|
@@ -499,8 +456,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
499
456
|
/**
|
|
500
457
|
* @remarks
|
|
501
458
|
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
502
|
-
* - `true`: Enable auto upgrade.
|
|
503
|
-
* - `false`: Disable auto upgrade.
|
|
504
459
|
*
|
|
505
460
|
* @example
|
|
506
461
|
* true
|
|
@@ -508,15 +463,15 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
508
463
|
autoUpgrade?: boolean;
|
|
509
464
|
/**
|
|
510
465
|
* @remarks
|
|
511
|
-
* The
|
|
466
|
+
* The automatic upgrade policy.
|
|
512
467
|
*/
|
|
513
468
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
514
469
|
/**
|
|
515
470
|
* @remarks
|
|
516
|
-
* Specifies whether to
|
|
471
|
+
* Specifies whether to automatically fix CVEs. This parameter takes effect only when `enable=true`.
|
|
517
472
|
*
|
|
518
|
-
* - `true`:
|
|
519
|
-
* - `false`:
|
|
473
|
+
* - `true`: Automatically fix CVEs.
|
|
474
|
+
* - `false`: Do not automatically fix CVEs.
|
|
520
475
|
*
|
|
521
476
|
* @example
|
|
522
477
|
* true
|
|
@@ -527,13 +482,14 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
527
482
|
* The automatic CVE fix policy.
|
|
528
483
|
*/
|
|
529
484
|
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
485
|
+
/**
|
|
486
|
+
* @remarks
|
|
487
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Regular node pools do not support this feature.
|
|
488
|
+
*/
|
|
530
489
|
driftEnabled?: boolean;
|
|
531
490
|
/**
|
|
532
491
|
* @remarks
|
|
533
|
-
*
|
|
534
|
-
*
|
|
535
|
-
* - `true`: Enable the managed node pool.
|
|
536
|
-
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
492
|
+
* Indicates whether the managed node pool is enabled. Valid values:
|
|
537
493
|
*
|
|
538
494
|
* @example
|
|
539
495
|
* true
|
|
@@ -541,7 +497,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
541
497
|
enable?: boolean;
|
|
542
498
|
/**
|
|
543
499
|
* @remarks
|
|
544
|
-
* The
|
|
500
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
545
501
|
*/
|
|
546
502
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
547
503
|
static names(): {
|
|
@@ -558,7 +514,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
558
514
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
559
515
|
/**
|
|
560
516
|
* @remarks
|
|
561
|
-
* The custom configuration
|
|
517
|
+
* The node component custom configuration.
|
|
562
518
|
*
|
|
563
519
|
* @example
|
|
564
520
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -585,7 +541,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents
|
|
|
585
541
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
586
542
|
/**
|
|
587
543
|
* @remarks
|
|
588
|
-
* The custom configuration revision number
|
|
544
|
+
* The node component custom configuration revision number.
|
|
589
545
|
*
|
|
590
546
|
* @example
|
|
591
547
|
* 1
|
|
@@ -668,10 +624,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
668
624
|
created?: string;
|
|
669
625
|
/**
|
|
670
626
|
* @remarks
|
|
671
|
-
* Indicates whether this is the default node pool.
|
|
672
|
-
*
|
|
673
|
-
* - `true`: Default node pool.
|
|
674
|
-
* - `false`: Non-default node pool.
|
|
627
|
+
* Indicates whether this is the default node pool. Typically, a cluster has only one default node pool. Valid values:
|
|
675
628
|
*
|
|
676
629
|
* @example
|
|
677
630
|
* true
|
|
@@ -713,10 +666,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
713
666
|
* @remarks
|
|
714
667
|
* The node pool type. Valid values:
|
|
715
668
|
*
|
|
716
|
-
* - `ess`: standard node pool (includes managed features and elastic scaling).
|
|
717
|
-
* - `edge`: edge node pool.
|
|
718
|
-
* - `lingjun`: Lingjun node pool.
|
|
719
|
-
*
|
|
720
669
|
* @example
|
|
721
670
|
* ess
|
|
722
671
|
*/
|
|
@@ -740,6 +689,26 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
740
689
|
[key: string]: any;
|
|
741
690
|
});
|
|
742
691
|
}
|
|
692
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions extends $dara.Model {
|
|
693
|
+
/**
|
|
694
|
+
* @remarks
|
|
695
|
+
* Specifies whether nested virtualization is enabled. Valid values:
|
|
696
|
+
*
|
|
697
|
+
* @example
|
|
698
|
+
* enabled
|
|
699
|
+
*/
|
|
700
|
+
nestedVirtualization?: string;
|
|
701
|
+
static names(): {
|
|
702
|
+
[key: string]: string;
|
|
703
|
+
};
|
|
704
|
+
static types(): {
|
|
705
|
+
[key: string]: any;
|
|
706
|
+
};
|
|
707
|
+
validate(): void;
|
|
708
|
+
constructor(map?: {
|
|
709
|
+
[key: string]: any;
|
|
710
|
+
});
|
|
711
|
+
}
|
|
743
712
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
744
713
|
/**
|
|
745
714
|
* @remarks
|
|
@@ -751,13 +720,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPr
|
|
|
751
720
|
id?: string;
|
|
752
721
|
/**
|
|
753
722
|
* @remarks
|
|
754
|
-
* The private node pool
|
|
723
|
+
* The type of the private node pool. The private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool capacity is generated for instances to select during startup. Valid values:
|
|
755
724
|
*
|
|
756
|
-
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no
|
|
725
|
+
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no eligible private pool capacity is available, public pool resources are used to start the instance.
|
|
757
726
|
*
|
|
758
|
-
* - `Target`: specified mode. Uses the specified private pool capacity to
|
|
727
|
+
* - `Target`: specified mode. Uses the specified private pool capacity to start the instance. If the private pool capacity is unavailable, the instance fails to start.
|
|
759
728
|
*
|
|
760
|
-
* - `None`: not used mode.
|
|
729
|
+
* - `None`: not used mode. The instance startup does not use private pool capacity.
|
|
761
730
|
*
|
|
762
731
|
* @example
|
|
763
732
|
* Open
|
|
@@ -783,9 +752,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupRe
|
|
|
783
752
|
/**
|
|
784
753
|
* @remarks
|
|
785
754
|
* The resource pool policy used when creating instances. Valid values:
|
|
786
|
-
* PrivatePoolFirst: private pool first.
|
|
787
|
-
* PrivatePoolOnly: private pool only.
|
|
788
|
-
* None: no resource pool policy.
|
|
789
755
|
*
|
|
790
756
|
* @example
|
|
791
757
|
* PrivatePoolFirst
|
|
@@ -813,7 +779,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSp
|
|
|
813
779
|
instanceType?: string;
|
|
814
780
|
/**
|
|
815
781
|
* @remarks
|
|
816
|
-
* The
|
|
782
|
+
* The price limit for a single instance.
|
|
817
783
|
*
|
|
818
784
|
* <props="china">Unit: CNY/hour.
|
|
819
785
|
*
|
|
@@ -837,10 +803,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSp
|
|
|
837
803
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $dara.Model {
|
|
838
804
|
/**
|
|
839
805
|
* @remarks
|
|
840
|
-
* Specifies whether auto-renewal
|
|
841
|
-
*
|
|
842
|
-
* - `true`: Enable auto-renewal.
|
|
843
|
-
* - `false`: Disable auto-renewal.
|
|
806
|
+
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
844
807
|
*
|
|
845
808
|
* @example
|
|
846
809
|
* false
|
|
@@ -849,8 +812,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
849
812
|
/**
|
|
850
813
|
* @remarks
|
|
851
814
|
* The duration of each auto-renewal cycle. Valid values:
|
|
852
|
-
* - When PeriodUnit=Week: 1, 2, 3.
|
|
853
|
-
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
854
815
|
*
|
|
855
816
|
* @example
|
|
856
817
|
* 0
|
|
@@ -858,9 +819,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
858
819
|
autoRenewPeriod?: number;
|
|
859
820
|
/**
|
|
860
821
|
* @remarks
|
|
861
|
-
* [
|
|
862
|
-
*
|
|
863
|
-
* Use the security_hardening_os parameter instead.
|
|
822
|
+
* **[Deprecated]**
|
|
864
823
|
*
|
|
865
824
|
* @example
|
|
866
825
|
* false
|
|
@@ -870,10 +829,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
870
829
|
cisEnabled?: boolean;
|
|
871
830
|
/**
|
|
872
831
|
* @remarks
|
|
873
|
-
*
|
|
832
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
874
833
|
*
|
|
875
|
-
* - `true`:
|
|
876
|
-
* - `false`:
|
|
834
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
835
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
877
836
|
*
|
|
878
837
|
* @example
|
|
879
838
|
* true
|
|
@@ -881,7 +840,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
881
840
|
compensateWithOnDemand?: boolean;
|
|
882
841
|
/**
|
|
883
842
|
* @remarks
|
|
884
|
-
* The
|
|
843
|
+
* The CPU configuration options.
|
|
844
|
+
*/
|
|
845
|
+
cpuOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions;
|
|
846
|
+
/**
|
|
847
|
+
* @remarks
|
|
848
|
+
* The combination of configurations for node data cloud disks, such as disk type and size.
|
|
885
849
|
*/
|
|
886
850
|
dataDisks?: DataDisk[];
|
|
887
851
|
/**
|
|
@@ -905,6 +869,14 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
905
869
|
* The block device initialization configuration.
|
|
906
870
|
*/
|
|
907
871
|
diskInit?: DiskInit[];
|
|
872
|
+
/**
|
|
873
|
+
* @remarks
|
|
874
|
+
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the maximum number of high-density cloud disks supported by the instance type.
|
|
875
|
+
*
|
|
876
|
+
* @example
|
|
877
|
+
* false
|
|
878
|
+
*/
|
|
879
|
+
enableHighDensityMode?: boolean;
|
|
908
880
|
/**
|
|
909
881
|
* @remarks
|
|
910
882
|
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system.
|
|
@@ -916,16 +888,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
916
888
|
/**
|
|
917
889
|
* @remarks
|
|
918
890
|
* The operating system image type.
|
|
919
|
-
* - `AliyunLinux`: Alinux2 image.
|
|
920
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
921
|
-
* - `AliyunLinux3`: Alinux3 image.
|
|
922
|
-
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
923
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
924
|
-
* - `CentOS`: CentOS image.
|
|
925
|
-
* - `Windows`: Windows image.
|
|
926
|
-
* - `WindowsCore`: WindowsCore image.
|
|
927
|
-
* - `ContainerOS`: container-optimized image.
|
|
928
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
929
891
|
*
|
|
930
892
|
* @example
|
|
931
893
|
* AliyunLinux3
|
|
@@ -933,7 +895,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
933
895
|
imageType?: string;
|
|
934
896
|
/**
|
|
935
897
|
* @remarks
|
|
936
|
-
* The billing
|
|
898
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
937
899
|
*
|
|
938
900
|
* - `PrePaid`: subscription.
|
|
939
901
|
* - `PostPaid`: pay-as-you-go.
|
|
@@ -949,7 +911,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
949
911
|
instancePatterns?: InstancePatterns[];
|
|
950
912
|
/**
|
|
951
913
|
* @remarks
|
|
952
|
-
* The list of node instance types. You can select multiple instance types as alternatives. During node creation, the system attempts to purchase instances starting from the first specification until successful. The
|
|
914
|
+
* The list of node instance types. You can select multiple instance types as alternatives. During node creation, the system attempts to purchase instances starting from the first specification until successful. The actual purchased instance type may vary depending on inventory availability.
|
|
953
915
|
*
|
|
954
916
|
* @example
|
|
955
917
|
* ecs.n4.large
|
|
@@ -957,10 +919,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
957
919
|
instanceTypes?: string[];
|
|
958
920
|
/**
|
|
959
921
|
* @remarks
|
|
960
|
-
* The billing method for the public IP
|
|
922
|
+
* The billing method for the public IP addresses of nodes.
|
|
961
923
|
*
|
|
962
|
-
*
|
|
963
|
-
* -
|
|
924
|
+
* Valid values:
|
|
925
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
926
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
964
927
|
*
|
|
965
928
|
* @example
|
|
966
929
|
* PayByBandwidth
|
|
@@ -968,7 +931,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
968
931
|
internetChargeType?: string;
|
|
969
932
|
/**
|
|
970
933
|
* @remarks
|
|
971
|
-
* The maximum outbound bandwidth for
|
|
934
|
+
* The maximum outbound bandwidth for node public IP addresses, in Mbps (Mega bit per second). Valid values: 1 to 100.
|
|
972
935
|
*
|
|
973
936
|
* @example
|
|
974
937
|
* 10
|
|
@@ -976,9 +939,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
976
939
|
internetMaxBandwidthOut?: number;
|
|
977
940
|
/**
|
|
978
941
|
* @remarks
|
|
979
|
-
* The key pair
|
|
942
|
+
* The name of the key pair. You must specify either this parameter or `login_password`.
|
|
980
943
|
*
|
|
981
|
-
*
|
|
944
|
+
* When the node pool is a managed node pool, only `key_pair` is supported.
|
|
982
945
|
*
|
|
983
946
|
* @example
|
|
984
947
|
* pro-nodepool
|
|
@@ -986,12 +949,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
986
949
|
keyPair?: string;
|
|
987
950
|
/**
|
|
988
951
|
* @remarks
|
|
989
|
-
*
|
|
952
|
+
* Indicates whether the scaled-out ECS instances use a non-root user for logon.
|
|
990
953
|
*
|
|
991
954
|
* - true: Log on as a non-root user (ecs-user).
|
|
992
955
|
*
|
|
993
956
|
* - false: Log on as the root user.
|
|
994
|
-
* [_single.resp.200.props.nodepools.items.scaling_
|
|
995
957
|
*
|
|
996
958
|
* @example
|
|
997
959
|
* true
|
|
@@ -999,9 +961,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
999
961
|
loginAsNonRoot?: boolean;
|
|
1000
962
|
/**
|
|
1001
963
|
* @remarks
|
|
1002
|
-
* The SSH
|
|
1003
|
-
*
|
|
1004
|
-
* For security purposes, logon password is encrypted in query results.
|
|
964
|
+
* The SSH logon password. Specify either 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.
|
|
1005
965
|
*
|
|
1006
966
|
* @example
|
|
1007
967
|
* ******
|
|
@@ -1011,13 +971,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1011
971
|
* @remarks
|
|
1012
972
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1013
973
|
*
|
|
1014
|
-
* - `PRIORITY`: Scales based on the
|
|
974
|
+
* - `PRIORITY`: Scales ECS instances based on the virtual switches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the highest-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1015
975
|
*
|
|
1016
|
-
* - `COST_OPTIMIZED`:
|
|
976
|
+
* - `COST_OPTIMIZED`: Attempts to create ECS instances in ascending order of vCPU unit price. When the scaling configuration specifies multiple instance types with the spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1017
977
|
*
|
|
1018
|
-
* >`COST_OPTIMIZED` takes effect only when
|
|
978
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1019
979
|
*
|
|
1020
|
-
* - `BALANCE`:
|
|
980
|
+
* - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can use the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1021
981
|
*
|
|
1022
982
|
* @example
|
|
1023
983
|
* COST_OPTIMIZED
|
|
@@ -1025,7 +985,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1025
985
|
multiAzPolicy?: string;
|
|
1026
986
|
/**
|
|
1027
987
|
* @remarks
|
|
1028
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\].
|
|
988
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are preferentially created.
|
|
1029
989
|
*
|
|
1030
990
|
* @example
|
|
1031
991
|
* 0
|
|
@@ -1033,7 +993,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1033
993
|
onDemandBaseCapacity?: number;
|
|
1034
994
|
/**
|
|
1035
995
|
* @remarks
|
|
1036
|
-
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
996
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) required in the scaling group. Valid values: [0,100\\].
|
|
1037
997
|
*
|
|
1038
998
|
* @example
|
|
1039
999
|
* 20
|
|
@@ -1043,19 +1003,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1043
1003
|
* @remarks
|
|
1044
1004
|
* The subscription duration of nodes. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1045
1005
|
*
|
|
1046
|
-
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1047
|
-
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1048
|
-
*
|
|
1049
1006
|
* @example
|
|
1050
1007
|
* 1
|
|
1051
1008
|
*/
|
|
1052
1009
|
period?: number;
|
|
1053
1010
|
/**
|
|
1054
1011
|
* @remarks
|
|
1055
|
-
* The subscription period
|
|
1056
|
-
*
|
|
1057
|
-
* - `Month`: month.
|
|
1058
|
-
* - `Week`: week.
|
|
1012
|
+
* The unit of the subscription period. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1059
1013
|
*
|
|
1060
1014
|
* @example
|
|
1061
1015
|
* Month
|
|
@@ -1063,14 +1017,14 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1063
1017
|
periodUnit?: string;
|
|
1064
1018
|
/**
|
|
1065
1019
|
* @remarks
|
|
1066
|
-
* [
|
|
1020
|
+
* **[Deprecated]**
|
|
1067
1021
|
*
|
|
1068
1022
|
* The operating system distribution. Valid values:
|
|
1069
1023
|
*
|
|
1070
|
-
* -
|
|
1071
|
-
* -
|
|
1072
|
-
* -
|
|
1073
|
-
* -
|
|
1024
|
+
* - CentOS
|
|
1025
|
+
* - AliyunLinux
|
|
1026
|
+
* - Windows
|
|
1027
|
+
* - WindowsCore
|
|
1074
1028
|
*
|
|
1075
1029
|
* @example
|
|
1076
1030
|
* AliyunLinux
|
|
@@ -1099,12 +1053,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1099
1053
|
ramRoleName?: string;
|
|
1100
1054
|
/**
|
|
1101
1055
|
* @remarks
|
|
1102
|
-
* If RDS instances are specified, the ECS instances in the cluster
|
|
1056
|
+
* If RDS instances are specified, the ECS instances in the cluster nodes are automatically added to the RDS whitelist.
|
|
1103
1057
|
*/
|
|
1104
1058
|
rdsInstances?: string[];
|
|
1105
1059
|
/**
|
|
1106
1060
|
* @remarks
|
|
1107
|
-
* The resource
|
|
1061
|
+
* The resource pools and resource pool policies used when creating instances.
|
|
1108
1062
|
*/
|
|
1109
1063
|
resourcePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePoolOptions;
|
|
1110
1064
|
/**
|
|
@@ -1117,10 +1071,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1117
1071
|
scalingGroupId?: string;
|
|
1118
1072
|
/**
|
|
1119
1073
|
* @remarks
|
|
1120
|
-
* The scaling group
|
|
1074
|
+
* The scaling mode of the scaling group. Valid values:
|
|
1121
1075
|
*
|
|
1122
|
-
* - `release`: standard mode.
|
|
1123
|
-
* - `recycle`: swift mode.
|
|
1076
|
+
* - `release`: standard mode. Elastic Compute Service (ECS) instances are created and released based on resource usage.
|
|
1077
|
+
* - `recycle`: swift mode. ECS instances are created, stopped, and started for scaling, which improves the speed of subsequent scaling events. In this mode, stopped instances are not charged for compute resources but are still charged for storage resources, except for instances that use local disks.
|
|
1124
1078
|
*
|
|
1125
1079
|
* @example
|
|
1126
1080
|
* release
|
|
@@ -1128,9 +1082,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1128
1082
|
scalingPolicy?: string;
|
|
1129
1083
|
/**
|
|
1130
1084
|
* @remarks
|
|
1131
|
-
* [
|
|
1085
|
+
* **[Deprecated]**
|
|
1132
1086
|
*
|
|
1133
|
-
* The security group ID of the node pool. When the node pool is associated with multiple security groups, this is the first value in
|
|
1087
|
+
* The security group ID of the node pool. When the node pool is associated with multiple security groups, this is the first value in security_group_ids.
|
|
1134
1088
|
*
|
|
1135
1089
|
* @example
|
|
1136
1090
|
* sg-2ze1iuk12m2sb4c4****
|
|
@@ -1143,12 +1097,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1143
1097
|
securityGroupIds?: string[];
|
|
1144
1098
|
/**
|
|
1145
1099
|
* @remarks
|
|
1146
|
-
*
|
|
1147
|
-
*
|
|
1148
|
-
* - `true`: Enabled.
|
|
1149
|
-
* - `false`: Disabled.
|
|
1150
|
-
*
|
|
1151
|
-
* Default value: `false`.
|
|
1100
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1152
1101
|
*
|
|
1153
1102
|
* @example
|
|
1154
1103
|
* false
|
|
@@ -1156,7 +1105,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1156
1105
|
securityHardeningOs?: boolean;
|
|
1157
1106
|
/**
|
|
1158
1107
|
* @remarks
|
|
1159
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1108
|
+
* Specifies whether to enable MLPS 2.0 security hardening. MLPS 2.0 security hardening can be enabled only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1160
1109
|
*
|
|
1161
1110
|
* @example
|
|
1162
1111
|
* false
|
|
@@ -1164,7 +1113,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1164
1113
|
socEnabled?: boolean;
|
|
1165
1114
|
/**
|
|
1166
1115
|
* @remarks
|
|
1167
|
-
* The number of
|
|
1116
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1168
1117
|
*
|
|
1169
1118
|
* @example
|
|
1170
1119
|
* 5
|
|
@@ -1172,10 +1121,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1172
1121
|
spotInstancePools?: number;
|
|
1173
1122
|
/**
|
|
1174
1123
|
* @remarks
|
|
1175
|
-
* Specifies whether to enable
|
|
1176
|
-
*
|
|
1177
|
-
* - `true`: Enabled.
|
|
1178
|
-
* - `false`: Disabled.
|
|
1124
|
+
* Specifies whether to enable supplementation of spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1179
1125
|
*
|
|
1180
1126
|
* @example
|
|
1181
1127
|
* false
|
|
@@ -1183,17 +1129,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1183
1129
|
spotInstanceRemedy?: boolean;
|
|
1184
1130
|
/**
|
|
1185
1131
|
* @remarks
|
|
1186
|
-
* The
|
|
1132
|
+
* The price limit configurations for spot instances.
|
|
1187
1133
|
*/
|
|
1188
1134
|
spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
|
|
1189
1135
|
/**
|
|
1190
1136
|
* @remarks
|
|
1191
|
-
* The spot instance
|
|
1192
|
-
* - NoSpot: non-spot instance.
|
|
1193
|
-
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1194
|
-
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1195
|
-
*
|
|
1196
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1137
|
+
* The type of spot instance. Valid values:
|
|
1197
1138
|
*
|
|
1198
1139
|
* @example
|
|
1199
1140
|
* NoSpot
|
|
@@ -1201,11 +1142,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1201
1142
|
spotStrategy?: string;
|
|
1202
1143
|
/**
|
|
1203
1144
|
* @remarks
|
|
1204
|
-
* Specifies whether burst (performance burst)
|
|
1205
|
-
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure until the workload stabilizes.
|
|
1206
|
-
* - false: Disabled.
|
|
1207
|
-
*
|
|
1208
|
-
* 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).
|
|
1145
|
+
* Specifies whether to enable burst (performance burst) for the system cloud disk. Valid values:
|
|
1209
1146
|
*
|
|
1210
1147
|
* @example
|
|
1211
1148
|
* true
|
|
@@ -1213,17 +1150,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1213
1150
|
systemDiskBurstingEnabled?: boolean;
|
|
1214
1151
|
/**
|
|
1215
1152
|
* @remarks
|
|
1216
|
-
* The multiple system cloud disk
|
|
1153
|
+
* The multiple disk types for the system cloud disk. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk.
|
|
1217
1154
|
*/
|
|
1218
1155
|
systemDiskCategories?: string[];
|
|
1219
1156
|
/**
|
|
1220
1157
|
* @remarks
|
|
1221
|
-
* The
|
|
1222
|
-
* - `cloud_efficiency`: ultra cloud disk.
|
|
1223
|
-
* - `cloud_ssd`: standard SSD.
|
|
1224
|
-
* - `cloud_essd`: ESSD.
|
|
1225
|
-
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1226
|
-
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1158
|
+
* The type of the system cloud disk. Valid values:
|
|
1227
1159
|
*
|
|
1228
1160
|
* @example
|
|
1229
1161
|
* cloud_efficiency
|
|
@@ -1231,7 +1163,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1231
1163
|
systemDiskCategory?: string;
|
|
1232
1164
|
/**
|
|
1233
1165
|
* @remarks
|
|
1234
|
-
* The encryption algorithm used
|
|
1166
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1235
1167
|
*
|
|
1236
1168
|
* @example
|
|
1237
1169
|
* aes-256
|
|
@@ -1239,10 +1171,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1239
1171
|
systemDiskEncryptAlgorithm?: string;
|
|
1240
1172
|
/**
|
|
1241
1173
|
* @remarks
|
|
1242
|
-
* Specifies whether the system cloud disk
|
|
1243
|
-
*
|
|
1244
|
-
* - true: Encrypted.
|
|
1245
|
-
* - false: Not encrypted.
|
|
1174
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1246
1175
|
*
|
|
1247
1176
|
* @example
|
|
1248
1177
|
* false
|
|
@@ -1250,7 +1179,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1250
1179
|
systemDiskEncrypted?: boolean;
|
|
1251
1180
|
/**
|
|
1252
1181
|
* @remarks
|
|
1253
|
-
* The KMS key ID used
|
|
1182
|
+
* The KMS key ID used by the system cloud disk.
|
|
1254
1183
|
*
|
|
1255
1184
|
* @example
|
|
1256
1185
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1258,11 +1187,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1258
1187
|
systemDiskKmsKeyId?: string;
|
|
1259
1188
|
/**
|
|
1260
1189
|
* @remarks
|
|
1261
|
-
* The performance level of the
|
|
1262
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1263
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1264
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1265
|
-
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1190
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1266
1191
|
*
|
|
1267
1192
|
* @example
|
|
1268
1193
|
* PL1
|
|
@@ -1270,7 +1195,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1270
1195
|
systemDiskPerformanceLevel?: string;
|
|
1271
1196
|
/**
|
|
1272
1197
|
* @remarks
|
|
1273
|
-
* The provisioned read/write IOPS
|
|
1198
|
+
* The provisioned read/write IOPS of the system cloud disk. This parameter is configured when the disk type is cloud_auto.
|
|
1274
1199
|
*
|
|
1275
1200
|
* @example
|
|
1276
1201
|
* 1000
|
|
@@ -1278,9 +1203,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1278
1203
|
systemDiskProvisionedIops?: number;
|
|
1279
1204
|
/**
|
|
1280
1205
|
* @remarks
|
|
1281
|
-
* The
|
|
1282
|
-
*
|
|
1283
|
-
* Valid values: [20,2048\\].
|
|
1206
|
+
* The size of the system cloud disk, in GiB.
|
|
1284
1207
|
*
|
|
1285
1208
|
* @example
|
|
1286
1209
|
* 120
|
|
@@ -1288,7 +1211,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1288
1211
|
systemDiskSize?: number;
|
|
1289
1212
|
/**
|
|
1290
1213
|
* @remarks
|
|
1291
|
-
* The system cloud disk
|
|
1214
|
+
* The snapshot policy for the system cloud disk.
|
|
1292
1215
|
*
|
|
1293
1216
|
* @example
|
|
1294
1217
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1366,13 +1289,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends
|
|
|
1366
1289
|
servingNodes?: number;
|
|
1367
1290
|
/**
|
|
1368
1291
|
* @remarks
|
|
1369
|
-
* The node pool
|
|
1370
|
-
*
|
|
1371
|
-
* - `active`: Active.
|
|
1372
|
-
* - `scaling`: Scaling.
|
|
1373
|
-
* - `removing`: Removing nodes.
|
|
1374
|
-
* - `deleting`: Deleting.
|
|
1375
|
-
* - `updating`: Updating.
|
|
1292
|
+
* The node pool status. Valid values:
|
|
1376
1293
|
*
|
|
1377
1294
|
* @example
|
|
1378
1295
|
* active
|
|
@@ -1402,9 +1319,6 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig exte
|
|
|
1402
1319
|
* @remarks
|
|
1403
1320
|
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1404
1321
|
*
|
|
1405
|
-
* - `true`: Enabled.
|
|
1406
|
-
* - `false`: Disabled.
|
|
1407
|
-
*
|
|
1408
1322
|
* @example
|
|
1409
1323
|
* false
|
|
1410
1324
|
*/
|
|
@@ -1438,17 +1352,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1438
1352
|
efloNodeGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup;
|
|
1439
1353
|
/**
|
|
1440
1354
|
* @remarks
|
|
1441
|
-
* [
|
|
1442
|
-
*
|
|
1443
|
-
* The network configuration for edge node pools. This value is meaningful only for edge-type node pools.
|
|
1355
|
+
* **[Deprecated]**
|
|
1444
1356
|
*/
|
|
1445
1357
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
1446
1358
|
/**
|
|
1447
1359
|
* @remarks
|
|
1448
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1449
|
-
*
|
|
1450
|
-
* - `basic`: public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
1451
|
-
* - `private`: private network. Nodes in cloud node pool connect to the cloud through leased lines, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1360
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1452
1361
|
*
|
|
1453
1362
|
* @example
|
|
1454
1363
|
* basic
|
|
@@ -1466,7 +1375,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1466
1375
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
1467
1376
|
/**
|
|
1468
1377
|
* @remarks
|
|
1469
|
-
* The maximum number of nodes allowed in the edge node pool. This
|
|
1378
|
+
* The maximum number of nodes allowed in the edge node pool. The maximum number of nodes that the node pool can contain. This parameter is greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the maximum number of nodes the cluster can contain, with no additional limit on the node pool itself). This value is typically greater than 0 for edge node pools. For ess-type node pools and default edge-type node pools, this value is 0.
|
|
1470
1379
|
*
|
|
1471
1380
|
* @example
|
|
1472
1381
|
* 10
|