@alicloud/cs20151215 7.0.2 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +50 -28
- package/dist/client.js +53 -28
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +119 -91
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
- 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/Nodepool.d.ts +266 -220
- package/dist/models/Nodepool.js +31 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +54 -28
- package/src/models/CreateClusterNodePoolRequest.ts +155 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +140 -91
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
- package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +287 -220
- package/src/models/model.ts +7 -0
|
@@ -53,7 +53,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyAutoScaling extend
|
|
|
53
53
|
* @remarks
|
|
54
54
|
* Specifies whether auto scaling is enabled. Valid values:
|
|
55
55
|
*
|
|
56
|
-
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application pods, ACK automatically scales
|
|
56
|
+
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application pods, 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 of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
57
57
|
*
|
|
58
58
|
* - `false`: Disables auto 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.
|
|
59
59
|
*
|
|
@@ -143,7 +143,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
|
|
|
143
143
|
* @remarks
|
|
144
144
|
* [This field is deprecated]
|
|
145
145
|
*
|
|
146
|
-
* The network bandwidth of the enhanced edge node pool, in
|
|
146
|
+
* The network bandwidth of the enhanced edge node pool, in Mbps.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
149
|
* 10
|
|
@@ -163,7 +163,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
|
|
|
163
163
|
* @remarks
|
|
164
164
|
* [This field is deprecated]
|
|
165
165
|
*
|
|
166
|
-
* The region of the
|
|
166
|
+
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
167
167
|
*
|
|
168
168
|
* @example
|
|
169
169
|
* cn-shanghai
|
|
@@ -183,7 +183,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig
|
|
|
183
183
|
* @remarks
|
|
184
184
|
* [This field is deprecated]
|
|
185
185
|
*
|
|
186
|
-
* The
|
|
186
|
+
* The purchase duration of the enhanced edge node pool, in months.
|
|
187
187
|
*
|
|
188
188
|
* @example
|
|
189
189
|
* 1
|
|
@@ -205,8 +205,8 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
205
205
|
* @remarks
|
|
206
206
|
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information for the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
207
207
|
*
|
|
208
|
-
* - `true`:
|
|
209
|
-
* - `false`:
|
|
208
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
209
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* true
|
|
@@ -216,8 +216,8 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
216
216
|
* @remarks
|
|
217
217
|
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
218
218
|
*
|
|
219
|
-
* - `static`:
|
|
220
|
-
* - `none`:
|
|
219
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
220
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
221
221
|
*
|
|
222
222
|
* @example
|
|
223
223
|
* none
|
|
@@ -234,7 +234,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
234
234
|
*
|
|
235
235
|
* The node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
236
236
|
*
|
|
237
|
-
* -
|
|
237
|
+
* - 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.
|
|
238
238
|
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
|
|
239
239
|
*
|
|
240
240
|
* 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.
|
|
@@ -245,7 +245,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
245
245
|
nodeNameMode?: string;
|
|
246
246
|
/**
|
|
247
247
|
* @remarks
|
|
248
|
-
* The pre-
|
|
248
|
+
* The node pool pre-custom data, which is a script that runs before node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
249
249
|
*
|
|
250
250
|
* @example
|
|
251
251
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -255,9 +255,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
255
255
|
* @remarks
|
|
256
256
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
257
257
|
*
|
|
258
|
-
* - containerd:
|
|
259
|
-
* - Sandboxed-Container.runv:
|
|
260
|
-
* - docker:
|
|
258
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
259
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
260
|
+
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
261
261
|
*
|
|
262
262
|
* @example
|
|
263
263
|
* containerd
|
|
@@ -273,16 +273,16 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
273
273
|
runtimeVersion?: string;
|
|
274
274
|
/**
|
|
275
275
|
* @remarks
|
|
276
|
-
* The node taint information. Taints work together
|
|
276
|
+
* The node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
277
277
|
*/
|
|
278
278
|
taints?: Taint[];
|
|
279
279
|
/**
|
|
280
280
|
* @remarks
|
|
281
|
-
* Indicates whether nodes are unschedulable
|
|
281
|
+
* Indicates whether the scaled-out nodes are unschedulable.
|
|
282
282
|
*
|
|
283
|
-
* - true:
|
|
283
|
+
* - true: Unschedulable.
|
|
284
284
|
*
|
|
285
|
-
* - false:
|
|
285
|
+
* - false: Schedulable.
|
|
286
286
|
*
|
|
287
287
|
* @example
|
|
288
288
|
* true
|
|
@@ -290,7 +290,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
290
290
|
unschedulable?: boolean;
|
|
291
291
|
/**
|
|
292
292
|
* @remarks
|
|
293
|
-
* The custom data
|
|
293
|
+
* The node pool custom data, which is a script that runs after node initialization. For more information, see [Generate instance user data](https://help.aliyun.com/document_detail/49121.html).
|
|
294
294
|
*
|
|
295
295
|
* @example
|
|
296
296
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -324,12 +324,22 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepa
|
|
|
324
324
|
* r-xxxxxxxxxx
|
|
325
325
|
*/
|
|
326
326
|
autoRepairPolicyId?: string;
|
|
327
|
+
/**
|
|
328
|
+
* @example
|
|
329
|
+
* 1
|
|
330
|
+
*/
|
|
331
|
+
maxParallelRepairingNodes?: string;
|
|
332
|
+
/**
|
|
333
|
+
* @example
|
|
334
|
+
* 10%
|
|
335
|
+
*/
|
|
336
|
+
maxUnhealthyNodesThreshold?: string;
|
|
327
337
|
/**
|
|
328
338
|
* @remarks
|
|
329
|
-
* Specifies whether to allow node
|
|
339
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`.
|
|
330
340
|
*
|
|
331
|
-
* - `true`: Allow node
|
|
332
|
-
* - `false`: Do not allow node
|
|
341
|
+
* - `true`: Allow node restarts.
|
|
342
|
+
* - `false`: Do not allow node restarts.
|
|
333
343
|
*
|
|
334
344
|
* @example
|
|
335
345
|
* true
|
|
@@ -349,9 +359,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepa
|
|
|
349
359
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $dara.Model {
|
|
350
360
|
/**
|
|
351
361
|
* @remarks
|
|
352
|
-
* Specifies whether to allow automatic kubelet
|
|
353
|
-
* - `true`: Allow automatic kubelet
|
|
354
|
-
* - `false`: Do not allow automatic kubelet
|
|
362
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
363
|
+
* - `true`: Allow automatic kubelet upgrades.
|
|
364
|
+
* - `false`: Do not allow automatic kubelet upgrades.
|
|
355
365
|
*
|
|
356
366
|
* @example
|
|
357
367
|
* true
|
|
@@ -371,7 +381,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgr
|
|
|
371
381
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $dara.Model {
|
|
372
382
|
/**
|
|
373
383
|
* @remarks
|
|
374
|
-
* The packages to exclude during vulnerability
|
|
384
|
+
* The packages to exclude during vulnerability fixing.
|
|
375
385
|
*
|
|
376
386
|
* @example
|
|
377
387
|
* kernel
|
|
@@ -379,9 +389,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulF
|
|
|
379
389
|
excludePackages?: string;
|
|
380
390
|
/**
|
|
381
391
|
* @remarks
|
|
382
|
-
* Specifies whether to allow node
|
|
383
|
-
* - `true`: Allow node
|
|
384
|
-
* - `false`: Do not allow node
|
|
392
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
393
|
+
* - `true`: Allow node restarts.
|
|
394
|
+
* - `false`: Do not allow node restarts.
|
|
385
395
|
*
|
|
386
396
|
* @example
|
|
387
397
|
* true
|
|
@@ -389,7 +399,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulF
|
|
|
389
399
|
restartNode?: boolean;
|
|
390
400
|
/**
|
|
391
401
|
* @remarks
|
|
392
|
-
* The vulnerability levels
|
|
402
|
+
* The vulnerability levels allowed for automatic fixing, separated by commas.
|
|
393
403
|
*
|
|
394
404
|
* - `asap`: high
|
|
395
405
|
* - `later`: medium
|
|
@@ -413,10 +423,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulF
|
|
|
413
423
|
export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $dara.Model {
|
|
414
424
|
/**
|
|
415
425
|
* @remarks
|
|
416
|
-
* Specifies whether to enable automatic
|
|
426
|
+
* Specifies whether to enable automatic upgrades. Valid values:
|
|
417
427
|
*
|
|
418
|
-
* - `true`: Enable automatic
|
|
419
|
-
* - `false`: Disable automatic
|
|
428
|
+
* - `true`: Enable automatic upgrades.
|
|
429
|
+
* - `false`: Disable automatic upgrades.
|
|
420
430
|
*
|
|
421
431
|
* @example
|
|
422
432
|
* true
|
|
@@ -434,7 +444,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeC
|
|
|
434
444
|
maxUnavailable?: number;
|
|
435
445
|
/**
|
|
436
446
|
* @remarks
|
|
437
|
-
* The number of extra nodes.
|
|
447
|
+
* The number of extra nodes. Specify either this parameter or surge_percentage.
|
|
438
448
|
*
|
|
439
449
|
* @example
|
|
440
450
|
* 5
|
|
@@ -442,7 +452,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeC
|
|
|
442
452
|
surge?: number;
|
|
443
453
|
/**
|
|
444
454
|
* @remarks
|
|
445
|
-
* The percentage of extra nodes.
|
|
455
|
+
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
446
456
|
*
|
|
447
457
|
* 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 = 3.
|
|
448
458
|
*
|
|
@@ -481,9 +491,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
481
491
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
482
492
|
/**
|
|
483
493
|
* @remarks
|
|
484
|
-
* Specifies whether to enable automatic node
|
|
485
|
-
* - `true`: Enable automatic
|
|
486
|
-
* - `false`: Disable automatic
|
|
494
|
+
* Specifies whether to enable automatic node upgrades. This parameter takes effect only when `enable=true`.
|
|
495
|
+
* - `true`: Enable automatic upgrades.
|
|
496
|
+
* - `false`: Disable automatic upgrades.
|
|
487
497
|
*
|
|
488
498
|
* @example
|
|
489
499
|
* true
|
|
@@ -496,10 +506,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
496
506
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
497
507
|
/**
|
|
498
508
|
* @remarks
|
|
499
|
-
* Specifies whether to enable automatic CVE
|
|
509
|
+
* Specifies whether to enable automatic CVE fixing. This parameter takes effect only when `enable=true`.
|
|
500
510
|
*
|
|
501
|
-
* - `true`: Enable automatic CVE
|
|
502
|
-
* - `false`: Disable automatic CVE
|
|
511
|
+
* - `true`: Enable automatic CVE fixing.
|
|
512
|
+
* - `false`: Disable automatic CVE fixing.
|
|
503
513
|
*
|
|
504
514
|
* @example
|
|
505
515
|
* true
|
|
@@ -510,6 +520,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
510
520
|
* The automatic CVE fix policy.
|
|
511
521
|
*/
|
|
512
522
|
autoVulFixPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy;
|
|
523
|
+
driftEnabled?: boolean;
|
|
513
524
|
/**
|
|
514
525
|
* @remarks
|
|
515
526
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
@@ -540,7 +551,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
540
551
|
export declare class DescribeClusterNodePoolDetailResponseBodyNodeComponentsConfig extends $dara.Model {
|
|
541
552
|
/**
|
|
542
553
|
* @remarks
|
|
543
|
-
* The node component
|
|
554
|
+
* The custom configuration of the node component.
|
|
544
555
|
*
|
|
545
556
|
* @example
|
|
546
557
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -691,7 +702,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo exten
|
|
|
691
702
|
/**
|
|
692
703
|
* @remarks
|
|
693
704
|
* The node pool type. Valid values:
|
|
694
|
-
* - `ess`: standard node pool (includes managed and
|
|
705
|
+
* - `ess`: standard node pool (includes managed and automatic scaling features).
|
|
695
706
|
* - `edge`: edge node pool.
|
|
696
707
|
* - `lingjun`: Lingjun node pool.
|
|
697
708
|
*
|
|
@@ -718,6 +729,23 @@ export declare class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo exten
|
|
|
718
729
|
[key: string]: any;
|
|
719
730
|
});
|
|
720
731
|
}
|
|
732
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions extends $dara.Model {
|
|
733
|
+
/**
|
|
734
|
+
* @example
|
|
735
|
+
* enabled
|
|
736
|
+
*/
|
|
737
|
+
nestedVirtualization?: string;
|
|
738
|
+
static names(): {
|
|
739
|
+
[key: string]: string;
|
|
740
|
+
};
|
|
741
|
+
static types(): {
|
|
742
|
+
[key: string]: any;
|
|
743
|
+
};
|
|
744
|
+
validate(): void;
|
|
745
|
+
constructor(map?: {
|
|
746
|
+
[key: string]: any;
|
|
747
|
+
});
|
|
748
|
+
}
|
|
721
749
|
export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
722
750
|
/**
|
|
723
751
|
* @remarks
|
|
@@ -729,13 +757,13 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivat
|
|
|
729
757
|
id?: string;
|
|
730
758
|
/**
|
|
731
759
|
* @remarks
|
|
732
|
-
* The private node pool type
|
|
760
|
+
* The private node pool type, which is the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool capacity is generated for instance launch. Valid values:
|
|
733
761
|
*
|
|
734
|
-
* - `Open`:
|
|
762
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for launch.
|
|
735
763
|
*
|
|
736
|
-
* - `Target`:
|
|
764
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.
|
|
737
765
|
*
|
|
738
|
-
* - `None`:
|
|
766
|
+
* - `None`: Do not use mode. Instance launch does not use private pool capacity.
|
|
739
767
|
*
|
|
740
768
|
* @example
|
|
741
769
|
* Open
|
|
@@ -763,7 +791,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroupResour
|
|
|
763
791
|
* The resource pool strategy used when creating instances. Valid values:
|
|
764
792
|
* PrivatePoolFirst: private pool first.
|
|
765
793
|
* PrivatePoolOnly: private pool only.
|
|
766
|
-
* None:
|
|
794
|
+
* None: do not use a resource pool strategy.
|
|
767
795
|
*
|
|
768
796
|
* @example
|
|
769
797
|
* PrivatePoolFirst
|
|
@@ -791,7 +819,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPr
|
|
|
791
819
|
instanceType?: string;
|
|
792
820
|
/**
|
|
793
821
|
* @remarks
|
|
794
|
-
* The
|
|
822
|
+
* The price per instance.
|
|
795
823
|
*
|
|
796
824
|
* <props="china">Unit: CNY/hour.
|
|
797
825
|
*
|
|
@@ -849,18 +877,19 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
849
877
|
cisEnabled?: boolean;
|
|
850
878
|
/**
|
|
851
879
|
* @remarks
|
|
852
|
-
* When
|
|
880
|
+
* When multi_az_policy is set to `COST_OPTIMIZED`, specifies whether to allow the automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements when spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
853
881
|
*
|
|
854
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
855
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
882
|
+
* - `true`: Allows the automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
883
|
+
* - `false`: Does not allow the automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
856
884
|
*
|
|
857
885
|
* @example
|
|
858
886
|
* true
|
|
859
887
|
*/
|
|
860
888
|
compensateWithOnDemand?: boolean;
|
|
889
|
+
cpuOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions;
|
|
861
890
|
/**
|
|
862
891
|
* @remarks
|
|
863
|
-
* The
|
|
892
|
+
* The configuration of data cloud disks, including type and size.
|
|
864
893
|
*/
|
|
865
894
|
dataDisks?: DataDisk[];
|
|
866
895
|
/**
|
|
@@ -957,7 +986,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
957
986
|
internetMaxBandwidthOut?: number;
|
|
958
987
|
/**
|
|
959
988
|
* @remarks
|
|
960
|
-
* The key pair name.
|
|
989
|
+
* The key pair name. Specify either this parameter or `login_password`. For managed node pools, only `key_pair` is supported.
|
|
961
990
|
*
|
|
962
991
|
* @example
|
|
963
992
|
* pro-nodepool
|
|
@@ -977,9 +1006,9 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
977
1006
|
loginAsNonRoot?: boolean;
|
|
978
1007
|
/**
|
|
979
1008
|
* @remarks
|
|
980
|
-
* The SSH
|
|
1009
|
+
* The SSH login password. Specify either this parameter or `key_pair`. Logon password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
981
1010
|
*
|
|
982
|
-
* For security purposes,
|
|
1011
|
+
* For security purposes, logon password is encrypted in query results.
|
|
983
1012
|
*
|
|
984
1013
|
* @example
|
|
985
1014
|
* ********
|
|
@@ -989,13 +1018,13 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
989
1018
|
* @remarks
|
|
990
1019
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
991
1020
|
*
|
|
992
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch
|
|
1021
|
+
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch.
|
|
993
1022
|
*
|
|
994
|
-
* - `COST_OPTIMIZED`:
|
|
1023
|
+
* - `COST_OPTIMIZED`: Creates 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 create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
995
1024
|
*
|
|
996
1025
|
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
997
1026
|
*
|
|
998
|
-
* - `BALANCE`:
|
|
1027
|
+
* - `BALANCE`: Distributes ECS instances evenly across the zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, call the RebalanceInstances operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
999
1028
|
*
|
|
1000
1029
|
* Default value: `PRIORITY`.
|
|
1001
1030
|
*
|
|
@@ -1005,7 +1034,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1005
1034
|
multiAzPolicy?: string;
|
|
1006
1035
|
/**
|
|
1007
1036
|
* @remarks
|
|
1008
|
-
* The minimum number of pay-
|
|
1037
|
+
* The minimum number of pay-
|
|
1009
1038
|
*
|
|
1010
1039
|
* @example
|
|
1011
1040
|
* 0
|
|
@@ -1013,7 +1042,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1013
1042
|
onDemandBaseCapacity?: number;
|
|
1014
1043
|
/**
|
|
1015
1044
|
* @remarks
|
|
1016
|
-
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (
|
|
1045
|
+
* 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\\].
|
|
1017
1046
|
*
|
|
1018
1047
|
* @example
|
|
1019
1048
|
* 20
|
|
@@ -1034,8 +1063,8 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1034
1063
|
* @remarks
|
|
1035
1064
|
* The unit of the subscription period. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1036
1065
|
*
|
|
1037
|
-
* - `Month`: month as the billing
|
|
1038
|
-
* - `Week`: week as the billing
|
|
1066
|
+
* - `Month`: month as the billing cycle.
|
|
1067
|
+
* - `Week`: week as the billing cycle.
|
|
1039
1068
|
*
|
|
1040
1069
|
* @example
|
|
1041
1070
|
* Month
|
|
@@ -1077,7 +1106,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1077
1106
|
ramRoleName?: string;
|
|
1078
1107
|
/**
|
|
1079
1108
|
* @remarks
|
|
1080
|
-
* If an
|
|
1109
|
+
* If an RDS instance list is specified, the ECS instances of cluster nodes are automatically added to the RDS access whitelist.
|
|
1081
1110
|
*/
|
|
1082
1111
|
rdsInstances?: string[];
|
|
1083
1112
|
/**
|
|
@@ -1098,8 +1127,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1098
1127
|
* The scaling group mode. Valid values:
|
|
1099
1128
|
*
|
|
1100
1129
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1101
|
-
* - `recycle`: swift mode. Scales by creating, stopping, and starting instances, which accelerates subsequent scaling operations.
|
|
1102
|
-
* [_single.resp.200.props.scaling_group.on_demand
|
|
1130
|
+
* - `recycle`: swift mode. Scales by creating, stopping, and starting instances, which accelerates subsequent scaling operations. Stopped instances are not charged for compute resources, but storage fees still apply. This does not apply to instances with local disks.
|
|
1103
1131
|
*
|
|
1104
1132
|
* @example
|
|
1105
1133
|
* release
|
|
@@ -1141,7 +1169,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1141
1169
|
socEnabled?: boolean;
|
|
1142
1170
|
/**
|
|
1143
1171
|
* @remarks
|
|
1144
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1172
|
+
* The number of available instance types. The scaling group creates spot instances of multiple lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
1145
1173
|
*
|
|
1146
1174
|
* @example
|
|
1147
1175
|
* 5
|
|
@@ -1149,10 +1177,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1149
1177
|
spotInstancePools?: number;
|
|
1150
1178
|
/**
|
|
1151
1179
|
* @remarks
|
|
1152
|
-
* Indicates whether spot instance supplementation is enabled.
|
|
1180
|
+
* Indicates whether spot instance supplementation is enabled. If enabled, when the system notifies that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1153
1181
|
*
|
|
1154
1182
|
* - `true`: Spot instance supplementation is enabled.
|
|
1155
|
-
* - `false`: Spot instance supplementation is
|
|
1183
|
+
* - `false`: Spot instance supplementation is not enabled.
|
|
1156
1184
|
*
|
|
1157
1185
|
* @example
|
|
1158
1186
|
* false
|
|
@@ -1168,7 +1196,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1168
1196
|
* The type of spot instance. Valid values:
|
|
1169
1197
|
* - NoSpot: non-spot instance.
|
|
1170
1198
|
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1171
|
-
* - SpotAsPriceGo:
|
|
1199
|
+
* - SpotAsPriceGo: spot instance priced at the market rate.
|
|
1172
1200
|
*
|
|
1173
1201
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1174
1202
|
*
|
|
@@ -1178,8 +1206,8 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1178
1206
|
spotStrategy?: string;
|
|
1179
1207
|
/**
|
|
1180
1208
|
* @remarks
|
|
1181
|
-
* Specifies whether to enable burst
|
|
1182
|
-
* - true: Enable. When enabled, the cloud disk temporarily boosts performance
|
|
1209
|
+
* Specifies whether to enable burst performance for the system cloud disk. Valid values:
|
|
1210
|
+
* - true: Enable. When enabled, the cloud disk temporarily boosts performance to handle sudden data read/write pressure during fluctuating workloads until the workload stabilizes.
|
|
1183
1211
|
* - false: Disable.
|
|
1184
1212
|
*
|
|
1185
1213
|
* 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).
|
|
@@ -1208,7 +1236,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1208
1236
|
systemDiskCategory?: string;
|
|
1209
1237
|
/**
|
|
1210
1238
|
* @remarks
|
|
1211
|
-
* The encryption algorithm used
|
|
1239
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1212
1240
|
*
|
|
1213
1241
|
* @example
|
|
1214
1242
|
* aes-256
|
|
@@ -1217,8 +1245,8 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1217
1245
|
/**
|
|
1218
1246
|
* @remarks
|
|
1219
1247
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1220
|
-
* - `true`:
|
|
1221
|
-
* - `false`:
|
|
1248
|
+
* - `true`: Encrypt.
|
|
1249
|
+
* - `false`: Do not encrypt.
|
|
1222
1250
|
*
|
|
1223
1251
|
* @example
|
|
1224
1252
|
* false
|
|
@@ -1226,7 +1254,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyScalingGroup exten
|
|
|
1226
1254
|
systemDiskEncrypted?: boolean;
|
|
1227
1255
|
/**
|
|
1228
1256
|
* @remarks
|
|
1229
|
-
* The KMS key ID used
|
|
1257
|
+
* The KMS key ID used by the system cloud disk.
|
|
1230
1258
|
*
|
|
1231
1259
|
* @example
|
|
1232
1260
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1350,7 +1378,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyStatusConditions e
|
|
|
1350
1378
|
export declare class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model {
|
|
1351
1379
|
/**
|
|
1352
1380
|
* @remarks
|
|
1353
|
-
* The
|
|
1381
|
+
* The node pool conditions, which represent the status information of the node pool across different dimensions.
|
|
1354
1382
|
*/
|
|
1355
1383
|
conditions?: DescribeClusterNodePoolDetailResponseBodyStatusConditions[];
|
|
1356
1384
|
/**
|
|
@@ -1406,10 +1434,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyStatus extends $da
|
|
|
1406
1434
|
* The node pool status. Valid values:
|
|
1407
1435
|
*
|
|
1408
1436
|
* - `active`: Active.
|
|
1409
|
-
* - `scaling`: Scaling
|
|
1410
|
-
* - `removing`:
|
|
1411
|
-
* - `deleting`:
|
|
1412
|
-
* - `updating`:
|
|
1437
|
+
* - `scaling`: Scaling.
|
|
1438
|
+
* - `removing`: Removing nodes.
|
|
1439
|
+
* - `deleting`: Deleting.
|
|
1440
|
+
* - `updating`: Updating.
|
|
1413
1441
|
*
|
|
1414
1442
|
* @example
|
|
1415
1443
|
* active
|
|
@@ -1439,8 +1467,8 @@ export declare class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends
|
|
|
1439
1467
|
* @remarks
|
|
1440
1468
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1441
1469
|
*
|
|
1442
|
-
* - `true`:
|
|
1443
|
-
* - `false`:
|
|
1470
|
+
* - `true`: Enabled.
|
|
1471
|
+
* - `false`: Not enabled.
|
|
1444
1472
|
*
|
|
1445
1473
|
* @example
|
|
1446
1474
|
* false
|
|
@@ -1471,9 +1499,9 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
1471
1499
|
efloNodeGroup?: DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup;
|
|
1472
1500
|
/**
|
|
1473
1501
|
* @remarks
|
|
1474
|
-
*
|
|
1475
|
-
* - `true`:
|
|
1476
|
-
* - `false`:
|
|
1502
|
+
* Indicates whether the pod network uses host network mode.
|
|
1503
|
+
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1504
|
+
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1477
1505
|
*
|
|
1478
1506
|
* @example
|
|
1479
1507
|
* true
|
|
@@ -1483,15 +1511,15 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
1483
1511
|
* @remarks
|
|
1484
1512
|
* [This field is deprecated]
|
|
1485
1513
|
*
|
|
1486
|
-
* The network configuration for edge node pools. This value is only meaningful for edge-type node pools.
|
|
1514
|
+
* The network-related configuration for edge node pools. This value is only meaningful for edge-type node pools.
|
|
1487
1515
|
*/
|
|
1488
1516
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
1489
1517
|
/**
|
|
1490
1518
|
* @remarks
|
|
1491
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1519
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
1492
1520
|
*
|
|
1493
|
-
* - `basic`:
|
|
1494
|
-
* - `private`:
|
|
1521
|
+
* - `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.
|
|
1522
|
+
* - `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.
|
|
1495
1523
|
*
|
|
1496
1524
|
* @example
|
|
1497
1525
|
* basic
|
|
@@ -1500,8 +1528,8 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $dara.Mod
|
|
|
1500
1528
|
/**
|
|
1501
1529
|
* @remarks
|
|
1502
1530
|
* Indicates whether nodes within the edge node pool have Layer 3 network connectivity.
|
|
1503
|
-
* - `true`:
|
|
1504
|
-
* - `false`:
|
|
1531
|
+
* - `true`: Connected. All nodes within the node pool have Layer 3 network connectivity.
|
|
1532
|
+
* - `false`: Not connected. All nodes within the node pool do not have Layer 3 network connectivity.
|
|
1505
1533
|
*
|
|
1506
1534
|
* @example
|
|
1507
1535
|
* true
|