@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
|
@@ -12,9 +12,10 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* Specifies whether to enable intelligent managed mode.
|
|
15
|
+
* Specifies whether to enable intelligent managed mode.
|
|
16
|
+
* Valid values:
|
|
16
17
|
* - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
17
|
-
* - false:
|
|
18
|
+
* - false: Disables intelligent managed mode.
|
|
18
19
|
*
|
|
19
20
|
* @example
|
|
20
21
|
* true
|
|
@@ -74,7 +75,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
74
75
|
* @remarks
|
|
75
76
|
* Specifies whether to enable automatic scaling. Valid values:
|
|
76
77
|
*
|
|
77
|
-
* - `true`: enables the automatic 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
|
|
78
|
+
* - `true`: enables the automatic 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 and later enable instant node elasticity by default. Clusters of versions earlier than 1.24 enable node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
78
79
|
*
|
|
79
80
|
* - `false`: disables automatic 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.
|
|
80
81
|
*
|
|
@@ -106,7 +107,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
106
107
|
isBondEip?: boolean;
|
|
107
108
|
/**
|
|
108
109
|
* @remarks
|
|
109
|
-
* The maximum number of instances
|
|
110
|
+
* The maximum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
110
111
|
*
|
|
111
112
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
112
113
|
*
|
|
@@ -116,12 +117,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
116
117
|
maxInstances?: number;
|
|
117
118
|
/**
|
|
118
119
|
* @remarks
|
|
119
|
-
* The minimum number of instances
|
|
120
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
120
121
|
*
|
|
121
122
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
122
123
|
*
|
|
123
|
-
* > - If the minimum instance count is not 0, the
|
|
124
|
-
* > - Set the maximum instance count to a value no less than the current number of nodes in the node pool. Otherwise, nodes in the node pool
|
|
124
|
+
* > - If the minimum instance count is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
125
|
+
* > - Set the maximum instance count to a value no less than the current number of nodes in the node pool. Otherwise, nodes in the node pool will be scaled in after the elastic scaling feature takes effect.
|
|
125
126
|
*
|
|
126
127
|
* @example
|
|
127
128
|
* 1
|
|
@@ -129,7 +130,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
129
130
|
minInstances?: number;
|
|
130
131
|
/**
|
|
131
132
|
* @remarks
|
|
132
|
-
* The automatic scaling instance type.
|
|
133
|
+
* The automatic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
133
134
|
*
|
|
134
135
|
* - `cpu`: regular instance type.
|
|
135
136
|
*
|
|
@@ -180,6 +181,10 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* Specifies whether to enable automatic node addition for the Lingjun node pool.
|
|
187
|
+
*/
|
|
183
188
|
autoAttachEnabled?: boolean;
|
|
184
189
|
/**
|
|
185
190
|
* @remarks
|
|
@@ -197,6 +202,10 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
197
202
|
* ng-ec3c96ff0aa****
|
|
198
203
|
*/
|
|
199
204
|
groupId?: string;
|
|
205
|
+
/**
|
|
206
|
+
* @remarks
|
|
207
|
+
* The Worker RAM role used by the Lingjun node pool.
|
|
208
|
+
*/
|
|
200
209
|
workerRamRoleName?: string;
|
|
201
210
|
static names(): { [key: string]: string } {
|
|
202
211
|
return {
|
|
@@ -308,11 +317,11 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
308
317
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
309
318
|
/**
|
|
310
319
|
* @remarks
|
|
311
|
-
* Specifies whether to install CloudMonitor 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:
|
|
320
|
+
* 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:
|
|
312
321
|
*
|
|
313
|
-
* - `true`: Installs CloudMonitor on ECS nodes.
|
|
322
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
314
323
|
*
|
|
315
|
-
* - `false`: Does not install CloudMonitor on ECS nodes.
|
|
324
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
316
325
|
*
|
|
317
326
|
* Default value: `false`.
|
|
318
327
|
*
|
|
@@ -322,9 +331,9 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
322
331
|
cmsEnabled?: boolean;
|
|
323
332
|
/**
|
|
324
333
|
* @remarks
|
|
325
|
-
* The node CPU management policy. The following two policies are supported for
|
|
334
|
+
* The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
326
335
|
*
|
|
327
|
-
* - `static`: Allows
|
|
336
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
328
337
|
* - `none`: Enables the existing default CPU affinity scheme.
|
|
329
338
|
*
|
|
330
339
|
* Default value: `none`.
|
|
@@ -351,11 +360,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
351
360
|
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
352
361
|
* - The node IP is the full private IP address of the node.
|
|
353
362
|
*
|
|
354
|
-
*
|
|
363
|
+
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
355
364
|
*
|
|
356
|
-
* - For Linux
|
|
365
|
+
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
357
366
|
*
|
|
358
|
-
* - For Windows
|
|
367
|
+
* - For a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
359
368
|
*
|
|
360
369
|
* @example
|
|
361
370
|
* aliyun.com192.XX.YY.55test
|
|
@@ -363,7 +372,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
363
372
|
nodeNameMode?: string;
|
|
364
373
|
/**
|
|
365
374
|
* @remarks
|
|
366
|
-
* The instance pre-
|
|
375
|
+
* The instance pre-user data. Before the node joins the cluster, the specified instance pre-user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
367
376
|
*
|
|
368
377
|
* @example
|
|
369
378
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -410,7 +419,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
410
419
|
unschedulable?: boolean;
|
|
411
420
|
/**
|
|
412
421
|
* @remarks
|
|
413
|
-
* The instance user data. After the node joins the cluster, the specified instance user data script
|
|
422
|
+
* The instance user data. After the node joins the cluster, the specified instance user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
414
423
|
*
|
|
415
424
|
* @example
|
|
416
425
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -467,9 +476,19 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
467
476
|
* Specifies whether node repair requires manual approval.
|
|
468
477
|
*/
|
|
469
478
|
approvalRequired?: boolean;
|
|
479
|
+
/**
|
|
480
|
+
* @example
|
|
481
|
+
* 5
|
|
482
|
+
*/
|
|
483
|
+
maxParallelRepairingNodes?: string;
|
|
484
|
+
/**
|
|
485
|
+
* @example
|
|
486
|
+
* 20%
|
|
487
|
+
*/
|
|
488
|
+
maxUnhealthyNodesThreshold?: string;
|
|
470
489
|
/**
|
|
471
490
|
* @remarks
|
|
472
|
-
* Specifies whether to allow node restart.
|
|
491
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
473
492
|
*
|
|
474
493
|
* - `true`: allows node restart.
|
|
475
494
|
* - `false`: does not allow node restart.
|
|
@@ -483,6 +502,8 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
483
502
|
static names(): { [key: string]: string } {
|
|
484
503
|
return {
|
|
485
504
|
approvalRequired: 'approval_required',
|
|
505
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
506
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
486
507
|
restartNode: 'restart_node',
|
|
487
508
|
};
|
|
488
509
|
}
|
|
@@ -490,6 +511,8 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
490
511
|
static types(): { [key: string]: any } {
|
|
491
512
|
return {
|
|
492
513
|
approvalRequired: 'boolean',
|
|
514
|
+
maxParallelRepairingNodes: 'string',
|
|
515
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
493
516
|
restartNode: 'boolean',
|
|
494
517
|
};
|
|
495
518
|
}
|
|
@@ -506,7 +529,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
506
529
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
507
530
|
/**
|
|
508
531
|
* @remarks
|
|
509
|
-
* Specifies whether to allow automatic kubelet upgrade.
|
|
532
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
510
533
|
* - `true`: allows automatic kubelet upgrade.
|
|
511
534
|
* - `false`: does not allow automatic kubelet upgrade.
|
|
512
535
|
*
|
|
@@ -518,9 +541,9 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
518
541
|
autoUpgradeKubelet?: boolean;
|
|
519
542
|
/**
|
|
520
543
|
* @remarks
|
|
521
|
-
* Specifies whether to allow automatic operating system upgrade.
|
|
522
|
-
* - `true`: allows automatic
|
|
523
|
-
* - `false`: does not allow automatic
|
|
544
|
+
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
545
|
+
* - `true`: allows automatic OS upgrade.
|
|
546
|
+
* - `false`: does not allow automatic OS upgrade.
|
|
524
547
|
*
|
|
525
548
|
*
|
|
526
549
|
* Default value: `false`.
|
|
@@ -531,7 +554,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
531
554
|
autoUpgradeOs?: boolean;
|
|
532
555
|
/**
|
|
533
556
|
* @remarks
|
|
534
|
-
* Specifies whether to allow automatic runtime upgrade.
|
|
557
|
+
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
535
558
|
* - `true`: allows automatic runtime upgrade.
|
|
536
559
|
* - `false`: does not allow automatic runtime upgrade.
|
|
537
560
|
*
|
|
@@ -579,7 +602,7 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
579
602
|
excludePackages?: string;
|
|
580
603
|
/**
|
|
581
604
|
* @remarks
|
|
582
|
-
* Specifies whether to allow node restart.
|
|
605
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
583
606
|
* - `true`: allows node restart.
|
|
584
607
|
* - `false`: does not allow node restart.
|
|
585
608
|
*
|
|
@@ -658,9 +681,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
658
681
|
maxUnavailable?: number;
|
|
659
682
|
/**
|
|
660
683
|
* @remarks
|
|
661
|
-
* The number of extra nodes.
|
|
684
|
+
* The number of extra nodes. Specify either this parameter or `surge_percentage`.
|
|
662
685
|
*
|
|
663
|
-
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster
|
|
686
|
+
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster workload.
|
|
664
687
|
*
|
|
665
688
|
* > The number of extra nodes should not exceed the current number of nodes.
|
|
666
689
|
*
|
|
@@ -670,7 +693,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
670
693
|
surge?: number;
|
|
671
694
|
/**
|
|
672
695
|
* @remarks
|
|
673
|
-
* The percentage of extra nodes.
|
|
696
|
+
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
674
697
|
*
|
|
675
698
|
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
676
699
|
*
|
|
@@ -706,14 +729,18 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
706
729
|
}
|
|
707
730
|
|
|
708
731
|
export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
732
|
+
/**
|
|
733
|
+
* @remarks
|
|
734
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
735
|
+
*/
|
|
709
736
|
autoFaultDiagnosis?: boolean;
|
|
710
737
|
/**
|
|
711
738
|
* @remarks
|
|
712
|
-
* Specifies whether to automatically repair nodes.
|
|
739
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
713
740
|
*
|
|
714
|
-
* - `true`:
|
|
741
|
+
* - `true`: automatically repairs nodes.
|
|
715
742
|
*
|
|
716
|
-
* - `false`:
|
|
743
|
+
* - `false`: does not automatically repair nodes.
|
|
717
744
|
*
|
|
718
745
|
* Default value: `true`.
|
|
719
746
|
*
|
|
@@ -728,7 +755,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
728
755
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
729
756
|
/**
|
|
730
757
|
* @remarks
|
|
731
|
-
* Specifies whether to automatically upgrade nodes.
|
|
758
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
732
759
|
* - `true`: enables auto upgrade.
|
|
733
760
|
* - `false`: disables auto upgrade.
|
|
734
761
|
*
|
|
@@ -745,7 +772,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
745
772
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
746
773
|
/**
|
|
747
774
|
* @remarks
|
|
748
|
-
* Specifies whether to automatically fix CVE vulnerabilities.
|
|
775
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
749
776
|
*
|
|
750
777
|
* - `true`: allows automatic CVE fixing.
|
|
751
778
|
* - `false`: does not allow automatic CVE fixing.
|
|
@@ -761,6 +788,10 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
761
788
|
* The auto CVE fix policy.
|
|
762
789
|
*/
|
|
763
790
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
791
|
+
/**
|
|
792
|
+
* @remarks
|
|
793
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Standard node pools do not support this feature.
|
|
794
|
+
*/
|
|
764
795
|
driftEnabled?: boolean;
|
|
765
796
|
/**
|
|
766
797
|
* @remarks
|
|
@@ -780,7 +811,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
780
811
|
* @remarks
|
|
781
812
|
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
782
813
|
*
|
|
783
|
-
* The auto upgrade configuration.
|
|
814
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
784
815
|
*
|
|
785
816
|
* @deprecated
|
|
786
817
|
*/
|
|
@@ -839,7 +870,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
839
870
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
840
871
|
/**
|
|
841
872
|
* @remarks
|
|
842
|
-
* The node component
|
|
873
|
+
* The custom node component configuration.
|
|
843
874
|
*
|
|
844
875
|
* @example
|
|
845
876
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -1008,6 +1039,36 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1008
1039
|
}
|
|
1009
1040
|
}
|
|
1010
1041
|
|
|
1042
|
+
export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
1043
|
+
/**
|
|
1044
|
+
* @remarks
|
|
1045
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: Disables nested virtualization. enabled: Enables nested virtualization.
|
|
1046
|
+
*
|
|
1047
|
+
* @example
|
|
1048
|
+
* enabled
|
|
1049
|
+
*/
|
|
1050
|
+
nestedVirtualization?: string;
|
|
1051
|
+
static names(): { [key: string]: string } {
|
|
1052
|
+
return {
|
|
1053
|
+
nestedVirtualization: 'nested_virtualization',
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
static types(): { [key: string]: any } {
|
|
1058
|
+
return {
|
|
1059
|
+
nestedVirtualization: 'string',
|
|
1060
|
+
};
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
validate() {
|
|
1064
|
+
super.validate();
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
constructor(map?: { [key: string]: any }) {
|
|
1068
|
+
super(map);
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1011
1072
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1012
1073
|
/**
|
|
1013
1074
|
* @remarks
|
|
@@ -1019,10 +1080,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1019
1080
|
id?: string;
|
|
1020
1081
|
/**
|
|
1021
1082
|
* @remarks
|
|
1022
|
-
* The private node pool type. Specifies the private pool capacity option for instance
|
|
1083
|
+
* The private node pool type. Specifies the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance startup. Valid values:
|
|
1023
1084
|
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1024
|
-
* - `Target`: Targeted mode. Uses the specified private pool capacity to
|
|
1025
|
-
* - `None`: No private pool.
|
|
1085
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to start instances. If the specified private pool capacity is unavailable, instance startup fails.
|
|
1086
|
+
* - `None`: No private pool. Instances do not use private pool capacity.
|
|
1026
1087
|
*
|
|
1027
1088
|
* @example
|
|
1028
1089
|
* Target
|
|
@@ -1059,7 +1120,11 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1059
1120
|
privatePoolIds?: string[];
|
|
1060
1121
|
/**
|
|
1061
1122
|
* @remarks
|
|
1062
|
-
* The resource pool strategy used when creating instances. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools for instance
|
|
1123
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance startup. Valid values:
|
|
1124
|
+
* PrivatePoolFirst: Private pool first. When resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool capacity is insufficient, open-type private pools are automatically matched. If no matching private pool is available, public pool resources are used.
|
|
1125
|
+
* PrivatePoolOnly: Private pool only. resouce_pool_options.private_pool_ids must be specified. If the specified private pool capacity is insufficient, instance startup fails.
|
|
1126
|
+
* None: No resource pool strategy.
|
|
1127
|
+
* Default value: None.
|
|
1063
1128
|
*
|
|
1064
1129
|
* @example
|
|
1065
1130
|
* PrivatePoolFirst
|
|
@@ -1179,7 +1244,7 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
|
|
|
1179
1244
|
export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
1180
1245
|
/**
|
|
1181
1246
|
* @remarks
|
|
1182
|
-
* Specifies whether to enable auto-renewal for nodes in the node pool.
|
|
1247
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1183
1248
|
*
|
|
1184
1249
|
* - `true`: enables auto-renewal.
|
|
1185
1250
|
* - `false`: disables auto-renewal.
|
|
@@ -1214,7 +1279,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1214
1279
|
cisEnabled?: boolean;
|
|
1215
1280
|
/**
|
|
1216
1281
|
* @remarks
|
|
1217
|
-
* 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
|
|
1282
|
+
* 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, inventory, or other reasons. Valid values:
|
|
1218
1283
|
*
|
|
1219
1284
|
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1220
1285
|
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
@@ -1223,6 +1288,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1223
1288
|
* true
|
|
1224
1289
|
*/
|
|
1225
1290
|
compensateWithOnDemand?: boolean;
|
|
1291
|
+
/**
|
|
1292
|
+
* @remarks
|
|
1293
|
+
* The CPU-related configuration options.
|
|
1294
|
+
*/
|
|
1295
|
+
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1226
1296
|
/**
|
|
1227
1297
|
* @remarks
|
|
1228
1298
|
* The data cloud disk configuration for nodes in the node pool.
|
|
@@ -1230,10 +1300,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1230
1300
|
dataDisks?: DataDisk[];
|
|
1231
1301
|
/**
|
|
1232
1302
|
* @remarks
|
|
1233
|
-
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers
|
|
1303
|
+
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers, ensuring high availability and underlying disaster recovery. When creating ECS instances within a deployment set, the system distributes and starts ECS instances in the specified region based on the preconfigured deployment strategy.
|
|
1234
1304
|
*
|
|
1235
1305
|
*
|
|
1236
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
1306
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 20 × number of zones (the number of zones is determined by the vSwitches). Select carefully and ensure that the deployment set has sufficient quota to avoid node scale-out failures.
|
|
1237
1307
|
*
|
|
1238
1308
|
* @example
|
|
1239
1309
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1243,9 +1313,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1243
1313
|
* @remarks
|
|
1244
1314
|
* The desired number of nodes in the node pool.
|
|
1245
1315
|
*
|
|
1246
|
-
* The total number of nodes
|
|
1247
|
-
*
|
|
1248
|
-
* If you do not need to create nodes, set this value to 0 and manually adjust it later to add nodes.
|
|
1316
|
+
* The total number of nodes.
|
|
1249
1317
|
*
|
|
1250
1318
|
* @example
|
|
1251
1319
|
* 0
|
|
@@ -1311,9 +1379,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1311
1379
|
instancePatterns?: InstancePatterns[];
|
|
1312
1380
|
/**
|
|
1313
1381
|
* @remarks
|
|
1314
|
-
* The list of instance types for
|
|
1382
|
+
* The list of instance types for the node pool. When the node pool scales out, it selects eligible instance types from this list to create instances.
|
|
1315
1383
|
*
|
|
1316
|
-
*
|
|
1384
|
+
* The number of supported instance types ranges from 1 to 10.
|
|
1317
1385
|
*
|
|
1318
1386
|
*
|
|
1319
1387
|
* > To ensure high availability, select multiple instance types.
|
|
@@ -1323,7 +1391,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1323
1391
|
instanceTypes?: string[];
|
|
1324
1392
|
/**
|
|
1325
1393
|
* @remarks
|
|
1326
|
-
* The billing method
|
|
1394
|
+
* The billing method for public IP addresses. Valid values:
|
|
1327
1395
|
*
|
|
1328
1396
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1329
1397
|
* - PayByTraffic: pay-by-traffic.
|
|
@@ -1334,7 +1402,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1334
1402
|
internetChargeType?: string;
|
|
1335
1403
|
/**
|
|
1336
1404
|
* @remarks
|
|
1337
|
-
* The maximum outbound public bandwidth
|
|
1405
|
+
* The maximum outbound public bandwidth for nodes. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1338
1406
|
*
|
|
1339
1407
|
* @example
|
|
1340
1408
|
* 5
|
|
@@ -1342,7 +1410,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1342
1410
|
internetMaxBandwidthOut?: number;
|
|
1343
1411
|
/**
|
|
1344
1412
|
* @remarks
|
|
1345
|
-
* The key pair
|
|
1413
|
+
* The name of the key pair for password-free logon. Specify either this parameter or `login_password`.
|
|
1346
1414
|
*
|
|
1347
1415
|
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1348
1416
|
*
|
|
@@ -1352,7 +1420,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1352
1420
|
keyPair?: string;
|
|
1353
1421
|
/**
|
|
1354
1422
|
* @remarks
|
|
1355
|
-
* Specifies whether
|
|
1423
|
+
* Specifies whether ECS instances use a non-root user for logon.
|
|
1356
1424
|
*
|
|
1357
1425
|
* - true: logs on as a non-root user (ecs-user).
|
|
1358
1426
|
*
|
|
@@ -1364,7 +1432,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1364
1432
|
loginAsNonRoot?: boolean;
|
|
1365
1433
|
/**
|
|
1366
1434
|
* @remarks
|
|
1367
|
-
* The SSH logon password.
|
|
1435
|
+
* The SSH logon password. Specify either this parameter or `key_pair`. The 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.
|
|
1368
1436
|
*
|
|
1369
1437
|
* @example
|
|
1370
1438
|
* ****
|
|
@@ -1372,15 +1440,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1372
1440
|
loginPassword?: string;
|
|
1373
1441
|
/**
|
|
1374
1442
|
* @remarks
|
|
1375
|
-
* The scaling policy for ECS instances in
|
|
1443
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1376
1444
|
*
|
|
1377
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of
|
|
1445
|
+
* - `PRIORITY`: Scales instances based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1378
1446
|
*
|
|
1379
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price
|
|
1447
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in ascending order of vCPU unit price. When the scaling configuration sets multiple instance types with the spot billable methods, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether the system is allowed to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1380
1448
|
*
|
|
1381
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
1449
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
|
|
1382
1450
|
*
|
|
1383
|
-
* - `BALANCE`: Evenly allocates ECS instances across the
|
|
1451
|
+
* - `BALANCE`: Evenly allocates ECS instances across the active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to rebalance resources.
|
|
1384
1452
|
*
|
|
1385
1453
|
* Default value: `PRIORITY`.
|
|
1386
1454
|
*
|
|
@@ -1398,7 +1466,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1398
1466
|
onDemandBaseCapacity?: number;
|
|
1399
1467
|
/**
|
|
1400
1468
|
* @remarks
|
|
1401
|
-
* The percentage of pay-as-you-go instances among the
|
|
1469
|
+
* 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\\].
|
|
1402
1470
|
*
|
|
1403
1471
|
* @example
|
|
1404
1472
|
* 20
|
|
@@ -1406,7 +1474,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1406
1474
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1407
1475
|
/**
|
|
1408
1476
|
* @remarks
|
|
1409
|
-
* The subscription duration of nodes in the node pool.
|
|
1477
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1410
1478
|
*
|
|
1411
1479
|
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1412
1480
|
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
@@ -1417,10 +1485,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1417
1485
|
period?: number;
|
|
1418
1486
|
/**
|
|
1419
1487
|
* @remarks
|
|
1420
|
-
* The billing period unit of nodes in the node pool.
|
|
1488
|
+
* The billing period unit of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1421
1489
|
*
|
|
1422
|
-
* - `Month`:
|
|
1423
|
-
* - `Week`:
|
|
1490
|
+
* - `Month`: uses month as the billing unit.
|
|
1491
|
+
* - `Week`: uses week as the billing unit.
|
|
1424
1492
|
*
|
|
1425
1493
|
* Default value: `Month`.
|
|
1426
1494
|
*
|
|
@@ -1466,12 +1534,14 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1466
1534
|
ramRoleName?: string;
|
|
1467
1535
|
/**
|
|
1468
1536
|
* @remarks
|
|
1469
|
-
* The list of RDS instances.
|
|
1537
|
+
* The list of ApsaraDB RDS instances.
|
|
1470
1538
|
*/
|
|
1471
1539
|
rdsInstances?: string[];
|
|
1472
1540
|
/**
|
|
1473
1541
|
* @remarks
|
|
1474
|
-
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter:
|
|
1542
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter:
|
|
1543
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1544
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1475
1545
|
*/
|
|
1476
1546
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1477
1547
|
/**
|
|
@@ -1479,7 +1549,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1479
1549
|
* The scaling group mode. Valid values:
|
|
1480
1550
|
*
|
|
1481
1551
|
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1482
|
-
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves subsequent scaling
|
|
1552
|
+
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Stopped instances are not charged for compute resources but are charged for storage, except for instances with local disks.
|
|
1483
1553
|
*
|
|
1484
1554
|
* Default value: `release`.
|
|
1485
1555
|
*
|
|
@@ -1499,7 +1569,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1499
1569
|
securityGroupId?: string;
|
|
1500
1570
|
/**
|
|
1501
1571
|
* @remarks
|
|
1502
|
-
* The list of security group IDs.
|
|
1572
|
+
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend using `security_group_ids`. When both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1503
1573
|
*/
|
|
1504
1574
|
securityGroupIds?: string[];
|
|
1505
1575
|
/**
|
|
@@ -1517,7 +1587,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1517
1587
|
securityHardeningOs?: boolean;
|
|
1518
1588
|
/**
|
|
1519
1589
|
* @remarks
|
|
1520
|
-
* Specifies whether to enable
|
|
1590
|
+
* Specifies whether to enable MLPS 2.0 security hardening. This feature is available 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.
|
|
1521
1591
|
*
|
|
1522
1592
|
* @example
|
|
1523
1593
|
* false
|
|
@@ -1549,13 +1619,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1549
1619
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1550
1620
|
/**
|
|
1551
1621
|
* @remarks
|
|
1552
|
-
* The spot
|
|
1622
|
+
* The bidding policy for spot instances. Valid values:
|
|
1553
1623
|
*
|
|
1554
1624
|
* - `NoSpot`: non-spot instance.
|
|
1555
1625
|
*
|
|
1556
|
-
* - `SpotWithPriceLimit`:
|
|
1626
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1557
1627
|
*
|
|
1558
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1628
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1559
1629
|
*
|
|
1560
1630
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1561
1631
|
*
|
|
@@ -1565,9 +1635,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1565
1635
|
spotStrategy?: string;
|
|
1566
1636
|
/**
|
|
1567
1637
|
* @remarks
|
|
1568
|
-
* Specifies whether to enable burst (performance
|
|
1569
|
-
* - true:
|
|
1570
|
-
* - false:
|
|
1638
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1639
|
+
* - true: enables burst.
|
|
1640
|
+
* - false: disables burst.
|
|
1571
1641
|
*
|
|
1572
1642
|
* 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).
|
|
1573
1643
|
*
|
|
@@ -1577,7 +1647,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1577
1647
|
systemDiskBurstingEnabled?: boolean;
|
|
1578
1648
|
/**
|
|
1579
1649
|
* @remarks
|
|
1580
|
-
* Multiple system cloud disk types. When a higher-priority
|
|
1650
|
+
* Multiple system cloud disk types. When a higher-priority disk type is unavailable, the system automatically tries the next-priority disk type to create the system cloud disk.
|
|
1581
1651
|
*/
|
|
1582
1652
|
systemDiskCategories?: string[];
|
|
1583
1653
|
/**
|
|
@@ -1607,9 +1677,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1607
1677
|
* @remarks
|
|
1608
1678
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1609
1679
|
*
|
|
1610
|
-
* - true:
|
|
1680
|
+
* - true: encrypts the system cloud disk.
|
|
1611
1681
|
*
|
|
1612
|
-
* - false:
|
|
1682
|
+
* - false: does not encrypt the system cloud disk.
|
|
1613
1683
|
*
|
|
1614
1684
|
* @example
|
|
1615
1685
|
* false
|
|
@@ -1625,7 +1695,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1625
1695
|
systemDiskKmsKeyId?: string;
|
|
1626
1696
|
/**
|
|
1627
1697
|
* @remarks
|
|
1628
|
-
* The performance level of the node system cloud disk.
|
|
1698
|
+
* 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 disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1629
1699
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1630
1700
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1631
1701
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1687,6 +1757,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1687
1757
|
autoRenewPeriod: 'auto_renew_period',
|
|
1688
1758
|
cisEnabled: 'cis_enabled',
|
|
1689
1759
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
1760
|
+
cpuOptions: 'cpu_options',
|
|
1690
1761
|
dataDisks: 'data_disks',
|
|
1691
1762
|
deploymentsetId: 'deploymentset_id',
|
|
1692
1763
|
desiredSize: 'desired_size',
|
|
@@ -1742,6 +1813,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1742
1813
|
autoRenewPeriod: 'number',
|
|
1743
1814
|
cisEnabled: 'boolean',
|
|
1744
1815
|
compensateWithOnDemand: 'boolean',
|
|
1816
|
+
cpuOptions: CreateClusterNodePoolRequestScalingGroupCpuOptions,
|
|
1745
1817
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
1746
1818
|
deploymentsetId: 'string',
|
|
1747
1819
|
desiredSize: 'number',
|
|
@@ -1792,6 +1864,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1792
1864
|
}
|
|
1793
1865
|
|
|
1794
1866
|
validate() {
|
|
1867
|
+
if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
|
|
1868
|
+
(this.cpuOptions as any).validate();
|
|
1869
|
+
}
|
|
1795
1870
|
if(Array.isArray(this.dataDisks)) {
|
|
1796
1871
|
$dara.Model.validateArray(this.dataDisks);
|
|
1797
1872
|
}
|
|
@@ -1846,7 +1921,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1846
1921
|
*
|
|
1847
1922
|
* - true: Enables confidential computing.
|
|
1848
1923
|
*
|
|
1849
|
-
* - false:
|
|
1924
|
+
* - false: Disables confidential computing.
|
|
1850
1925
|
*
|
|
1851
1926
|
* @example
|
|
1852
1927
|
* true
|
|
@@ -1876,7 +1951,7 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1876
1951
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1877
1952
|
/**
|
|
1878
1953
|
* @remarks
|
|
1879
|
-
* The
|
|
1954
|
+
* The intelligent managed configuration for the node pool.
|
|
1880
1955
|
*/
|
|
1881
1956
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1882
1957
|
/**
|
|
@@ -1934,8 +2009,8 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1934
2009
|
/**
|
|
1935
2010
|
* @remarks
|
|
1936
2011
|
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
1937
|
-
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1938
|
-
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity.
|
|
2012
|
+
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity with each other.
|
|
2013
|
+
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity with each other.
|
|
1939
2014
|
*
|
|
1940
2015
|
* @example
|
|
1941
2016
|
* true
|
|
@@ -1965,7 +2040,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1965
2040
|
maxNodes?: number;
|
|
1966
2041
|
/**
|
|
1967
2042
|
* @remarks
|
|
1968
|
-
* The node
|
|
2043
|
+
* The list of node components.
|
|
1969
2044
|
*/
|
|
1970
2045
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1971
2046
|
/**
|