@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
|
@@ -12,7 +12,8 @@ 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
18
|
* - false: Disables intelligent managed mode.
|
|
18
19
|
*
|
|
@@ -60,7 +61,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
60
61
|
*
|
|
61
62
|
* The billing method of the EIP. Valid values:
|
|
62
63
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
63
|
-
* - `PayByTraffic`: pay-by-
|
|
64
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
64
65
|
*
|
|
65
66
|
* Default value: `PayByBandwidth`.
|
|
66
67
|
*
|
|
@@ -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
|
|
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
|
*
|
|
@@ -90,7 +91,7 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
90
91
|
* @remarks
|
|
91
92
|
* [Deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
92
93
|
*
|
|
93
|
-
* Specifies whether to associate an
|
|
94
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
94
95
|
*
|
|
95
96
|
* - `true`: associates an EIP.
|
|
96
97
|
*
|
|
@@ -120,8 +121,8 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
120
121
|
*
|
|
121
122
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
122
123
|
*
|
|
123
|
-
* > - If the minimum
|
|
124
|
-
* > - Set the maximum
|
|
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,13 +130,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
129
130
|
minInstances?: number;
|
|
130
131
|
/**
|
|
131
132
|
* @remarks
|
|
132
|
-
* The automatic
|
|
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
|
*
|
|
136
137
|
* - `gpu`: GPU instance type.
|
|
137
138
|
*
|
|
138
|
-
* - `gpushare`: GPU
|
|
139
|
+
* - `gpushare`: GPU shared type.
|
|
139
140
|
*
|
|
140
141
|
* - `spot`: spot instance type.
|
|
141
142
|
*
|
|
@@ -180,10 +181,14 @@ 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
|
|
186
|
-
* The Lingjun cluster ID to associate
|
|
191
|
+
* The Lingjun cluster ID to associate when creating a Lingjun node pool.
|
|
187
192
|
*
|
|
188
193
|
* @example
|
|
189
194
|
* i1169130516633730****
|
|
@@ -191,12 +196,16 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
191
196
|
clusterId?: string;
|
|
192
197
|
/**
|
|
193
198
|
* @remarks
|
|
194
|
-
* The Lingjun group ID of the Lingjun cluster to associate
|
|
199
|
+
* The Lingjun group ID of the Lingjun cluster to associate when creating a Lingjun node pool.
|
|
195
200
|
*
|
|
196
201
|
* @example
|
|
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 {
|
|
@@ -322,7 +331,7 @@ 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
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.
|
|
@@ -363,7 +372,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
363
372
|
nodeNameMode?: string;
|
|
364
373
|
/**
|
|
365
374
|
* @remarks
|
|
366
|
-
* The instance pre-user data. Before the node joins the cluster, the specified pre-user data script is
|
|
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
|
|
@@ -398,7 +407,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
398
407
|
taints?: Taint[];
|
|
399
408
|
/**
|
|
400
409
|
* @remarks
|
|
401
|
-
* Specifies whether
|
|
410
|
+
* Specifies whether scaled-out nodes are unschedulable.
|
|
402
411
|
*
|
|
403
412
|
* - true: Unschedulable.
|
|
404
413
|
*
|
|
@@ -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 user data script is
|
|
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,6 +476,16 @@ 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
491
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
@@ -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
|
}
|
|
@@ -519,8 +542,8 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
519
542
|
/**
|
|
520
543
|
* @remarks
|
|
521
544
|
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
522
|
-
* - `true`: allows automatic
|
|
523
|
-
* - `false`: does not allow automatic
|
|
545
|
+
* - `true`: allows automatic OS upgrade.
|
|
546
|
+
* - `false`: does not allow automatic OS upgrade.
|
|
524
547
|
*
|
|
525
548
|
*
|
|
526
549
|
* Default value: `false`.
|
|
@@ -633,11 +656,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
633
656
|
* @remarks
|
|
634
657
|
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
635
658
|
*
|
|
636
|
-
* Specifies whether to enable
|
|
659
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
637
660
|
*
|
|
638
|
-
* - `true`: enables
|
|
661
|
+
* - `true`: enables auto upgrade.
|
|
639
662
|
*
|
|
640
|
-
* - `false`: disables
|
|
663
|
+
* - `false`: disables auto upgrade.
|
|
641
664
|
*
|
|
642
665
|
* @example
|
|
643
666
|
* null
|
|
@@ -660,7 +683,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
660
683
|
* @remarks
|
|
661
684
|
* The number of extra nodes. Specify either this parameter or `surge_percentage`.
|
|
662
685
|
*
|
|
663
|
-
* Nodes become unavailable during
|
|
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
|
*
|
|
@@ -672,7 +695,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
672
695
|
* @remarks
|
|
673
696
|
* The percentage of extra nodes. Specify either this parameter or `surge`.
|
|
674
697
|
*
|
|
675
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage
|
|
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
|
*
|
|
677
700
|
* @example
|
|
678
701
|
* 0
|
|
@@ -706,6 +729,10 @@ 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
|
|
@@ -729,8 +756,8 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
729
756
|
/**
|
|
730
757
|
* @remarks
|
|
731
758
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
732
|
-
* - `true`: enables
|
|
733
|
-
* - `false`: disables
|
|
759
|
+
* - `true`: enables auto upgrade.
|
|
760
|
+
* - `false`: disables auto upgrade.
|
|
734
761
|
*
|
|
735
762
|
* Default value: `true`.
|
|
736
763
|
*
|
|
@@ -761,6 +788,11 @@ 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
|
+
*/
|
|
795
|
+
driftEnabled?: boolean;
|
|
764
796
|
/**
|
|
765
797
|
* @remarks
|
|
766
798
|
* Specifies whether to enable the managed feature for the node pool. Valid values:
|
|
@@ -779,7 +811,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
779
811
|
* @remarks
|
|
780
812
|
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
781
813
|
*
|
|
782
|
-
* The
|
|
814
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
783
815
|
*
|
|
784
816
|
* @deprecated
|
|
785
817
|
*/
|
|
@@ -793,6 +825,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
793
825
|
autoUpgradePolicy: 'auto_upgrade_policy',
|
|
794
826
|
autoVulFix: 'auto_vul_fix',
|
|
795
827
|
autoVulFixPolicy: 'auto_vul_fix_policy',
|
|
828
|
+
driftEnabled: 'drift_enabled',
|
|
796
829
|
enable: 'enable',
|
|
797
830
|
upgradeConfig: 'upgrade_config',
|
|
798
831
|
};
|
|
@@ -807,6 +840,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
807
840
|
autoUpgradePolicy: CreateClusterNodePoolRequestManagementAutoUpgradePolicy,
|
|
808
841
|
autoVulFix: 'boolean',
|
|
809
842
|
autoVulFixPolicy: CreateClusterNodePoolRequestManagementAutoVulFixPolicy,
|
|
843
|
+
driftEnabled: 'boolean',
|
|
810
844
|
enable: 'boolean',
|
|
811
845
|
upgradeConfig: CreateClusterNodePoolRequestManagementUpgradeConfig,
|
|
812
846
|
};
|
|
@@ -836,7 +870,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
836
870
|
export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
837
871
|
/**
|
|
838
872
|
* @remarks
|
|
839
|
-
* The node component
|
|
873
|
+
* The custom node component configuration.
|
|
840
874
|
*
|
|
841
875
|
* @example
|
|
842
876
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -959,7 +993,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
959
993
|
name?: string;
|
|
960
994
|
/**
|
|
961
995
|
* @remarks
|
|
962
|
-
* The resource group ID of the node pool. Instances
|
|
996
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
963
997
|
*
|
|
964
998
|
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
965
999
|
*
|
|
@@ -971,7 +1005,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
971
1005
|
* @remarks
|
|
972
1006
|
* The node pool type. Valid values:
|
|
973
1007
|
*
|
|
974
|
-
* - `ess`: standard node pool (includes managed features and automatic
|
|
1008
|
+
* - `ess`: standard node pool (includes managed features and automatic scaling).
|
|
975
1009
|
* - `edge`: edge node pool.
|
|
976
1010
|
* - `lingjun`: Lingjun node pool.
|
|
977
1011
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -1005,6 +1039,36 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1005
1039
|
}
|
|
1006
1040
|
}
|
|
1007
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
|
+
|
|
1008
1072
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1009
1073
|
/**
|
|
1010
1074
|
* @remarks
|
|
@@ -1017,9 +1081,9 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1017
1081
|
/**
|
|
1018
1082
|
* @remarks
|
|
1019
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:
|
|
1020
|
-
* - `Open`: Open mode. Automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
1021
|
-
* - `Target`:
|
|
1022
|
-
* - `None`: No private pool
|
|
1084
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
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.
|
|
1023
1087
|
*
|
|
1024
1088
|
* @example
|
|
1025
1089
|
* Target
|
|
@@ -1056,10 +1120,10 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1056
1120
|
privatePoolIds?: string[];
|
|
1057
1121
|
/**
|
|
1058
1122
|
* @remarks
|
|
1059
|
-
* The resource pool strategy used when creating instances. Resource pools include private pools generated
|
|
1060
|
-
* PrivatePoolFirst: Private pool first. When
|
|
1061
|
-
* PrivatePoolOnly: Private pool only.
|
|
1062
|
-
* None: No resource pool strategy
|
|
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.
|
|
1063
1127
|
* Default value: None.
|
|
1064
1128
|
*
|
|
1065
1129
|
* @example
|
|
@@ -1194,8 +1258,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1194
1258
|
/**
|
|
1195
1259
|
* @remarks
|
|
1196
1260
|
* The duration of each auto-renewal cycle. Valid values:
|
|
1197
|
-
* -
|
|
1198
|
-
* -
|
|
1261
|
+
* - PeriodUnit=Week: 1, 2, 3.
|
|
1262
|
+
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
1199
1263
|
*
|
|
1200
1264
|
* Default value: 1.
|
|
1201
1265
|
*
|
|
@@ -1215,15 +1279,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1215
1279
|
cisEnabled?: boolean;
|
|
1216
1280
|
/**
|
|
1217
1281
|
* @remarks
|
|
1218
|
-
*
|
|
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:
|
|
1219
1283
|
*
|
|
1220
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
1221
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
1284
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1285
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet ECS instance quantity requirements.
|
|
1222
1286
|
*
|
|
1223
1287
|
* @example
|
|
1224
1288
|
* true
|
|
1225
1289
|
*/
|
|
1226
1290
|
compensateWithOnDemand?: boolean;
|
|
1291
|
+
/**
|
|
1292
|
+
* @remarks
|
|
1293
|
+
* The CPU-related configuration options.
|
|
1294
|
+
*/
|
|
1295
|
+
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
1227
1296
|
/**
|
|
1228
1297
|
* @remarks
|
|
1229
1298
|
* The data cloud disk configuration for nodes in the node pool.
|
|
@@ -1231,7 +1300,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1231
1300
|
dataDisks?: DataDisk[];
|
|
1232
1301
|
/**
|
|
1233
1302
|
* @remarks
|
|
1234
|
-
* 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.
|
|
1235
1304
|
*
|
|
1236
1305
|
*
|
|
1237
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.
|
|
@@ -1244,10 +1313,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1244
1313
|
* @remarks
|
|
1245
1314
|
* The desired number of nodes in the node pool.
|
|
1246
1315
|
*
|
|
1247
|
-
* The total number of nodes
|
|
1248
|
-
*
|
|
1249
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust the value later to add nodes.
|
|
1250
|
-
* [_single.params.body.props.scaling_group
|
|
1316
|
+
* The total number of nodes.
|
|
1251
1317
|
*
|
|
1252
1318
|
* @example
|
|
1253
1319
|
* 0
|
|
@@ -1313,10 +1379,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1313
1379
|
instancePatterns?: InstancePatterns[];
|
|
1314
1380
|
/**
|
|
1315
1381
|
* @remarks
|
|
1316
|
-
* 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.
|
|
1317
1383
|
*
|
|
1318
1384
|
* The number of supported instance types ranges from 1 to 10.
|
|
1319
1385
|
*
|
|
1386
|
+
*
|
|
1320
1387
|
* > To ensure high availability, select multiple instance types.
|
|
1321
1388
|
*
|
|
1322
1389
|
* This parameter is required.
|
|
@@ -1324,10 +1391,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1324
1391
|
instanceTypes?: string[];
|
|
1325
1392
|
/**
|
|
1326
1393
|
* @remarks
|
|
1327
|
-
* The billing method
|
|
1394
|
+
* The billing method for public IP addresses. Valid values:
|
|
1328
1395
|
*
|
|
1329
1396
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1330
|
-
* - PayByTraffic: pay-by-
|
|
1397
|
+
* - PayByTraffic: pay-by-traffic.
|
|
1331
1398
|
*
|
|
1332
1399
|
* @example
|
|
1333
1400
|
* PayByTraffic
|
|
@@ -1335,7 +1402,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1335
1402
|
internetChargeType?: string;
|
|
1336
1403
|
/**
|
|
1337
1404
|
* @remarks
|
|
1338
|
-
* The maximum outbound public bandwidth
|
|
1405
|
+
* The maximum outbound public bandwidth for nodes. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1339
1406
|
*
|
|
1340
1407
|
* @example
|
|
1341
1408
|
* 5
|
|
@@ -1353,7 +1420,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1353
1420
|
keyPair?: string;
|
|
1354
1421
|
/**
|
|
1355
1422
|
* @remarks
|
|
1356
|
-
* Specifies whether
|
|
1423
|
+
* Specifies whether ECS instances use a non-root user for logon.
|
|
1357
1424
|
*
|
|
1358
1425
|
* - true: logs on as a non-root user (ecs-user).
|
|
1359
1426
|
*
|
|
@@ -1365,7 +1432,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1365
1432
|
loginAsNonRoot?: boolean;
|
|
1366
1433
|
/**
|
|
1367
1434
|
* @remarks
|
|
1368
|
-
* The SSH logon password. Specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and
|
|
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.
|
|
1369
1436
|
*
|
|
1370
1437
|
* @example
|
|
1371
1438
|
* ****
|
|
@@ -1377,11 +1444,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1377
1444
|
*
|
|
1378
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.
|
|
1379
1446
|
*
|
|
1380
|
-
* - `COST_OPTIMIZED`:
|
|
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.
|
|
1381
1448
|
*
|
|
1382
1449
|
* >`COST_OPTIMIZED` takes effect only when the scaling configuration sets multiple instance types or uses spot instances.
|
|
1383
1450
|
*
|
|
1384
|
-
* - `BALANCE`:
|
|
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.
|
|
1385
1452
|
*
|
|
1386
1453
|
* Default value: `PRIORITY`.
|
|
1387
1454
|
*
|
|
@@ -1418,10 +1485,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1418
1485
|
period?: number;
|
|
1419
1486
|
/**
|
|
1420
1487
|
* @remarks
|
|
1421
|
-
* The billing
|
|
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`.
|
|
1422
1489
|
*
|
|
1423
|
-
* - `Month`: uses month as the
|
|
1424
|
-
* - `Week`: uses week as the
|
|
1490
|
+
* - `Month`: uses month as the billing unit.
|
|
1491
|
+
* - `Week`: uses week as the billing unit.
|
|
1425
1492
|
*
|
|
1426
1493
|
* Default value: `Month`.
|
|
1427
1494
|
*
|
|
@@ -1457,9 +1524,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1457
1524
|
* The Worker RAM role name.
|
|
1458
1525
|
*
|
|
1459
1526
|
* * If left empty, the default Worker RAM role created by the cluster is used.
|
|
1460
|
-
* * If specified, the RAM role must be a **normal service role** with its **trusted service**
|
|
1527
|
+
* * If specified, the RAM role must be a **normal service role** with its **trusted service** configured as **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). When the specified RAM role is not the default Worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1461
1528
|
*
|
|
1462
|
-
* >Notice:
|
|
1529
|
+
* >Notice: Only ACK managed clusters of version 1.22 or later support this parameter.
|
|
1463
1530
|
*
|
|
1464
1531
|
* @example
|
|
1465
1532
|
* example-role
|
|
@@ -1467,7 +1534,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1467
1534
|
ramRoleName?: string;
|
|
1468
1535
|
/**
|
|
1469
1536
|
* @remarks
|
|
1470
|
-
* The list of RDS instances.
|
|
1537
|
+
* The list of ApsaraDB RDS instances.
|
|
1471
1538
|
*/
|
|
1472
1539
|
rdsInstances?: string[];
|
|
1473
1540
|
/**
|
|
@@ -1482,7 +1549,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1482
1549
|
* The scaling group mode. Valid values:
|
|
1483
1550
|
*
|
|
1484
1551
|
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1485
|
-
* - `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
|
|
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.
|
|
1486
1553
|
*
|
|
1487
1554
|
* Default value: `release`.
|
|
1488
1555
|
*
|
|
@@ -1502,7 +1569,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1502
1569
|
securityGroupId?: string;
|
|
1503
1570
|
/**
|
|
1504
1571
|
* @remarks
|
|
1505
|
-
* The list of security group IDs. Specify either this parameter or `security_group_id`. We recommend
|
|
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.
|
|
1506
1573
|
*/
|
|
1507
1574
|
securityGroupIds?: string[];
|
|
1508
1575
|
/**
|
|
@@ -1536,10 +1603,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1536
1603
|
spotInstancePools?: number;
|
|
1537
1604
|
/**
|
|
1538
1605
|
* @remarks
|
|
1539
|
-
* Specifies whether to enable
|
|
1606
|
+
* Specifies whether to enable supplementing spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1540
1607
|
*
|
|
1541
|
-
* - `true`: Enables
|
|
1542
|
-
* - `false`: Disables
|
|
1608
|
+
* - `true`: Enables supplementing spot instances.
|
|
1609
|
+
* - `false`: Disables supplementing spot instances.
|
|
1543
1610
|
*
|
|
1544
1611
|
* @example
|
|
1545
1612
|
* false
|
|
@@ -1547,18 +1614,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1547
1614
|
spotInstanceRemedy?: boolean;
|
|
1548
1615
|
/**
|
|
1549
1616
|
* @remarks
|
|
1550
|
-
* The
|
|
1617
|
+
* The price limit configuration for the current spot instance type.
|
|
1551
1618
|
*/
|
|
1552
1619
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1553
1620
|
/**
|
|
1554
1621
|
* @remarks
|
|
1555
|
-
* The
|
|
1622
|
+
* The bidding policy for spot instances. Valid values:
|
|
1556
1623
|
*
|
|
1557
1624
|
* - `NoSpot`: non-spot instance.
|
|
1558
1625
|
*
|
|
1559
|
-
* - `SpotWithPriceLimit`:
|
|
1626
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1560
1627
|
*
|
|
1561
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1628
|
+
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1562
1629
|
*
|
|
1563
1630
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1564
1631
|
*
|
|
@@ -1569,8 +1636,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1569
1636
|
/**
|
|
1570
1637
|
* @remarks
|
|
1571
1638
|
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1572
|
-
* - true:
|
|
1573
|
-
* - false:
|
|
1639
|
+
* - true: enables burst.
|
|
1640
|
+
* - false: disables burst.
|
|
1574
1641
|
*
|
|
1575
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).
|
|
1576
1643
|
*
|
|
@@ -1580,12 +1647,12 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1580
1647
|
systemDiskBurstingEnabled?: boolean;
|
|
1581
1648
|
/**
|
|
1582
1649
|
* @remarks
|
|
1583
|
-
*
|
|
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.
|
|
1584
1651
|
*/
|
|
1585
1652
|
systemDiskCategories?: string[];
|
|
1586
1653
|
/**
|
|
1587
1654
|
* @remarks
|
|
1588
|
-
* The
|
|
1655
|
+
* The system cloud disk type of nodes. Valid values:
|
|
1589
1656
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1590
1657
|
* - `cloud_ssd`: standard SSD.
|
|
1591
1658
|
* - `cloud_essd`: ESSD.
|
|
@@ -1600,7 +1667,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1600
1667
|
systemDiskCategory?: string;
|
|
1601
1668
|
/**
|
|
1602
1669
|
* @remarks
|
|
1603
|
-
* The encryption algorithm
|
|
1670
|
+
* The encryption algorithm for the system cloud disk. Valid values: aes-256.
|
|
1604
1671
|
*
|
|
1605
1672
|
* @example
|
|
1606
1673
|
* aes-256
|
|
@@ -1610,9 +1677,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1610
1677
|
* @remarks
|
|
1611
1678
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1612
1679
|
*
|
|
1613
|
-
* - true:
|
|
1680
|
+
* - true: encrypts the system cloud disk.
|
|
1614
1681
|
*
|
|
1615
|
-
* - false:
|
|
1682
|
+
* - false: does not encrypt the system cloud disk.
|
|
1616
1683
|
*
|
|
1617
1684
|
* @example
|
|
1618
1685
|
* false
|
|
@@ -1628,7 +1695,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1628
1695
|
systemDiskKmsKeyId?: string;
|
|
1629
1696
|
/**
|
|
1630
1697
|
* @remarks
|
|
1631
|
-
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level
|
|
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).
|
|
1632
1699
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1633
1700
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1634
1701
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1642,7 +1709,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1642
1709
|
* @remarks
|
|
1643
1710
|
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1644
1711
|
*
|
|
1645
|
-
* Valid values: 0
|
|
1712
|
+
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1646
1713
|
*
|
|
1647
1714
|
* 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).
|
|
1648
1715
|
*
|
|
@@ -1652,7 +1719,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1652
1719
|
systemDiskProvisionedIops?: number;
|
|
1653
1720
|
/**
|
|
1654
1721
|
* @remarks
|
|
1655
|
-
* The
|
|
1722
|
+
* The system cloud disk size of nodes. Unit: GiB.
|
|
1656
1723
|
*
|
|
1657
1724
|
* Valid values: [20,2048\\].
|
|
1658
1725
|
*
|
|
@@ -1672,7 +1739,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1672
1739
|
* @remarks
|
|
1673
1740
|
* Tags added only to ECS instances.
|
|
1674
1741
|
*
|
|
1675
|
-
* Tag keys cannot be duplicated and
|
|
1742
|
+
* Tag keys cannot be duplicated and have a maximum length of 128 characters. Tag keys and values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1676
1743
|
*/
|
|
1677
1744
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1678
1745
|
/**
|
|
@@ -1690,6 +1757,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1690
1757
|
autoRenewPeriod: 'auto_renew_period',
|
|
1691
1758
|
cisEnabled: 'cis_enabled',
|
|
1692
1759
|
compensateWithOnDemand: 'compensate_with_on_demand',
|
|
1760
|
+
cpuOptions: 'cpu_options',
|
|
1693
1761
|
dataDisks: 'data_disks',
|
|
1694
1762
|
deploymentsetId: 'deploymentset_id',
|
|
1695
1763
|
desiredSize: 'desired_size',
|
|
@@ -1745,6 +1813,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1745
1813
|
autoRenewPeriod: 'number',
|
|
1746
1814
|
cisEnabled: 'boolean',
|
|
1747
1815
|
compensateWithOnDemand: 'boolean',
|
|
1816
|
+
cpuOptions: CreateClusterNodePoolRequestScalingGroupCpuOptions,
|
|
1748
1817
|
dataDisks: { 'type': 'array', 'itemType': DataDisk },
|
|
1749
1818
|
deploymentsetId: 'string',
|
|
1750
1819
|
desiredSize: 'number',
|
|
@@ -1795,6 +1864,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1795
1864
|
}
|
|
1796
1865
|
|
|
1797
1866
|
validate() {
|
|
1867
|
+
if(this.cpuOptions && typeof (this.cpuOptions as any).validate === 'function') {
|
|
1868
|
+
(this.cpuOptions as any).validate();
|
|
1869
|
+
}
|
|
1798
1870
|
if(Array.isArray(this.dataDisks)) {
|
|
1799
1871
|
$dara.Model.validateArray(this.dataDisks);
|
|
1800
1872
|
}
|
|
@@ -1884,7 +1956,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1884
1956
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1885
1957
|
/**
|
|
1886
1958
|
* @remarks
|
|
1887
|
-
* The automatic
|
|
1959
|
+
* The automatic scaling configuration.
|
|
1888
1960
|
*/
|
|
1889
1961
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1890
1962
|
/**
|
|
@@ -1936,9 +2008,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1936
2008
|
interconnectMode?: string;
|
|
1937
2009
|
/**
|
|
1938
2010
|
* @remarks
|
|
1939
|
-
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity.
|
|
1940
|
-
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1941
|
-
* - `false`: Not connected. All
|
|
2011
|
+
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
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.
|
|
1942
2014
|
*
|
|
1943
2015
|
* @example
|
|
1944
2016
|
* true
|
|
@@ -1951,7 +2023,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1951
2023
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1952
2024
|
/**
|
|
1953
2025
|
* @remarks
|
|
1954
|
-
* The managed
|
|
2026
|
+
* The managed node pool configuration.
|
|
1955
2027
|
*/
|
|
1956
2028
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1957
2029
|
/**
|