@alicloud/cs20151215 7.0.3 → 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 +30 -30
- package/dist/client.js +33 -30
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +139 -83
- package/dist/models/CreateClusterNodePoolRequest.js +29 -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 +163 -131
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +120 -92
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +64 -49
- package/dist/models/ModifyClusterNodePoolRequest.js +4 -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 +132 -88
- package/dist/models/Nodepool.js +29 -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 +34 -30
- package/src/models/CreateClusterNodePoolRequest.ts +158 -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 +182 -131
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +139 -92
- package/src/models/ModifyClusterNodePoolRequest.ts +68 -49
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +151 -88
- package/src/models/model.ts +7 -0
|
@@ -13,7 +13,7 @@ import { Taint } from "./Taint";
|
|
|
13
13
|
export class DescribeClusterNodePoolDetailResponseBodyAutoMode extends $dara.Model {
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Indicates whether this feature is enabled.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* false
|
|
@@ -43,7 +43,7 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoMode extends $dara.Mod
|
|
|
43
43
|
export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.Model {
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The peak bandwidth of the EIP.
|
|
47
47
|
*
|
|
48
48
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
49
49
|
*
|
|
@@ -56,7 +56,7 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
56
56
|
* The EIP billing type. Valid values:
|
|
57
57
|
*
|
|
58
58
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
59
|
-
* - `PayByTraffic`: pay-by-
|
|
59
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* PayByBandwidth
|
|
@@ -64,11 +64,11 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
64
64
|
eipInternetChargeType?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Specifies whether
|
|
67
|
+
* Specifies whether auto scaling is enabled. Valid values:
|
|
68
68
|
*
|
|
69
|
-
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application
|
|
69
|
+
* - `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).
|
|
70
70
|
*
|
|
71
|
-
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count
|
|
71
|
+
* - `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.
|
|
72
72
|
*
|
|
73
73
|
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
74
74
|
*
|
|
@@ -78,10 +78,10 @@ export class DescribeClusterNodePoolDetailResponseBodyAutoScaling extends $dara.
|
|
|
78
78
|
enable?: boolean;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* Specifies whether an EIP
|
|
81
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
82
82
|
*
|
|
83
|
-
* - `true`:
|
|
84
|
-
* - `false`:
|
|
83
|
+
* - `true`: Associate an EIP.
|
|
84
|
+
* - `false`: Do not associate an EIP.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* true
|
|
@@ -234,7 +234,7 @@ export class DescribeClusterNodePoolDetailResponseBodyInterconnectConfig extends
|
|
|
234
234
|
* @remarks
|
|
235
235
|
* [This field is deprecated]
|
|
236
236
|
*
|
|
237
|
-
* The
|
|
237
|
+
* The purchase duration of the enhanced edge node pool, in months.
|
|
238
238
|
*
|
|
239
239
|
* @example
|
|
240
240
|
* 1
|
|
@@ -274,8 +274,8 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
274
274
|
* @remarks
|
|
275
275
|
* 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:
|
|
276
276
|
*
|
|
277
|
-
* - `true`:
|
|
278
|
-
* - `false`:
|
|
277
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
278
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
279
279
|
*
|
|
280
280
|
* @example
|
|
281
281
|
* true
|
|
@@ -285,8 +285,8 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
285
285
|
* @remarks
|
|
286
286
|
* The node CPU management policy. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
287
287
|
*
|
|
288
|
-
* - `static`:
|
|
289
|
-
* - `none`:
|
|
288
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
289
|
+
* - `none`: Enables the existing default CPU affinity scheme.
|
|
290
290
|
*
|
|
291
291
|
* @example
|
|
292
292
|
* none
|
|
@@ -303,7 +303,7 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
303
303
|
*
|
|
304
304
|
* The node name consists of three parts: prefix \\+ node IP address substring \\+ suffix:
|
|
305
305
|
*
|
|
306
|
-
* -
|
|
306
|
+
* - 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.
|
|
307
307
|
* - The IP address segment length specifies the number of digits taken from the end of the node IP address. Valid values: 5 to 12.
|
|
308
308
|
*
|
|
309
309
|
* 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.
|
|
@@ -324,9 +324,9 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
324
324
|
* @remarks
|
|
325
325
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
326
326
|
*
|
|
327
|
-
* - containerd:
|
|
328
|
-
* - Sandboxed-Container.runv:
|
|
329
|
-
* - docker:
|
|
327
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
328
|
+
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
329
|
+
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
330
330
|
*
|
|
331
331
|
* @example
|
|
332
332
|
* containerd
|
|
@@ -342,12 +342,12 @@ export class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig extends $
|
|
|
342
342
|
runtimeVersion?: string;
|
|
343
343
|
/**
|
|
344
344
|
* @remarks
|
|
345
|
-
* The node taint information. Taints work together
|
|
345
|
+
* 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/).
|
|
346
346
|
*/
|
|
347
347
|
taints?: Taint[];
|
|
348
348
|
/**
|
|
349
349
|
* @remarks
|
|
350
|
-
*
|
|
350
|
+
* Indicates whether the scaled-out nodes are unschedulable.
|
|
351
351
|
*
|
|
352
352
|
* - true: Unschedulable.
|
|
353
353
|
*
|
|
@@ -427,12 +427,22 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
427
427
|
* r-xxxxxxxxxx
|
|
428
428
|
*/
|
|
429
429
|
autoRepairPolicyId?: string;
|
|
430
|
+
/**
|
|
431
|
+
* @example
|
|
432
|
+
* 1
|
|
433
|
+
*/
|
|
434
|
+
maxParallelRepairingNodes?: string;
|
|
435
|
+
/**
|
|
436
|
+
* @example
|
|
437
|
+
* 10%
|
|
438
|
+
*/
|
|
439
|
+
maxUnhealthyNodesThreshold?: string;
|
|
430
440
|
/**
|
|
431
441
|
* @remarks
|
|
432
|
-
* Specifies whether
|
|
442
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`.
|
|
433
443
|
*
|
|
434
|
-
* - `true`:
|
|
435
|
-
* - `false`:
|
|
444
|
+
* - `true`: Allow node restarts.
|
|
445
|
+
* - `false`: Do not allow node restarts.
|
|
436
446
|
*
|
|
437
447
|
* @example
|
|
438
448
|
* true
|
|
@@ -442,6 +452,8 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
442
452
|
return {
|
|
443
453
|
approvalRequired: 'approval_required',
|
|
444
454
|
autoRepairPolicyId: 'auto_repair_policy_id',
|
|
455
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
456
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
445
457
|
restartNode: 'restart_node',
|
|
446
458
|
};
|
|
447
459
|
}
|
|
@@ -450,6 +462,8 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
450
462
|
return {
|
|
451
463
|
approvalRequired: 'boolean',
|
|
452
464
|
autoRepairPolicyId: 'string',
|
|
465
|
+
maxParallelRepairingNodes: 'string',
|
|
466
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
453
467
|
restartNode: 'boolean',
|
|
454
468
|
};
|
|
455
469
|
}
|
|
@@ -466,9 +480,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy
|
|
|
466
480
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy extends $dara.Model {
|
|
467
481
|
/**
|
|
468
482
|
* @remarks
|
|
469
|
-
* Specifies whether automatic kubelet
|
|
470
|
-
* - `true`:
|
|
471
|
-
* - `false`:
|
|
483
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
484
|
+
* - `true`: Allow automatic kubelet upgrades.
|
|
485
|
+
* - `false`: Do not allow automatic kubelet upgrades.
|
|
472
486
|
*
|
|
473
487
|
* @example
|
|
474
488
|
* true
|
|
@@ -498,7 +512,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolic
|
|
|
498
512
|
export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy extends $dara.Model {
|
|
499
513
|
/**
|
|
500
514
|
* @remarks
|
|
501
|
-
* The packages to exclude during vulnerability
|
|
515
|
+
* The packages to exclude during vulnerability fixing.
|
|
502
516
|
*
|
|
503
517
|
* @example
|
|
504
518
|
* kernel
|
|
@@ -506,9 +520,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
506
520
|
excludePackages?: string;
|
|
507
521
|
/**
|
|
508
522
|
* @remarks
|
|
509
|
-
* Specifies whether
|
|
510
|
-
* - `true`:
|
|
511
|
-
* - `false`:
|
|
523
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
524
|
+
* - `true`: Allow node restarts.
|
|
525
|
+
* - `false`: Do not allow node restarts.
|
|
512
526
|
*
|
|
513
527
|
* @example
|
|
514
528
|
* true
|
|
@@ -516,7 +530,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
516
530
|
restartNode?: boolean;
|
|
517
531
|
/**
|
|
518
532
|
* @remarks
|
|
519
|
-
* The vulnerability levels allowed for automatic
|
|
533
|
+
* The vulnerability levels allowed for automatic fixing, separated by commas.
|
|
520
534
|
*
|
|
521
535
|
* - `asap`: high
|
|
522
536
|
* - `later`: medium
|
|
@@ -554,10 +568,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy
|
|
|
554
568
|
export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig extends $dara.Model {
|
|
555
569
|
/**
|
|
556
570
|
* @remarks
|
|
557
|
-
* Specifies whether
|
|
571
|
+
* Specifies whether to enable automatic upgrades. Valid values:
|
|
558
572
|
*
|
|
559
|
-
* - `true`:
|
|
560
|
-
* - `false`:
|
|
573
|
+
* - `true`: Enable automatic upgrades.
|
|
574
|
+
* - `false`: Disable automatic upgrades.
|
|
561
575
|
*
|
|
562
576
|
* @example
|
|
563
577
|
* true
|
|
@@ -575,7 +589,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
575
589
|
maxUnavailable?: number;
|
|
576
590
|
/**
|
|
577
591
|
* @remarks
|
|
578
|
-
* The number of extra nodes.
|
|
592
|
+
* The number of extra nodes. Specify either this parameter or surge_percentage.
|
|
579
593
|
*
|
|
580
594
|
* @example
|
|
581
595
|
* 5
|
|
@@ -583,9 +597,9 @@ export class DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig ex
|
|
|
583
597
|
surge?: number;
|
|
584
598
|
/**
|
|
585
599
|
* @remarks
|
|
586
|
-
* The percentage of extra nodes.
|
|
600
|
+
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
587
601
|
*
|
|
588
|
-
* Number of extra nodes =
|
|
602
|
+
* 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.
|
|
589
603
|
*
|
|
590
604
|
* @example
|
|
591
605
|
* 50
|
|
@@ -622,10 +636,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
622
636
|
autoFaultDiagnosis?: boolean;
|
|
623
637
|
/**
|
|
624
638
|
* @remarks
|
|
625
|
-
* Specifies whether auto repair
|
|
639
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when `enable=true`.
|
|
626
640
|
*
|
|
627
|
-
* - `true`:
|
|
628
|
-
* - `false`:
|
|
641
|
+
* - `true`: Enable auto repair.
|
|
642
|
+
* - `false`: Disable auto repair.
|
|
629
643
|
*
|
|
630
644
|
* @example
|
|
631
645
|
* true
|
|
@@ -633,14 +647,14 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
633
647
|
autoRepair?: boolean;
|
|
634
648
|
/**
|
|
635
649
|
* @remarks
|
|
636
|
-
* The auto repair
|
|
650
|
+
* The auto repair policy for nodes.
|
|
637
651
|
*/
|
|
638
652
|
autoRepairPolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy;
|
|
639
653
|
/**
|
|
640
654
|
* @remarks
|
|
641
|
-
* Specifies whether
|
|
642
|
-
* - `true`:
|
|
643
|
-
* - `false`:
|
|
655
|
+
* Specifies whether to enable automatic node upgrades. This parameter takes effect only when `enable=true`.
|
|
656
|
+
* - `true`: Enable automatic upgrades.
|
|
657
|
+
* - `false`: Disable automatic upgrades.
|
|
644
658
|
*
|
|
645
659
|
* @example
|
|
646
660
|
* true
|
|
@@ -648,15 +662,15 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
648
662
|
autoUpgrade?: boolean;
|
|
649
663
|
/**
|
|
650
664
|
* @remarks
|
|
651
|
-
* The
|
|
665
|
+
* The automatic upgrade policy.
|
|
652
666
|
*/
|
|
653
667
|
autoUpgradePolicy?: DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy;
|
|
654
668
|
/**
|
|
655
669
|
* @remarks
|
|
656
|
-
* Specifies whether automatic CVE
|
|
670
|
+
* Specifies whether to enable automatic CVE fixing. This parameter takes effect only when `enable=true`.
|
|
657
671
|
*
|
|
658
|
-
* - `true`:
|
|
659
|
-
* - `false`:
|
|
672
|
+
* - `true`: Enable automatic CVE fixing.
|
|
673
|
+
* - `false`: Disable automatic CVE fixing.
|
|
660
674
|
*
|
|
661
675
|
* @example
|
|
662
676
|
* true
|
|
@@ -670,10 +684,10 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
670
684
|
driftEnabled?: boolean;
|
|
671
685
|
/**
|
|
672
686
|
* @remarks
|
|
673
|
-
* Specifies whether the managed node pool
|
|
687
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
674
688
|
*
|
|
675
|
-
* - `true`:
|
|
676
|
-
* - `false`:
|
|
689
|
+
* - `true`: Enable the managed node pool.
|
|
690
|
+
* - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
677
691
|
*
|
|
678
692
|
* @example
|
|
679
693
|
* true
|
|
@@ -681,7 +695,7 @@ export class DescribeClusterNodePoolDetailResponseBodyManagement extends $dara.M
|
|
|
681
695
|
enable?: boolean;
|
|
682
696
|
/**
|
|
683
697
|
* @remarks
|
|
684
|
-
* The
|
|
698
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
685
699
|
*/
|
|
686
700
|
upgradeConfig?: DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig;
|
|
687
701
|
static names(): { [key: string]: string } {
|
|
@@ -828,7 +842,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodeComponents extends $da
|
|
|
828
842
|
export class DescribeClusterNodePoolDetailResponseBodyNodeConfigNodeOsConfig extends $dara.Model {
|
|
829
843
|
/**
|
|
830
844
|
* @remarks
|
|
831
|
-
* The
|
|
845
|
+
* The Hugepage configuration.
|
|
832
846
|
*/
|
|
833
847
|
hugepage?: Hugepage;
|
|
834
848
|
static names(): { [key: string]: string } {
|
|
@@ -906,10 +920,10 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
906
920
|
created?: string;
|
|
907
921
|
/**
|
|
908
922
|
* @remarks
|
|
909
|
-
* Indicates whether
|
|
923
|
+
* Indicates whether the node pool is the default node pool. A cluster typically has only one default node pool. Valid values:
|
|
910
924
|
*
|
|
911
|
-
* - `true`:
|
|
912
|
-
* - `false`:
|
|
925
|
+
* - `true`: Default node pool.
|
|
926
|
+
* - `false`: Non-default node pool.
|
|
913
927
|
*
|
|
914
928
|
* @example
|
|
915
929
|
* true
|
|
@@ -950,7 +964,7 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
950
964
|
/**
|
|
951
965
|
* @remarks
|
|
952
966
|
* The node pool type. Valid values:
|
|
953
|
-
* - `ess`: standard node pool (includes managed and automatic
|
|
967
|
+
* - `ess`: standard node pool (includes managed and automatic scaling features).
|
|
954
968
|
* - `edge`: edge node pool.
|
|
955
969
|
* - `lingjun`: Lingjun node pool.
|
|
956
970
|
*
|
|
@@ -1001,6 +1015,33 @@ export class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $dara
|
|
|
1001
1015
|
}
|
|
1002
1016
|
}
|
|
1003
1017
|
|
|
1018
|
+
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions extends $dara.Model {
|
|
1019
|
+
/**
|
|
1020
|
+
* @example
|
|
1021
|
+
* enabled
|
|
1022
|
+
*/
|
|
1023
|
+
nestedVirtualization?: string;
|
|
1024
|
+
static names(): { [key: string]: string } {
|
|
1025
|
+
return {
|
|
1026
|
+
nestedVirtualization: 'nested_virtualization',
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
static types(): { [key: string]: any } {
|
|
1031
|
+
return {
|
|
1032
|
+
nestedVirtualization: 'string',
|
|
1033
|
+
};
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
validate() {
|
|
1037
|
+
super.validate();
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
constructor(map?: { [key: string]: any }) {
|
|
1041
|
+
super(map);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1004
1045
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1005
1046
|
/**
|
|
1006
1047
|
* @remarks
|
|
@@ -1012,13 +1053,13 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOpt
|
|
|
1012
1053
|
id?: string;
|
|
1013
1054
|
/**
|
|
1014
1055
|
* @remarks
|
|
1015
|
-
* The private node pool type
|
|
1056
|
+
* 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:
|
|
1016
1057
|
*
|
|
1017
|
-
* - `Open`:
|
|
1058
|
+
* - `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.
|
|
1018
1059
|
*
|
|
1019
|
-
* - `Target`:
|
|
1060
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the private pool capacity is unavailable, the instance fails to launch.
|
|
1020
1061
|
*
|
|
1021
|
-
* - `None`:
|
|
1062
|
+
* - `None`: Do not use mode. Instance launch does not use private pool capacity.
|
|
1022
1063
|
*
|
|
1023
1064
|
* @example
|
|
1024
1065
|
* Open
|
|
@@ -1058,7 +1099,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOp
|
|
|
1058
1099
|
* The resource pool strategy used when creating instances. Valid values:
|
|
1059
1100
|
* PrivatePoolFirst: private pool first.
|
|
1060
1101
|
* PrivatePoolOnly: private pool only.
|
|
1061
|
-
* None:
|
|
1102
|
+
* None: do not use a resource pool strategy.
|
|
1062
1103
|
*
|
|
1063
1104
|
* @example
|
|
1064
1105
|
* PrivatePoolFirst
|
|
@@ -1101,7 +1142,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
1101
1142
|
instanceType?: string;
|
|
1102
1143
|
/**
|
|
1103
1144
|
* @remarks
|
|
1104
|
-
* The
|
|
1145
|
+
* The price per instance.
|
|
1105
1146
|
*
|
|
1106
1147
|
* <props="china">Unit: CNY/hour.
|
|
1107
1148
|
*
|
|
@@ -1140,10 +1181,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit
|
|
|
1140
1181
|
export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara.Model {
|
|
1141
1182
|
/**
|
|
1142
1183
|
* @remarks
|
|
1143
|
-
* Specifies whether auto-renewal
|
|
1184
|
+
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1144
1185
|
*
|
|
1145
|
-
* - `true`:
|
|
1146
|
-
* - `false`:
|
|
1186
|
+
* - `true`: Enable auto-renewal.
|
|
1187
|
+
* - `false`: Disable auto-renewal.
|
|
1147
1188
|
*
|
|
1148
1189
|
* @example
|
|
1149
1190
|
* false
|
|
@@ -1161,7 +1202,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1161
1202
|
autoRenewPeriod?: number;
|
|
1162
1203
|
/**
|
|
1163
1204
|
* @remarks
|
|
1164
|
-
* [
|
|
1205
|
+
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
1165
1206
|
*
|
|
1166
1207
|
* @example
|
|
1167
1208
|
* false
|
|
@@ -1171,18 +1212,19 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1171
1212
|
cisEnabled?: boolean;
|
|
1172
1213
|
/**
|
|
1173
1214
|
* @remarks
|
|
1174
|
-
*
|
|
1215
|
+
* 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:
|
|
1175
1216
|
*
|
|
1176
|
-
* - `true`:
|
|
1177
|
-
* - `false`:
|
|
1217
|
+
* - `true`: Allows the automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1218
|
+
* - `false`: Does not allow the automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1178
1219
|
*
|
|
1179
1220
|
* @example
|
|
1180
1221
|
* true
|
|
1181
1222
|
*/
|
|
1182
1223
|
compensateWithOnDemand?: boolean;
|
|
1224
|
+
cpuOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions;
|
|
1183
1225
|
/**
|
|
1184
1226
|
* @remarks
|
|
1185
|
-
* The
|
|
1227
|
+
* The configuration of data cloud disks, including type and size.
|
|
1186
1228
|
*/
|
|
1187
1229
|
dataDisks?: DataDisk[];
|
|
1188
1230
|
/**
|
|
@@ -1260,10 +1302,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1260
1302
|
instanceTypes?: string[];
|
|
1261
1303
|
/**
|
|
1262
1304
|
* @remarks
|
|
1263
|
-
* The
|
|
1305
|
+
* The billing type for the public IP of nodes.
|
|
1264
1306
|
*
|
|
1265
1307
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1266
|
-
* - PayByTraffic: pay-by-
|
|
1308
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1267
1309
|
*
|
|
1268
1310
|
* @example
|
|
1269
1311
|
* PayByBandwidth
|
|
@@ -1271,7 +1313,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1271
1313
|
internetChargeType?: string;
|
|
1272
1314
|
/**
|
|
1273
1315
|
* @remarks
|
|
1274
|
-
* The maximum outbound bandwidth
|
|
1316
|
+
* The maximum outbound public bandwidth of nodes. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1275
1317
|
*
|
|
1276
1318
|
* @example
|
|
1277
1319
|
* 10
|
|
@@ -1279,7 +1321,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1279
1321
|
internetMaxBandwidthOut?: number;
|
|
1280
1322
|
/**
|
|
1281
1323
|
* @remarks
|
|
1282
|
-
* The key pair name.
|
|
1324
|
+
* The key pair name. Specify either this parameter or `login_password`. For managed node pools, only `key_pair` is supported.
|
|
1283
1325
|
*
|
|
1284
1326
|
* @example
|
|
1285
1327
|
* pro-nodepool
|
|
@@ -1287,11 +1329,11 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1287
1329
|
keyPair?: string;
|
|
1288
1330
|
/**
|
|
1289
1331
|
* @remarks
|
|
1290
|
-
* Specifies whether the ECS instance
|
|
1332
|
+
* Specifies whether to log on to the scaled-out ECS instance as a non-root user.
|
|
1291
1333
|
*
|
|
1292
|
-
* - true:
|
|
1334
|
+
* - true: Log on as a non-root user (ecs-user).
|
|
1293
1335
|
*
|
|
1294
|
-
* - false:
|
|
1336
|
+
* - false: Log on as the root user.
|
|
1295
1337
|
*
|
|
1296
1338
|
* @example
|
|
1297
1339
|
* true
|
|
@@ -1299,7 +1341,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1299
1341
|
loginAsNonRoot?: boolean;
|
|
1300
1342
|
/**
|
|
1301
1343
|
* @remarks
|
|
1302
|
-
* The SSH login password.
|
|
1344
|
+
* 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.
|
|
1303
1345
|
*
|
|
1304
1346
|
* For security purposes, logon password is encrypted in query results.
|
|
1305
1347
|
*
|
|
@@ -1311,11 +1353,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1311
1353
|
* @remarks
|
|
1312
1354
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1313
1355
|
*
|
|
1314
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you
|
|
1356
|
+
* - `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.
|
|
1315
1357
|
*
|
|
1316
|
-
* - `COST_OPTIMIZED`:
|
|
1358
|
+
* - `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.
|
|
1317
1359
|
*
|
|
1318
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types
|
|
1360
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1361
|
+
*
|
|
1362
|
+
* - `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).
|
|
1363
|
+
*
|
|
1364
|
+
* Default value: `PRIORITY`.
|
|
1319
1365
|
*
|
|
1320
1366
|
* @example
|
|
1321
1367
|
* BALANCE
|
|
@@ -1323,7 +1369,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1323
1369
|
multiAzPolicy?: string;
|
|
1324
1370
|
/**
|
|
1325
1371
|
* @remarks
|
|
1326
|
-
* The minimum number of pay-
|
|
1372
|
+
* The minimum number of pay-
|
|
1327
1373
|
*
|
|
1328
1374
|
* @example
|
|
1329
1375
|
* 0
|
|
@@ -1331,7 +1377,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1331
1377
|
onDemandBaseCapacity?: number;
|
|
1332
1378
|
/**
|
|
1333
1379
|
* @remarks
|
|
1334
|
-
* The percentage of pay-as-you-go instances among the
|
|
1380
|
+
* 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\\].
|
|
1335
1381
|
*
|
|
1336
1382
|
* @example
|
|
1337
1383
|
* 20
|
|
@@ -1350,10 +1396,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1350
1396
|
period?: number;
|
|
1351
1397
|
/**
|
|
1352
1398
|
* @remarks
|
|
1353
|
-
* The subscription period
|
|
1399
|
+
* The unit of the subscription period. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1354
1400
|
*
|
|
1355
|
-
* - `Month`: month as the billing
|
|
1356
|
-
* - `Week`: week as the billing
|
|
1401
|
+
* - `Month`: month as the billing cycle.
|
|
1402
|
+
* - `Week`: week as the billing cycle.
|
|
1357
1403
|
*
|
|
1358
1404
|
* @example
|
|
1359
1405
|
* Month
|
|
@@ -1395,12 +1441,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1395
1441
|
ramRoleName?: string;
|
|
1396
1442
|
/**
|
|
1397
1443
|
* @remarks
|
|
1398
|
-
* If an RDS instance list is specified, ECS instances
|
|
1444
|
+
* If an RDS instance list is specified, the ECS instances of cluster nodes are automatically added to the RDS access whitelist.
|
|
1399
1445
|
*/
|
|
1400
1446
|
rdsInstances?: string[];
|
|
1401
1447
|
/**
|
|
1402
1448
|
* @remarks
|
|
1403
|
-
* The resource
|
|
1449
|
+
* The resource pools and resource pool strategy used when creating instances.
|
|
1404
1450
|
*/
|
|
1405
1451
|
resourcePoolOptions?: DescribeClusterNodePoolDetailResponseBodyScalingGroupResourcePoolOptions;
|
|
1406
1452
|
/**
|
|
@@ -1413,10 +1459,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1413
1459
|
scalingGroupId?: string;
|
|
1414
1460
|
/**
|
|
1415
1461
|
* @remarks
|
|
1416
|
-
* The scaling group
|
|
1462
|
+
* The scaling group mode. Valid values:
|
|
1417
1463
|
*
|
|
1418
|
-
* - `release`: standard
|
|
1419
|
-
* - `recycle`: swift
|
|
1464
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1465
|
+
* - `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.
|
|
1420
1466
|
*
|
|
1421
1467
|
* @example
|
|
1422
1468
|
* release
|
|
@@ -1437,10 +1483,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1437
1483
|
securityGroupIds?: string[];
|
|
1438
1484
|
/**
|
|
1439
1485
|
* @remarks
|
|
1440
|
-
* Specifies whether Alibaba Cloud OS security hardening
|
|
1486
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1441
1487
|
*
|
|
1442
|
-
* - `true`:
|
|
1443
|
-
* - `false`:
|
|
1488
|
+
* - `true`: Enable Alibaba Cloud OS security hardening.
|
|
1489
|
+
* - `false`: Disable Alibaba Cloud OS security hardening.
|
|
1444
1490
|
*
|
|
1445
1491
|
* Default value: `false`.
|
|
1446
1492
|
*
|
|
@@ -1450,7 +1496,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1450
1496
|
securityHardeningOs?: boolean;
|
|
1451
1497
|
/**
|
|
1452
1498
|
* @remarks
|
|
1453
|
-
* Specifies whether MLPS 2.0 security hardening
|
|
1499
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes 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.
|
|
1454
1500
|
*
|
|
1455
1501
|
* @example
|
|
1456
1502
|
* false
|
|
@@ -1458,7 +1504,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1458
1504
|
socEnabled?: boolean;
|
|
1459
1505
|
/**
|
|
1460
1506
|
* @remarks
|
|
1461
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1507
|
+
* 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\\].
|
|
1462
1508
|
*
|
|
1463
1509
|
* @example
|
|
1464
1510
|
* 5
|
|
@@ -1466,10 +1512,10 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1466
1512
|
spotInstancePools?: number;
|
|
1467
1513
|
/**
|
|
1468
1514
|
* @remarks
|
|
1469
|
-
*
|
|
1515
|
+
* 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:
|
|
1470
1516
|
*
|
|
1471
1517
|
* - `true`: Spot instance supplementation is enabled.
|
|
1472
|
-
* - `false`: Spot instance supplementation is
|
|
1518
|
+
* - `false`: Spot instance supplementation is not enabled.
|
|
1473
1519
|
*
|
|
1474
1520
|
* @example
|
|
1475
1521
|
* false
|
|
@@ -1477,15 +1523,15 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1477
1523
|
spotInstanceRemedy?: boolean;
|
|
1478
1524
|
/**
|
|
1479
1525
|
* @remarks
|
|
1480
|
-
* The
|
|
1526
|
+
* The price range configuration for spot instances.
|
|
1481
1527
|
*/
|
|
1482
1528
|
spotPriceLimit?: DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit[];
|
|
1483
1529
|
/**
|
|
1484
1530
|
* @remarks
|
|
1485
|
-
* The spot instance
|
|
1531
|
+
* The type of spot instance. Valid values:
|
|
1486
1532
|
* - NoSpot: non-spot instance.
|
|
1487
1533
|
* - SpotWithPriceLimit: spot instance with a price limit.
|
|
1488
|
-
* - SpotAsPriceGo:
|
|
1534
|
+
* - SpotAsPriceGo: spot instance priced at the market rate.
|
|
1489
1535
|
*
|
|
1490
1536
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1491
1537
|
*
|
|
@@ -1495,9 +1541,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1495
1541
|
spotStrategy?: string;
|
|
1496
1542
|
/**
|
|
1497
1543
|
* @remarks
|
|
1498
|
-
* Specifies whether
|
|
1499
|
-
* - true:
|
|
1500
|
-
* - false:
|
|
1544
|
+
* Specifies whether to enable burst performance for the system cloud disk. Valid values:
|
|
1545
|
+
* - true: Enable. When enabled, the cloud disk temporarily boosts performance to handle sudden data read/write pressure during fluctuating workloads until the workload stabilizes.
|
|
1546
|
+
* - false: Disable.
|
|
1501
1547
|
*
|
|
1502
1548
|
* 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).
|
|
1503
1549
|
*
|
|
@@ -1507,12 +1553,12 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1507
1553
|
systemDiskBurstingEnabled?: boolean;
|
|
1508
1554
|
/**
|
|
1509
1555
|
* @remarks
|
|
1510
|
-
* The multiple system cloud disk
|
|
1556
|
+
* 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.
|
|
1511
1557
|
*/
|
|
1512
1558
|
systemDiskCategories?: string[];
|
|
1513
1559
|
/**
|
|
1514
1560
|
* @remarks
|
|
1515
|
-
* The
|
|
1561
|
+
* The type of the system cloud disk. Valid values:
|
|
1516
1562
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1517
1563
|
* - `cloud_ssd`: standard SSD.
|
|
1518
1564
|
* - `cloud_essd`: ESSD.
|
|
@@ -1525,7 +1571,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1525
1571
|
systemDiskCategory?: string;
|
|
1526
1572
|
/**
|
|
1527
1573
|
* @remarks
|
|
1528
|
-
* The encryption algorithm
|
|
1574
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1529
1575
|
*
|
|
1530
1576
|
* @example
|
|
1531
1577
|
* aes-256
|
|
@@ -1533,9 +1579,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1533
1579
|
systemDiskEncryptAlgorithm?: string;
|
|
1534
1580
|
/**
|
|
1535
1581
|
* @remarks
|
|
1536
|
-
* Specifies whether the system cloud disk
|
|
1537
|
-
* - `true`:
|
|
1538
|
-
* - `false`:
|
|
1582
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1583
|
+
* - `true`: Encrypt.
|
|
1584
|
+
* - `false`: Do not encrypt.
|
|
1539
1585
|
*
|
|
1540
1586
|
* @example
|
|
1541
1587
|
* false
|
|
@@ -1543,7 +1589,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1543
1589
|
systemDiskEncrypted?: boolean;
|
|
1544
1590
|
/**
|
|
1545
1591
|
* @remarks
|
|
1546
|
-
* The KMS key ID used
|
|
1592
|
+
* The KMS key ID used by the system cloud disk.
|
|
1547
1593
|
*
|
|
1548
1594
|
* @example
|
|
1549
1595
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1551,7 +1597,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1551
1597
|
systemDiskKmsKeyId?: string;
|
|
1552
1598
|
/**
|
|
1553
1599
|
* @remarks
|
|
1554
|
-
* The performance level of the
|
|
1600
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1555
1601
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1556
1602
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1557
1603
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1563,7 +1609,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1563
1609
|
systemDiskPerformanceLevel?: string;
|
|
1564
1610
|
/**
|
|
1565
1611
|
* @remarks
|
|
1566
|
-
* The provisioned read/write IOPS for the
|
|
1612
|
+
* The provisioned read/write IOPS for the system cloud disk.
|
|
1567
1613
|
*
|
|
1568
1614
|
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1569
1615
|
*
|
|
@@ -1575,7 +1621,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1575
1621
|
systemDiskProvisionedIops?: number;
|
|
1576
1622
|
/**
|
|
1577
1623
|
* @remarks
|
|
1578
|
-
* The
|
|
1624
|
+
* The size of the system cloud disk. Unit: GiB.
|
|
1579
1625
|
*
|
|
1580
1626
|
* Valid values: [20,2048\\].
|
|
1581
1627
|
*
|
|
@@ -1607,6 +1653,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1607
1653
|
autoRenewPeriod: 'auto_renew_period',
|
|
1608
1654
|
cisEnabled: 'cis_enabled',
|
|
1609
1655
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
1656
|
+
cpuOptions: 'cpu_options',
|
|
1610
1657
|
dataDisks: 'data_disks',
|
|
1611
1658
|
deploymentsetId: 'deploymentset_id',
|
|
1612
1659
|
desiredSize: 'desired_size',
|
|
@@ -1664,6 +1711,7 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1664
1711
|
autoRenewPeriod: 'number',
|
|
1665
1712
|
cisEnabled: 'boolean',
|
|
1666
1713
|
compensateWithOnDemand: 'boolean',
|
|
1714
|
+
cpuOptions: DescribeClusterNodePoolDetailResponseBodyScalingGroupCpuOptions,
|
|
1667
1715
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
1668
1716
|
deploymentsetId: 'string',
|
|
1669
1717
|
desiredSize: 'number',
|
|
@@ -1716,6 +1764,9 @@ export class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $dara
|
|
|
1716
1764
|
}
|
|
1717
1765
|
|
|
1718
1766
|
validate() {
|
|
1767
|
+
if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
|
|
1768
|
+
(this.cpuOptions as any).validate();
|
|
1769
|
+
}
|
|
1719
1770
|
if(Array.isArray(this.dataDisks)) {
|
|
1720
1771
|
$dara.Model.validateArray(this.dataDisks);
|
|
1721
1772
|
}
|
|
@@ -1774,7 +1825,7 @@ export class DescribeClusterNodePoolDetailResponseBodyStatusConditions extends $
|
|
|
1774
1825
|
lastTransitionTime?: string;
|
|
1775
1826
|
/**
|
|
1776
1827
|
* @remarks
|
|
1777
|
-
* The detailed
|
|
1828
|
+
* The detailed message.
|
|
1778
1829
|
*
|
|
1779
1830
|
* @example
|
|
1780
1831
|
* AutoUpgradeDisabled
|
|
@@ -1891,11 +1942,11 @@ export class DescribeClusterNodePoolDetailResponseBodyStatus extends $dara.Model
|
|
|
1891
1942
|
* @remarks
|
|
1892
1943
|
* The node pool status. Valid values:
|
|
1893
1944
|
*
|
|
1894
|
-
* - `active`:
|
|
1895
|
-
* - `scaling`:
|
|
1896
|
-
* - `removing`: nodes
|
|
1897
|
-
* - `deleting`:
|
|
1898
|
-
* - `updating`:
|
|
1945
|
+
* - `active`: Active.
|
|
1946
|
+
* - `scaling`: Scaling.
|
|
1947
|
+
* - `removing`: Removing nodes.
|
|
1948
|
+
* - `deleting`: Deleting.
|
|
1949
|
+
* - `updating`: Updating.
|
|
1899
1950
|
*
|
|
1900
1951
|
* @example
|
|
1901
1952
|
* active
|
|
@@ -1955,7 +2006,7 @@ export class DescribeClusterNodePoolDetailResponseBodyTeeConfig extends $dara.Mo
|
|
|
1955
2006
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1956
2007
|
*
|
|
1957
2008
|
* - `true`: Enabled.
|
|
1958
|
-
* - `false`:
|
|
2009
|
+
* - `false`: Not enabled.
|
|
1959
2010
|
*
|
|
1960
2011
|
* @example
|
|
1961
2012
|
* false
|
|
@@ -1996,9 +2047,9 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
1996
2047
|
efloNodeGroup?: DescribeClusterNodePoolDetailResponseBodyEfloNodeGroup;
|
|
1997
2048
|
/**
|
|
1998
2049
|
* @remarks
|
|
1999
|
-
*
|
|
2000
|
-
* - `true`:
|
|
2001
|
-
* - `false`:
|
|
2050
|
+
* Indicates whether the pod network uses host network mode.
|
|
2051
|
+
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
2052
|
+
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
2002
2053
|
*
|
|
2003
2054
|
* @example
|
|
2004
2055
|
* true
|
|
@@ -2008,15 +2059,15 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2008
2059
|
* @remarks
|
|
2009
2060
|
* [This field is deprecated]
|
|
2010
2061
|
*
|
|
2011
|
-
* The network configuration for edge node pools. This value is only meaningful for edge-type node pools.
|
|
2062
|
+
* The network-related configuration for edge node pools. This value is only meaningful for edge-type node pools.
|
|
2012
2063
|
*/
|
|
2013
2064
|
interconnectConfig?: DescribeClusterNodePoolDetailResponseBodyInterconnectConfig;
|
|
2014
2065
|
/**
|
|
2015
2066
|
* @remarks
|
|
2016
2067
|
* The network type of the edge node pool. This parameter takes effect only for node pools with `type` set to `edge`. Valid values:
|
|
2017
2068
|
*
|
|
2018
|
-
* - `basic`:
|
|
2019
|
-
* - `private`:
|
|
2069
|
+
* - `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.
|
|
2070
|
+
* - `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.
|
|
2020
2071
|
*
|
|
2021
2072
|
* @example
|
|
2022
2073
|
* basic
|
|
@@ -2024,9 +2075,9 @@ export class DescribeClusterNodePoolDetailResponseBody extends $dara.Model {
|
|
|
2024
2075
|
interconnectMode?: string;
|
|
2025
2076
|
/**
|
|
2026
2077
|
* @remarks
|
|
2027
|
-
*
|
|
2028
|
-
* - `true`:
|
|
2029
|
-
* - `false`:
|
|
2078
|
+
* Indicates whether nodes within the edge node pool have Layer 3 network connectivity.
|
|
2079
|
+
* - `true`: Connected. All nodes within the node pool have Layer 3 network connectivity.
|
|
2080
|
+
* - `false`: Not connected. All nodes within the node pool do not have Layer 3 network connectivity.
|
|
2030
2081
|
*
|
|
2031
2082
|
* @example
|
|
2032
2083
|
* true
|