@alicloud/cs20151215 7.1.0 → 7.1.2
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 +18 -6
- package/dist/client.js +18 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +361 -75
- package/dist/models/CreateClusterNodePoolRequest.js +27 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +345 -70
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +27 -1
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +250 -94
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +267 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +27 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +35 -2
- package/dist/models/InstallNodePoolComponentsRequest.js +27 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +27 -1
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +225 -55
- package/dist/models/Nodepool.js +33 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +23 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +40 -7
- package/dist/models/UpdateNodePoolComponentRequest.js +27 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +110 -92
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -6
- package/src/models/CreateClusterNodePoolRequest.ts +379 -76
- package/src/models/CreateClusterRequest.ts +345 -70
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +40 -0
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +267 -94
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +284 -88
- package/src/models/InstallNodePoolComponentsRequest.ts +52 -2
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +40 -0
- package/src/models/Nodepool.ts +247 -55
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +40 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +57 -7
- package/src/models/model.ts +9 -0
|
@@ -9,7 +9,7 @@ import { Taint } from "./Taint";
|
|
|
9
9
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
*
|
|
12
|
+
* Indicates whether intelligent managed mode is enabled.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* true
|
|
@@ -29,7 +29,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode exten
|
|
|
29
29
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $dara.Model {
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The peak bandwidth
|
|
32
|
+
* The EIP peak bandwidth.
|
|
33
|
+
*
|
|
34
|
+
* Valid values: [1,100]. Unit: Mbit/s.
|
|
33
35
|
*
|
|
34
36
|
* @example
|
|
35
37
|
* 5
|
|
@@ -37,9 +39,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
37
39
|
eipBandwidth?: number;
|
|
38
40
|
/**
|
|
39
41
|
* @remarks
|
|
40
|
-
* The billing
|
|
42
|
+
* The EIP billing type. Valid values:
|
|
41
43
|
*
|
|
42
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
44
|
+
* - `PayByBandwidth`: pay-by-fixed-bandwidth.
|
|
43
45
|
* - `PayByTraffic`: pay-by-data-transfer.
|
|
44
46
|
*
|
|
45
47
|
* @example
|
|
@@ -48,7 +50,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
48
50
|
eipInternetChargeType?: string;
|
|
49
51
|
/**
|
|
50
52
|
* @remarks
|
|
51
|
-
*
|
|
53
|
+
* Specifies whether to enable elastic scaling. Valid values:
|
|
54
|
+
*
|
|
55
|
+
* - `true`: Enables the elastic scaling feature for the node pool. When the cluster capacity planning cannot meet application pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant node scaling by default. Clusters of versions earlier than 1.24 use node elastic scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
56
|
+
*
|
|
57
|
+
* - `false`: Disables elastic scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
58
|
+
*
|
|
59
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
52
60
|
*
|
|
53
61
|
* @example
|
|
54
62
|
* true
|
|
@@ -56,7 +64,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
56
64
|
enable?: boolean;
|
|
57
65
|
/**
|
|
58
66
|
* @remarks
|
|
59
|
-
*
|
|
67
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
68
|
+
*
|
|
69
|
+
* - `true`: Associate an EIP.
|
|
70
|
+
* - `false`: Do not associate an EIP.
|
|
60
71
|
*
|
|
61
72
|
* @example
|
|
62
73
|
* true
|
|
@@ -64,7 +75,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
64
75
|
isBondEip?: boolean;
|
|
65
76
|
/**
|
|
66
77
|
* @remarks
|
|
67
|
-
* The maximum number of instances
|
|
78
|
+
* The maximum number of scalable instances in the node pool, excluding your existing instances.
|
|
68
79
|
*
|
|
69
80
|
* @example
|
|
70
81
|
* 10
|
|
@@ -72,7 +83,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
72
83
|
maxInstances?: number;
|
|
73
84
|
/**
|
|
74
85
|
* @remarks
|
|
75
|
-
* The minimum number of instances
|
|
86
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances.
|
|
76
87
|
*
|
|
77
88
|
* @example
|
|
78
89
|
* 2
|
|
@@ -80,7 +91,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
80
91
|
minInstances?: number;
|
|
81
92
|
/**
|
|
82
93
|
* @remarks
|
|
83
|
-
* The auto scaling type,
|
|
94
|
+
* The auto scaling type, categorized by instance type. Valid values:
|
|
95
|
+
*
|
|
96
|
+
* - `cpu`: standard instance type.
|
|
97
|
+
* - `gpu`: GPU instance type.
|
|
98
|
+
* - `gpushare`: GPU sharing type.
|
|
99
|
+
* - `spot`: spot instance type.
|
|
84
100
|
*
|
|
85
101
|
* @example
|
|
86
102
|
* cpu
|
|
@@ -100,7 +116,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling ex
|
|
|
100
116
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends $dara.Model {
|
|
101
117
|
/**
|
|
102
118
|
* @remarks
|
|
103
|
-
*
|
|
119
|
+
* Indicates whether automatic node addition is enabled for the Lingjun node pool (not effective).
|
|
104
120
|
*/
|
|
105
121
|
autoAttachEnabled?: boolean;
|
|
106
122
|
/**
|
|
@@ -121,7 +137,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup
|
|
|
121
137
|
groupId?: string;
|
|
122
138
|
/**
|
|
123
139
|
* @remarks
|
|
124
|
-
* The
|
|
140
|
+
* The worker RAM role used by the Lingjun node pool.
|
|
125
141
|
*/
|
|
126
142
|
workerRamRoleName?: string;
|
|
127
143
|
static names(): {
|
|
@@ -140,6 +156,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
140
156
|
* @remarks
|
|
141
157
|
* **[Deprecated]**
|
|
142
158
|
*
|
|
159
|
+
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
160
|
+
*
|
|
143
161
|
* @example
|
|
144
162
|
* 10
|
|
145
163
|
*/
|
|
@@ -148,6 +166,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
148
166
|
* @remarks
|
|
149
167
|
* **[Deprecated]**
|
|
150
168
|
*
|
|
169
|
+
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
170
|
+
*
|
|
151
171
|
* @example
|
|
152
172
|
* ccn-qm5i0i0q9yi*******
|
|
153
173
|
*/
|
|
@@ -156,6 +176,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
156
176
|
* @remarks
|
|
157
177
|
* **[Deprecated]**
|
|
158
178
|
*
|
|
179
|
+
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
180
|
+
*
|
|
159
181
|
* @example
|
|
160
182
|
* cn-shanghai
|
|
161
183
|
*/
|
|
@@ -164,6 +186,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
164
186
|
* @remarks
|
|
165
187
|
* **[Deprecated]**
|
|
166
188
|
*
|
|
189
|
+
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
190
|
+
*
|
|
167
191
|
* @example
|
|
168
192
|
* cen-ey9k9nfhz0f*******
|
|
169
193
|
*/
|
|
@@ -172,6 +196,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectCo
|
|
|
172
196
|
* @remarks
|
|
173
197
|
* **[Deprecated]**
|
|
174
198
|
*
|
|
199
|
+
* The purchase duration of the enhanced edge node pool. Unit: months.
|
|
200
|
+
*
|
|
175
201
|
* @example
|
|
176
202
|
* 1
|
|
177
203
|
*/
|
|
@@ -192,13 +218,19 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
192
218
|
* @remarks
|
|
193
219
|
* 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:
|
|
194
220
|
*
|
|
221
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
222
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
223
|
+
*
|
|
195
224
|
* @example
|
|
196
225
|
* true
|
|
197
226
|
*/
|
|
198
227
|
cmsEnabled?: boolean;
|
|
199
228
|
/**
|
|
200
229
|
* @remarks
|
|
201
|
-
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6
|
|
230
|
+
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 and later:
|
|
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.
|
|
202
234
|
*
|
|
203
235
|
* @example
|
|
204
236
|
* none
|
|
@@ -213,6 +245,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
213
245
|
* @remarks
|
|
214
246
|
* The custom node name.
|
|
215
247
|
*
|
|
248
|
+
* A node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
249
|
+
*
|
|
250
|
+
* - Both the prefix and suffix can 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 to extract 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
|
+
*
|
|
216
255
|
* @example
|
|
217
256
|
* aliyun.com192.XX.YY.55test
|
|
218
257
|
*/
|
|
@@ -227,7 +266,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
227
266
|
preUserData?: string;
|
|
228
267
|
/**
|
|
229
268
|
* @remarks
|
|
230
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
269
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
270
|
+
*
|
|
271
|
+
* - containerd: Recommended. Supported by all cluster versions.
|
|
272
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
273
|
+
* - docker: No longer maintained. Supported by clusters of version 1.22 and earlier.
|
|
231
274
|
*
|
|
232
275
|
* @example
|
|
233
276
|
* containerd
|
|
@@ -250,6 +293,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
250
293
|
* @remarks
|
|
251
294
|
* Specifies whether scaled-out nodes are unschedulable.
|
|
252
295
|
*
|
|
296
|
+
* - true: Unschedulable.
|
|
297
|
+
*
|
|
298
|
+
* - false: Schedulable.
|
|
299
|
+
*
|
|
253
300
|
* @example
|
|
254
301
|
* true
|
|
255
302
|
*/
|
|
@@ -276,7 +323,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
276
323
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy extends $dara.Model {
|
|
277
324
|
/**
|
|
278
325
|
* @remarks
|
|
279
|
-
*
|
|
326
|
+
* Indicates whether manual approval is required for node repair.
|
|
280
327
|
*
|
|
281
328
|
* @example
|
|
282
329
|
* false
|
|
@@ -292,7 +339,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
292
339
|
autoRepairPolicyId?: string;
|
|
293
340
|
/**
|
|
294
341
|
* @remarks
|
|
295
|
-
* The maximum number of
|
|
342
|
+
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this specifies the maximum number or percentage of nodes that can be repaired simultaneously.
|
|
296
343
|
*
|
|
297
344
|
* @example
|
|
298
345
|
* 1
|
|
@@ -300,7 +347,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
300
347
|
maxParallelRepairingNodes?: string;
|
|
301
348
|
/**
|
|
302
349
|
* @remarks
|
|
303
|
-
* The self-healing circuit breaker
|
|
350
|
+
* The self-healing circuit breaker condition. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions.
|
|
304
351
|
*
|
|
305
352
|
* @example
|
|
306
353
|
* 10%
|
|
@@ -308,7 +355,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
308
355
|
maxUnhealthyNodesThreshold?: string;
|
|
309
356
|
/**
|
|
310
357
|
* @remarks
|
|
311
|
-
* Specifies whether node restart
|
|
358
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`.
|
|
359
|
+
*
|
|
360
|
+
* - `true`: Allow node restart.
|
|
361
|
+
* - `false`: Do not allow node restart.
|
|
312
362
|
*
|
|
313
363
|
* @example
|
|
314
364
|
* true
|
|
@@ -328,7 +378,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
328
378
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy extends $dara.Model {
|
|
329
379
|
/**
|
|
330
380
|
* @remarks
|
|
331
|
-
* Specifies whether to allow
|
|
381
|
+
* Specifies whether to allow auto upgrade of kubelet. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
382
|
+
* - `true`: Auto upgrade of kubelet is allowed.
|
|
383
|
+
* - `false`: Auto upgrade of kubelet is not allowed.
|
|
332
384
|
*
|
|
333
385
|
* @example
|
|
334
386
|
* true
|
|
@@ -357,6 +409,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
357
409
|
/**
|
|
358
410
|
* @remarks
|
|
359
411
|
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
412
|
+
* - `true`: Node restarts are allowed.
|
|
413
|
+
* - `false`: Node restarts are not allowed.
|
|
360
414
|
*
|
|
361
415
|
* @example
|
|
362
416
|
* true
|
|
@@ -364,7 +418,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
364
418
|
restartNode?: boolean;
|
|
365
419
|
/**
|
|
366
420
|
* @remarks
|
|
367
|
-
* The vulnerability levels
|
|
421
|
+
* The vulnerability levels allowed for automatic fix, separated by commas. Valid values:
|
|
368
422
|
*
|
|
369
423
|
* - `asap`: high
|
|
370
424
|
* - `later`: medium
|
|
@@ -388,7 +442,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementAuto
|
|
|
388
442
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig extends $dara.Model {
|
|
389
443
|
/**
|
|
390
444
|
* @remarks
|
|
391
|
-
* Specifies whether to enable
|
|
445
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
446
|
+
*
|
|
447
|
+
* - `true`: Auto upgrade is enabled.
|
|
448
|
+
* - `false`: Auto upgrade is not enabled.
|
|
392
449
|
*
|
|
393
450
|
* @example
|
|
394
451
|
* true
|
|
@@ -398,6 +455,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
398
455
|
* @remarks
|
|
399
456
|
* The maximum number of unavailable nodes. Valid values: [1,1000\\].
|
|
400
457
|
*
|
|
458
|
+
* Default value: 1.
|
|
459
|
+
*
|
|
401
460
|
* @example
|
|
402
461
|
* 1
|
|
403
462
|
*/
|
|
@@ -412,9 +471,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
412
471
|
surge?: number;
|
|
413
472
|
/**
|
|
414
473
|
* @remarks
|
|
415
|
-
* The percentage of
|
|
474
|
+
* The percentage of extra nodes. You must set this parameter or `surge`.
|
|
416
475
|
*
|
|
417
|
-
*
|
|
476
|
+
* Number of extra nodes = Extra node percentage × Number of nodes. For example, if the extra node percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6, which means 3 extra nodes are created.
|
|
418
477
|
*
|
|
419
478
|
* @example
|
|
420
479
|
* 50
|
|
@@ -434,15 +493,15 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgr
|
|
|
434
493
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $dara.Model {
|
|
435
494
|
/**
|
|
436
495
|
* @remarks
|
|
437
|
-
* Specifies whether to enable node self-healing
|
|
496
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
438
497
|
*/
|
|
439
498
|
autoFaultDiagnosis?: boolean;
|
|
440
499
|
/**
|
|
441
500
|
* @remarks
|
|
442
|
-
* Specifies whether to enable
|
|
501
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
|
|
443
502
|
*
|
|
444
|
-
* - `true`:
|
|
445
|
-
* - `false`:
|
|
503
|
+
* - `true`: Enable auto repair.
|
|
504
|
+
* - `false`: Disable auto repair.
|
|
446
505
|
*
|
|
447
506
|
* @example
|
|
448
507
|
* true
|
|
@@ -455,7 +514,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
455
514
|
autoRepairPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy;
|
|
456
515
|
/**
|
|
457
516
|
* @remarks
|
|
458
|
-
* Specifies whether to enable
|
|
517
|
+
* Specifies whether to enable auto upgrade for nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
518
|
+
* - `true`: Auto upgrade is enabled.
|
|
519
|
+
* - `false`: Auto upgrade is not enabled.
|
|
459
520
|
*
|
|
460
521
|
* @example
|
|
461
522
|
* true
|
|
@@ -463,15 +524,15 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
463
524
|
autoUpgrade?: boolean;
|
|
464
525
|
/**
|
|
465
526
|
* @remarks
|
|
466
|
-
* The
|
|
527
|
+
* The auto upgrade policy.
|
|
467
528
|
*/
|
|
468
529
|
autoUpgradePolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy;
|
|
469
530
|
/**
|
|
470
531
|
* @remarks
|
|
471
532
|
* Specifies whether to automatically fix CVEs. This parameter takes effect only when `enable=true`.
|
|
472
533
|
*
|
|
473
|
-
* - `true`:
|
|
474
|
-
* - `false`: Do not
|
|
534
|
+
* - `true`: Allow automatic CVE fixes.
|
|
535
|
+
* - `false`: Do not allow automatic CVE fixes.
|
|
475
536
|
*
|
|
476
537
|
* @example
|
|
477
538
|
* true
|
|
@@ -479,17 +540,20 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
479
540
|
autoVulFix?: boolean;
|
|
480
541
|
/**
|
|
481
542
|
* @remarks
|
|
482
|
-
* The
|
|
543
|
+
* The auto CVE fix policy.
|
|
483
544
|
*/
|
|
484
545
|
autoVulFixPolicy?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy;
|
|
485
546
|
/**
|
|
486
547
|
* @remarks
|
|
487
|
-
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default.
|
|
548
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
|
|
488
549
|
*/
|
|
489
550
|
driftEnabled?: boolean;
|
|
490
551
|
/**
|
|
491
552
|
* @remarks
|
|
492
|
-
*
|
|
553
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
554
|
+
*
|
|
555
|
+
* - `true`: Enable the managed node pool.
|
|
556
|
+
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
493
557
|
*
|
|
494
558
|
* @example
|
|
495
559
|
* true
|
|
@@ -497,7 +561,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
497
561
|
enable?: boolean;
|
|
498
562
|
/**
|
|
499
563
|
* @remarks
|
|
500
|
-
* The
|
|
564
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
501
565
|
*/
|
|
502
566
|
upgradeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig;
|
|
503
567
|
static names(): {
|
|
@@ -511,6 +575,34 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
511
575
|
[key: string]: any;
|
|
512
576
|
});
|
|
513
577
|
}
|
|
578
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfigEnvs extends $dara.Model {
|
|
579
|
+
/**
|
|
580
|
+
* @remarks
|
|
581
|
+
* The environment variable name.
|
|
582
|
+
*
|
|
583
|
+
* @example
|
|
584
|
+
* LOG_LEVEL
|
|
585
|
+
*/
|
|
586
|
+
name?: string;
|
|
587
|
+
/**
|
|
588
|
+
* @remarks
|
|
589
|
+
* The environment variable value.
|
|
590
|
+
*
|
|
591
|
+
* @example
|
|
592
|
+
* info
|
|
593
|
+
*/
|
|
594
|
+
value?: string;
|
|
595
|
+
static names(): {
|
|
596
|
+
[key: string]: string;
|
|
597
|
+
};
|
|
598
|
+
static types(): {
|
|
599
|
+
[key: string]: any;
|
|
600
|
+
};
|
|
601
|
+
validate(): void;
|
|
602
|
+
constructor(map?: {
|
|
603
|
+
[key: string]: any;
|
|
604
|
+
});
|
|
605
|
+
}
|
|
514
606
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
515
607
|
/**
|
|
516
608
|
* @remarks
|
|
@@ -522,6 +614,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents
|
|
|
522
614
|
customConfig?: {
|
|
523
615
|
[key: string]: any;
|
|
524
616
|
};
|
|
617
|
+
/**
|
|
618
|
+
* @remarks
|
|
619
|
+
* The node component environment variables.
|
|
620
|
+
*/
|
|
621
|
+
envs?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfigEnvs[];
|
|
525
622
|
static names(): {
|
|
526
623
|
[key: string]: string;
|
|
527
624
|
};
|
|
@@ -541,7 +638,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents
|
|
|
541
638
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
542
639
|
/**
|
|
543
640
|
* @remarks
|
|
544
|
-
* The node component custom configuration
|
|
641
|
+
* The node component custom configuration version number.
|
|
545
642
|
*
|
|
546
643
|
* @example
|
|
547
644
|
* 1
|
|
@@ -577,7 +674,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents
|
|
|
577
674
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig extends $dara.Model {
|
|
578
675
|
/**
|
|
579
676
|
* @remarks
|
|
580
|
-
* The
|
|
677
|
+
* The hugepage configuration.
|
|
581
678
|
*/
|
|
582
679
|
hugepage?: Hugepage;
|
|
583
680
|
static names(): {
|
|
@@ -626,6 +723,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
626
723
|
* @remarks
|
|
627
724
|
* Indicates whether this is the default node pool. Typically, a cluster has only one default node pool. Valid values:
|
|
628
725
|
*
|
|
726
|
+
* - `true`: Default node pool.
|
|
727
|
+
* - `false`: Non-default node pool.
|
|
728
|
+
*
|
|
629
729
|
* @example
|
|
630
730
|
* true
|
|
631
731
|
*/
|
|
@@ -666,6 +766,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo e
|
|
|
666
766
|
* @remarks
|
|
667
767
|
* The node pool type. Valid values:
|
|
668
768
|
*
|
|
769
|
+
* - `ess`: standard node pool (includes managed features and elastic scaling).
|
|
770
|
+
* - `edge`: edge node pool.
|
|
771
|
+
* - `lingjun`: Lingjun node pool.
|
|
772
|
+
*
|
|
669
773
|
* @example
|
|
670
774
|
* ess
|
|
671
775
|
*/
|
|
@@ -694,6 +798,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCp
|
|
|
694
798
|
* @remarks
|
|
695
799
|
* Specifies whether nested virtualization is enabled. Valid values:
|
|
696
800
|
*
|
|
801
|
+
* - disabled: Nested virtualization is disabled.
|
|
802
|
+
* - enabled: Nested virtualization is enabled.
|
|
803
|
+
*
|
|
697
804
|
* @example
|
|
698
805
|
* enabled
|
|
699
806
|
*/
|
|
@@ -712,7 +819,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCp
|
|
|
712
819
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
713
820
|
/**
|
|
714
821
|
* @remarks
|
|
715
|
-
* The private pool ID, which is the
|
|
822
|
+
* The private pool ID, which is the elasticity assurance ID or capacity reservation ID.
|
|
716
823
|
*
|
|
717
824
|
* @example
|
|
718
825
|
* eap-bp67acfmxazb4****
|
|
@@ -720,13 +827,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPr
|
|
|
720
827
|
id?: string;
|
|
721
828
|
/**
|
|
722
829
|
* @remarks
|
|
723
|
-
* The type
|
|
830
|
+
* The private node pool type. Specifies the capacity option for the private pool used to launch instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
724
831
|
*
|
|
725
|
-
* - `Open`:
|
|
832
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
726
833
|
*
|
|
727
|
-
* - `Target`:
|
|
834
|
+
* - `Target`: Specified mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.
|
|
728
835
|
*
|
|
729
|
-
* - `None`: not
|
|
836
|
+
* - `None`: Do not use mode. The instance launch does not use private pool capacity.
|
|
730
837
|
*
|
|
731
838
|
* @example
|
|
732
839
|
* Open
|
|
@@ -752,6 +859,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupRe
|
|
|
752
859
|
/**
|
|
753
860
|
* @remarks
|
|
754
861
|
* The resource pool policy used when creating instances. Valid values:
|
|
862
|
+
* PrivatePoolFirst: Private pool first.
|
|
863
|
+
* PrivatePoolOnly: Private pool only.
|
|
864
|
+
* None: Do not use a resource pool policy.
|
|
755
865
|
*
|
|
756
866
|
* @example
|
|
757
867
|
* PrivatePoolFirst
|
|
@@ -779,7 +889,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSp
|
|
|
779
889
|
instanceType?: string;
|
|
780
890
|
/**
|
|
781
891
|
* @remarks
|
|
782
|
-
* The price
|
|
892
|
+
* The price range for a single instance.
|
|
783
893
|
*
|
|
784
894
|
* <props="china">Unit: CNY/hour.
|
|
785
895
|
*
|
|
@@ -805,6 +915,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
805
915
|
* @remarks
|
|
806
916
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
807
917
|
*
|
|
918
|
+
* - `true`: Auto-renewal is enabled.
|
|
919
|
+
* - `false`: Auto-renewal is not enabled.
|
|
920
|
+
*
|
|
808
921
|
* @example
|
|
809
922
|
* false
|
|
810
923
|
*/
|
|
@@ -812,6 +925,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
812
925
|
/**
|
|
813
926
|
* @remarks
|
|
814
927
|
* The duration of each auto-renewal cycle. Valid values:
|
|
928
|
+
* - PeriodUnit=Week: 1, 2, 3.
|
|
929
|
+
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
815
930
|
*
|
|
816
931
|
* @example
|
|
817
932
|
* 0
|
|
@@ -821,6 +936,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
821
936
|
* @remarks
|
|
822
937
|
* **[Deprecated]**
|
|
823
938
|
*
|
|
939
|
+
* Use the security_hardening_os parameter instead.
|
|
940
|
+
*
|
|
824
941
|
* @example
|
|
825
942
|
* false
|
|
826
943
|
*
|
|
@@ -829,10 +946,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
829
946
|
cisEnabled?: boolean;
|
|
830
947
|
/**
|
|
831
948
|
* @remarks
|
|
832
|
-
*
|
|
949
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
833
950
|
*
|
|
834
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
835
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
951
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
952
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
836
953
|
*
|
|
837
954
|
* @example
|
|
838
955
|
* true
|
|
@@ -845,7 +962,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
845
962
|
cpuOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupCpuOptions;
|
|
846
963
|
/**
|
|
847
964
|
* @remarks
|
|
848
|
-
* The
|
|
965
|
+
* The configurations of node data cloud disks, including type and size.
|
|
849
966
|
*/
|
|
850
967
|
dataDisks?: DataDisk[];
|
|
851
968
|
/**
|
|
@@ -871,7 +988,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
871
988
|
diskInit?: DiskInit[];
|
|
872
989
|
/**
|
|
873
990
|
* @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
|
|
991
|
+
* 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 disks and data cloud disks does not exceed the maximum number of high-density cloud disks supported by the instance type.
|
|
875
992
|
*
|
|
876
993
|
* @example
|
|
877
994
|
* false
|
|
@@ -887,7 +1004,17 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
887
1004
|
imageId?: string;
|
|
888
1005
|
/**
|
|
889
1006
|
* @remarks
|
|
890
|
-
* The operating system image type.
|
|
1007
|
+
* The operating system image type. Valid values:
|
|
1008
|
+
* - `AliyunLinux`: Alinux2 image.
|
|
1009
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1010
|
+
* - `AliyunLinux3`: Alinux3 image.
|
|
1011
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1012
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1013
|
+
* - `CentOS`: CentOS image.
|
|
1014
|
+
* - `Windows`: Windows image.
|
|
1015
|
+
* - `WindowsCore`: WindowsCore image.
|
|
1016
|
+
* - `ContainerOS`: container-optimized image.
|
|
1017
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
891
1018
|
*
|
|
892
1019
|
* @example
|
|
893
1020
|
* AliyunLinux3
|
|
@@ -911,7 +1038,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
911
1038
|
instancePatterns?: InstancePatterns[];
|
|
912
1039
|
/**
|
|
913
1040
|
* @remarks
|
|
914
|
-
* The list of node instance types. You can select multiple instance types as alternatives.
|
|
1041
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The actual instance type purchased may vary depending on inventory availability.
|
|
915
1042
|
*
|
|
916
1043
|
* @example
|
|
917
1044
|
* ecs.n4.large
|
|
@@ -921,9 +1048,8 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
921
1048
|
* @remarks
|
|
922
1049
|
* The billing method for the public IP addresses of nodes.
|
|
923
1050
|
*
|
|
924
|
-
*
|
|
925
|
-
* -
|
|
926
|
-
* - PayByTraffic: pay-by-data-transfer.
|
|
1051
|
+
* - PayByBandwidth: billed by fixed bandwidth.
|
|
1052
|
+
* - PayByTraffic: billed by traffic usage.
|
|
927
1053
|
*
|
|
928
1054
|
* @example
|
|
929
1055
|
* PayByBandwidth
|
|
@@ -931,7 +1057,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
931
1057
|
internetChargeType?: string;
|
|
932
1058
|
/**
|
|
933
1059
|
* @remarks
|
|
934
|
-
* The maximum outbound bandwidth for
|
|
1060
|
+
* The maximum outbound public bandwidth for nodes, in Mbps (Mega bit per second). Valid values: 1 to 100.
|
|
935
1061
|
*
|
|
936
1062
|
* @example
|
|
937
1063
|
* 10
|
|
@@ -939,9 +1065,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
939
1065
|
internetMaxBandwidthOut?: number;
|
|
940
1066
|
/**
|
|
941
1067
|
* @remarks
|
|
942
|
-
* The name of the key pair
|
|
1068
|
+
* The name of the key pair, mutually exclusive with `login_password`.
|
|
943
1069
|
*
|
|
944
|
-
*
|
|
1070
|
+
* For managed node pools, only `key_pair` is supported.
|
|
945
1071
|
*
|
|
946
1072
|
* @example
|
|
947
1073
|
* pro-nodepool
|
|
@@ -949,7 +1075,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
949
1075
|
keyPair?: string;
|
|
950
1076
|
/**
|
|
951
1077
|
* @remarks
|
|
952
|
-
*
|
|
1078
|
+
* Specifies whether the scaled-out ECS instances use a non-root user for logon.
|
|
953
1079
|
*
|
|
954
1080
|
* - true: Log on as a non-root user (ecs-user).
|
|
955
1081
|
*
|
|
@@ -961,7 +1087,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
961
1087
|
loginAsNonRoot?: boolean;
|
|
962
1088
|
/**
|
|
963
1089
|
* @remarks
|
|
964
|
-
* The SSH logon password
|
|
1090
|
+
* The SSH logon password, mutually exclusive with `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.
|
|
1091
|
+
*
|
|
1092
|
+
* For security purposes, the password returned in the query result is encrypted.
|
|
965
1093
|
*
|
|
966
1094
|
* @example
|
|
967
1095
|
* ******
|
|
@@ -971,13 +1099,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
971
1099
|
* @remarks
|
|
972
1100
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
973
1101
|
*
|
|
974
|
-
* - `PRIORITY`: Scales
|
|
1102
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) 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.
|
|
975
1103
|
*
|
|
976
|
-
* - `COST_OPTIMIZED`:
|
|
1104
|
+
* - `COST_OPTIMIZED`: Creates instances by vCPU unit price from low to high. When the scaling configuration sets multiple instance types with the preemptible billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
977
1105
|
*
|
|
978
|
-
* >`COST_OPTIMIZED` takes effect only when
|
|
1106
|
+
* >`COST_OPTIMIZED` takes effect only when multiple instance types are specified in the scaling configuration or spot instances are selected.
|
|
979
1107
|
*
|
|
980
|
-
* - `BALANCE`: Evenly
|
|
1108
|
+
* - `BALANCE`: Evenly allocates ECS instances across the multiple zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
981
1109
|
*
|
|
982
1110
|
* @example
|
|
983
1111
|
* COST_OPTIMIZED
|
|
@@ -985,7 +1113,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
985
1113
|
multiAzPolicy?: string;
|
|
986
1114
|
/**
|
|
987
1115
|
* @remarks
|
|
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
|
|
1116
|
+
* 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 created first.
|
|
989
1117
|
*
|
|
990
1118
|
* @example
|
|
991
1119
|
* 0
|
|
@@ -993,7 +1121,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
993
1121
|
onDemandBaseCapacity?: number;
|
|
994
1122
|
/**
|
|
995
1123
|
* @remarks
|
|
996
|
-
* The percentage of pay-as-you-go instances among the
|
|
1124
|
+
* The percentage of pay-as-you-go instances among the excess instances after the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) is met. Valid values: [0,100\\].
|
|
997
1125
|
*
|
|
998
1126
|
* @example
|
|
999
1127
|
* 20
|
|
@@ -1003,13 +1131,19 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1003
1131
|
* @remarks
|
|
1004
1132
|
* The subscription duration of nodes. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1005
1133
|
*
|
|
1134
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1135
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1136
|
+
*
|
|
1006
1137
|
* @example
|
|
1007
1138
|
* 1
|
|
1008
1139
|
*/
|
|
1009
1140
|
period?: number;
|
|
1010
1141
|
/**
|
|
1011
1142
|
* @remarks
|
|
1012
|
-
* The
|
|
1143
|
+
* The billing epoch of nodes. This parameter must be specified when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1144
|
+
*
|
|
1145
|
+
* - `Month`: month as the compute unit (CU).
|
|
1146
|
+
* - `Week`: week as the compute unit (CU).
|
|
1013
1147
|
*
|
|
1014
1148
|
* @example
|
|
1015
1149
|
* Month
|
|
@@ -1021,10 +1155,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1021
1155
|
*
|
|
1022
1156
|
* The operating system distribution. Valid values:
|
|
1023
1157
|
*
|
|
1024
|
-
* - CentOS
|
|
1025
|
-
* - AliyunLinux
|
|
1026
|
-
* - Windows
|
|
1027
|
-
* - WindowsCore
|
|
1158
|
+
* - `CentOS`
|
|
1159
|
+
* - `AliyunLinux`
|
|
1160
|
+
* - `Windows`
|
|
1161
|
+
* - `WindowsCore`
|
|
1028
1162
|
*
|
|
1029
1163
|
* @example
|
|
1030
1164
|
* AliyunLinux
|
|
@@ -1045,7 +1179,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1045
1179
|
ramPolicy?: string;
|
|
1046
1180
|
/**
|
|
1047
1181
|
* @remarks
|
|
1048
|
-
* The
|
|
1182
|
+
* The Worker RAM role name.
|
|
1049
1183
|
*
|
|
1050
1184
|
* @example
|
|
1051
1185
|
* KubernetesWorkerRole-4a4fa089-80c1-48a5-b3c6-9349311f****
|
|
@@ -1053,12 +1187,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1053
1187
|
ramRoleName?: string;
|
|
1054
1188
|
/**
|
|
1055
1189
|
* @remarks
|
|
1056
|
-
* If RDS instances are specified, the ECS instances in the cluster
|
|
1190
|
+
* If RDS instances are specified, the ECS instances in the cluster node pool are automatically added to the RDS access whitelist.
|
|
1057
1191
|
*/
|
|
1058
1192
|
rdsInstances?: string[];
|
|
1059
1193
|
/**
|
|
1060
1194
|
* @remarks
|
|
1061
|
-
* The resource
|
|
1195
|
+
* The resource pool and resource pool policy used when creating instances.
|
|
1062
1196
|
*/
|
|
1063
1197
|
resourcePoolOptions?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupResourcePoolOptions;
|
|
1064
1198
|
/**
|
|
@@ -1071,10 +1205,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1071
1205
|
scalingGroupId?: string;
|
|
1072
1206
|
/**
|
|
1073
1207
|
* @remarks
|
|
1074
|
-
* The scaling mode
|
|
1208
|
+
* The scaling group mode. Valid values:
|
|
1075
1209
|
*
|
|
1076
|
-
* - `release`:
|
|
1077
|
-
* - `recycle`:
|
|
1210
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1211
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting ECS instances, which improves scaling speed. (Compute resources are not charged during the stopped state. Only storage fees are charged, except for local disk instance types.)
|
|
1078
1212
|
*
|
|
1079
1213
|
* @example
|
|
1080
1214
|
* release
|
|
@@ -1084,7 +1218,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1084
1218
|
* @remarks
|
|
1085
1219
|
* **[Deprecated]**
|
|
1086
1220
|
*
|
|
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
|
|
1221
|
+
* 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`.
|
|
1088
1222
|
*
|
|
1089
1223
|
* @example
|
|
1090
1224
|
* sg-2ze1iuk12m2sb4c4****
|
|
@@ -1099,13 +1233,18 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1099
1233
|
* @remarks
|
|
1100
1234
|
* Alibaba Cloud OS security hardening. Valid values:
|
|
1101
1235
|
*
|
|
1236
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1237
|
+
* - `false`: Does not enable Alibaba Cloud OS security hardening.
|
|
1238
|
+
*
|
|
1239
|
+
* Default value: `false`.
|
|
1240
|
+
*
|
|
1102
1241
|
* @example
|
|
1103
1242
|
* false
|
|
1104
1243
|
*/
|
|
1105
1244
|
securityHardeningOs?: boolean;
|
|
1106
1245
|
/**
|
|
1107
1246
|
* @remarks
|
|
1108
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
1247
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable this feature 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.
|
|
1109
1248
|
*
|
|
1110
1249
|
* @example
|
|
1111
1250
|
* false
|
|
@@ -1113,7 +1252,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1113
1252
|
socEnabled?: boolean;
|
|
1114
1253
|
/**
|
|
1115
1254
|
* @remarks
|
|
1116
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1255
|
+
* The number of available instance types. The scaling group creates spot instances across the lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
1117
1256
|
*
|
|
1118
1257
|
* @example
|
|
1119
1258
|
* 5
|
|
@@ -1121,7 +1260,10 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1121
1260
|
spotInstancePools?: number;
|
|
1122
1261
|
/**
|
|
1123
1262
|
* @remarks
|
|
1124
|
-
* Specifies whether to enable
|
|
1263
|
+
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1264
|
+
*
|
|
1265
|
+
* - `true`: Enables supplementing spot instances.
|
|
1266
|
+
* - `false`: Does not enable supplementing spot instances.
|
|
1125
1267
|
*
|
|
1126
1268
|
* @example
|
|
1127
1269
|
* false
|
|
@@ -1129,12 +1271,17 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1129
1271
|
spotInstanceRemedy?: boolean;
|
|
1130
1272
|
/**
|
|
1131
1273
|
* @remarks
|
|
1132
|
-
* The price
|
|
1274
|
+
* The price range configurations for spot instances.
|
|
1133
1275
|
*/
|
|
1134
1276
|
spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
|
|
1135
1277
|
/**
|
|
1136
1278
|
* @remarks
|
|
1137
1279
|
* The type of spot instance. Valid values:
|
|
1280
|
+
* - NoSpot: non-spot instance.
|
|
1281
|
+
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1282
|
+
* - SpotAsPriceGo: system automatically bids at the current market price.
|
|
1283
|
+
*
|
|
1284
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1138
1285
|
*
|
|
1139
1286
|
* @example
|
|
1140
1287
|
* NoSpot
|
|
@@ -1142,7 +1289,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1142
1289
|
spotStrategy?: string;
|
|
1143
1290
|
/**
|
|
1144
1291
|
* @remarks
|
|
1145
|
-
* Specifies whether to enable burst
|
|
1292
|
+
* Specifies whether to enable burst performance for the node system cloud disk. Valid values:
|
|
1293
|
+
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure from fluctuating workloads until the workload stabilizes.
|
|
1294
|
+
* - false: Not enabled.
|
|
1295
|
+
*
|
|
1296
|
+
* 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).
|
|
1146
1297
|
*
|
|
1147
1298
|
* @example
|
|
1148
1299
|
* true
|
|
@@ -1150,12 +1301,17 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1150
1301
|
systemDiskBurstingEnabled?: boolean;
|
|
1151
1302
|
/**
|
|
1152
1303
|
* @remarks
|
|
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.
|
|
1304
|
+
* The multiple cloud disk types for the system cloud disk. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
|
|
1154
1305
|
*/
|
|
1155
1306
|
systemDiskCategories?: string[];
|
|
1156
1307
|
/**
|
|
1157
1308
|
* @remarks
|
|
1158
|
-
* The type of the system cloud disk. Valid values:
|
|
1309
|
+
* The type of the node system cloud disk. Valid values:
|
|
1310
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1311
|
+
* - `cloud_ssd`: standard SSD.
|
|
1312
|
+
* - `cloud_essd`: ESSD.
|
|
1313
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1314
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1159
1315
|
*
|
|
1160
1316
|
* @example
|
|
1161
1317
|
* cloud_efficiency
|
|
@@ -1173,6 +1329,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1173
1329
|
* @remarks
|
|
1174
1330
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1175
1331
|
*
|
|
1332
|
+
* - true: Encrypted.
|
|
1333
|
+
* - false: Not encrypted.
|
|
1334
|
+
*
|
|
1176
1335
|
* @example
|
|
1177
1336
|
* false
|
|
1178
1337
|
*/
|
|
@@ -1187,7 +1346,11 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1187
1346
|
systemDiskKmsKeyId?: string;
|
|
1188
1347
|
/**
|
|
1189
1348
|
* @remarks
|
|
1190
|
-
* The performance level of the system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level
|
|
1349
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1350
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1351
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1352
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1353
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1191
1354
|
*
|
|
1192
1355
|
* @example
|
|
1193
1356
|
* PL1
|
|
@@ -1195,7 +1358,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1195
1358
|
systemDiskPerformanceLevel?: string;
|
|
1196
1359
|
/**
|
|
1197
1360
|
* @remarks
|
|
1198
|
-
* The provisioned read/write IOPS
|
|
1361
|
+
* The provisioned read/write IOPS for the node system cloud disk. This parameter is applicable when the cloud disk type is cloud_auto.
|
|
1199
1362
|
*
|
|
1200
1363
|
* @example
|
|
1201
1364
|
* 1000
|
|
@@ -1203,7 +1366,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1203
1366
|
systemDiskProvisionedIops?: number;
|
|
1204
1367
|
/**
|
|
1205
1368
|
* @remarks
|
|
1206
|
-
* The size of the system cloud disk, in GiB.
|
|
1369
|
+
* The size of the node system cloud disk, in GiB.
|
|
1370
|
+
*
|
|
1371
|
+
* Valid values: [20,2048\\].
|
|
1207
1372
|
*
|
|
1208
1373
|
* @example
|
|
1209
1374
|
* 120
|
|
@@ -1219,7 +1384,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
1219
1384
|
systemDiskSnapshotPolicyId?: string;
|
|
1220
1385
|
/**
|
|
1221
1386
|
* @remarks
|
|
1222
|
-
* The ECS
|
|
1387
|
+
* The labels of ECS instances.
|
|
1223
1388
|
*/
|
|
1224
1389
|
tags?: Tag[];
|
|
1225
1390
|
/**
|
|
@@ -1291,6 +1456,12 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends
|
|
|
1291
1456
|
* @remarks
|
|
1292
1457
|
* The node pool status. Valid values:
|
|
1293
1458
|
*
|
|
1459
|
+
* - `active`: Activated.
|
|
1460
|
+
* - `scaling`: Scaling in progress.
|
|
1461
|
+
* - `removing`: Nodes are being removed.
|
|
1462
|
+
* - `deleting`: Being deleted.
|
|
1463
|
+
* - `updating`: Being updated.
|
|
1464
|
+
*
|
|
1294
1465
|
* @example
|
|
1295
1466
|
* active
|
|
1296
1467
|
*/
|
|
@@ -1319,6 +1490,9 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig exte
|
|
|
1319
1490
|
* @remarks
|
|
1320
1491
|
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1321
1492
|
*
|
|
1493
|
+
* - `true`: Enabled.
|
|
1494
|
+
* - `false`: Not enabled.
|
|
1495
|
+
*
|
|
1322
1496
|
* @example
|
|
1323
1497
|
* false
|
|
1324
1498
|
*/
|
|
@@ -1353,12 +1527,17 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1353
1527
|
/**
|
|
1354
1528
|
* @remarks
|
|
1355
1529
|
* **[Deprecated]**
|
|
1530
|
+
*
|
|
1531
|
+
* The network-related configuration for edge node pools. This value is meaningful only for edge-type node pools.
|
|
1356
1532
|
*/
|
|
1357
1533
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
1358
1534
|
/**
|
|
1359
1535
|
* @remarks
|
|
1360
1536
|
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1361
1537
|
*
|
|
1538
|
+
* - `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.
|
|
1539
|
+
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1540
|
+
*
|
|
1362
1541
|
* @example
|
|
1363
1542
|
* basic
|
|
1364
1543
|
*/
|
|
@@ -1375,7 +1554,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1375
1554
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
1376
1555
|
/**
|
|
1377
1556
|
* @remarks
|
|
1378
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1557
|
+
* The maximum number of nodes allowed in the edge node pool. This parameter specifies the maximum number of nodes that the node pool can contain and must be greater than or equal to 0. A value of 0 indicates no additional limit (limited only by the total number of nodes the cluster can contain, with no additional limit on the node pool itself). This parameter is typically greater than 0 for edge node pools. For ess-type node pools and default edge-type node pools, this parameter is 0.
|
|
1379
1558
|
*
|
|
1380
1559
|
* @example
|
|
1381
1560
|
* 10
|
|
@@ -1383,7 +1562,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $dara
|
|
|
1383
1562
|
maxNodes?: number;
|
|
1384
1563
|
/**
|
|
1385
1564
|
* @remarks
|
|
1386
|
-
* The
|
|
1565
|
+
* The node component list.
|
|
1387
1566
|
*/
|
|
1388
1567
|
nodeComponents?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents[];
|
|
1389
1568
|
/**
|