@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
|
@@ -42,11 +42,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
42
42
|
* @remarks
|
|
43
43
|
* Specifies whether to enable auto scaling. Valid values:
|
|
44
44
|
*
|
|
45
|
-
* - `true`: enables the auto scaling feature for the node pool. When the
|
|
45
|
+
* - `true`: enables the auto scaling feature for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant 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).
|
|
46
46
|
*
|
|
47
47
|
* - `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.
|
|
48
48
|
*
|
|
49
|
-
* When
|
|
49
|
+
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
50
50
|
*
|
|
51
51
|
* Default value: `false`.
|
|
52
52
|
*
|
|
@@ -85,8 +85,8 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
85
85
|
*
|
|
86
86
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
87
87
|
*
|
|
88
|
-
* > - If the minimum number of instances is not 0, the
|
|
89
|
-
* > -
|
|
88
|
+
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
89
|
+
* > - Set the maximum number of instances to a value that is not 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.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* 2
|
|
@@ -198,10 +198,10 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
198
198
|
cpuPolicy?: string;
|
|
199
199
|
/**
|
|
200
200
|
* @remarks
|
|
201
|
-
* The node labels
|
|
201
|
+
* The node labels. Adds labels to Kubernetes cluster nodes. Label definition rules:
|
|
202
202
|
*
|
|
203
203
|
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
204
|
-
* - Label keys cannot be duplicated and can be up to 64 characters
|
|
204
|
+
* - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and can be up to 128 characters. Neither label keys nor label values can start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
205
205
|
*/
|
|
206
206
|
labels?: Tag[];
|
|
207
207
|
/**
|
|
@@ -210,7 +210,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
210
210
|
*
|
|
211
211
|
* 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. The node IP is the full private IP address of the node.
|
|
212
212
|
*
|
|
213
|
-
* The parameter contains four parts separated by commas. For example, if you pass in
|
|
213
|
+
* The parameter contains four parts separated by commas. For example, if you pass in "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
|
|
214
214
|
*
|
|
215
215
|
* @example
|
|
216
216
|
* customized,aliyun,ip,com
|
|
@@ -218,7 +218,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
218
218
|
nodeNameMode?: string;
|
|
219
219
|
/**
|
|
220
220
|
* @remarks
|
|
221
|
-
* The pre-
|
|
221
|
+
* The instance pre-user data. Before the node joins the cluster, the specified pre-user data script is executed. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
222
222
|
*
|
|
223
223
|
* @example
|
|
224
224
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -228,9 +228,9 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
228
228
|
* @remarks
|
|
229
229
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
230
230
|
*
|
|
231
|
-
* - containerd: recommended
|
|
232
|
-
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation
|
|
233
|
-
* - docker: no longer maintained
|
|
231
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
232
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
233
|
+
* - docker: no longer maintained. Supports cluster versions 1.22 and earlier.
|
|
234
234
|
*
|
|
235
235
|
* Default value: containerd.
|
|
236
236
|
*
|
|
@@ -253,11 +253,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
253
253
|
taints?: Taint[];
|
|
254
254
|
/**
|
|
255
255
|
* @remarks
|
|
256
|
-
* Specifies whether the nodes added after scale-out are unschedulable.
|
|
256
|
+
* Specifies whether the nodes added after scale-out are unschedulable.
|
|
257
257
|
*
|
|
258
|
-
* - true:
|
|
258
|
+
* - true: Unschedulable.
|
|
259
259
|
*
|
|
260
|
-
* - false:
|
|
260
|
+
* - false: Schedulable.
|
|
261
261
|
*
|
|
262
262
|
* @example
|
|
263
263
|
* false
|
|
@@ -265,7 +265,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
265
265
|
unschedulable?: boolean;
|
|
266
266
|
/**
|
|
267
267
|
* @remarks
|
|
268
|
-
* The instance user data. After the node joins the cluster, the specified user data script is
|
|
268
|
+
* The instance user data. After the node joins the cluster, the specified user data script is executed. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
269
269
|
*
|
|
270
270
|
* @example
|
|
271
271
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -330,6 +330,16 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
330
330
|
* r-xxxxxxxxxx
|
|
331
331
|
*/
|
|
332
332
|
autoRepairPolicyId?: string;
|
|
333
|
+
/**
|
|
334
|
+
* @example
|
|
335
|
+
* 5
|
|
336
|
+
*/
|
|
337
|
+
maxParallelRepairingNodes?: string;
|
|
338
|
+
/**
|
|
339
|
+
* @example
|
|
340
|
+
* 20%
|
|
341
|
+
*/
|
|
342
|
+
maxUnhealthyNodesThreshold?: string;
|
|
333
343
|
/**
|
|
334
344
|
* @remarks
|
|
335
345
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
@@ -347,6 +357,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
347
357
|
return {
|
|
348
358
|
approvalRequired: 'approval_required',
|
|
349
359
|
autoRepairPolicyId: 'auto_repair_policy_id',
|
|
360
|
+
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
361
|
+
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
350
362
|
restartNode: 'restart_node',
|
|
351
363
|
};
|
|
352
364
|
}
|
|
@@ -355,6 +367,8 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
355
367
|
return {
|
|
356
368
|
approvalRequired: 'boolean',
|
|
357
369
|
autoRepairPolicyId: 'string',
|
|
370
|
+
maxParallelRepairingNodes: 'string',
|
|
371
|
+
maxUnhealthyNodesThreshold: 'string',
|
|
358
372
|
restartNode: 'boolean',
|
|
359
373
|
};
|
|
360
374
|
}
|
|
@@ -526,7 +540,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
526
540
|
* @remarks
|
|
527
541
|
* The number of extra nodes. This parameter is mutually exclusive with `surge_percentage`.
|
|
528
542
|
*
|
|
529
|
-
*
|
|
543
|
+
* During an upgrade, nodes become unavailable. You can create extra nodes to compensate for the cluster workload.
|
|
530
544
|
*
|
|
531
545
|
* > The number of extra nodes should not exceed the current number of nodes.
|
|
532
546
|
*
|
|
@@ -760,10 +774,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
760
774
|
id?: string;
|
|
761
775
|
/**
|
|
762
776
|
* @remarks
|
|
763
|
-
* The private node pool type and private pool capacity option for
|
|
764
|
-
* - `Open`:
|
|
765
|
-
* - `Target`:
|
|
766
|
-
* - `None`:
|
|
777
|
+
* The private node pool type and private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
778
|
+
* - `Open`: Open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
779
|
+
* - `Target`: Targeted mode. Uses the specified private pool capacity to launch instances. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
780
|
+
* - `None`: None mode. The instance launch does not use private pool capacity.
|
|
767
781
|
*
|
|
768
782
|
* @example
|
|
769
783
|
* Open
|
|
@@ -800,7 +814,11 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
800
814
|
privatePoolIds?: string[];
|
|
801
815
|
/**
|
|
802
816
|
* @remarks
|
|
803
|
-
* 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
|
|
817
|
+
* 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 launch. Valid values:
|
|
818
|
+
* PrivatePoolFirst: private pool first. When this strategy is selected, if 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.
|
|
819
|
+
* PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
|
|
820
|
+
* None: no resource pool strategy is used.
|
|
821
|
+
* Default value: None.
|
|
804
822
|
*
|
|
805
823
|
* @example
|
|
806
824
|
* PrivatePoolFirst
|
|
@@ -894,7 +912,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
894
912
|
autoRenew?: boolean;
|
|
895
913
|
/**
|
|
896
914
|
* @remarks
|
|
897
|
-
* The auto-renewal period. Valid values:
|
|
915
|
+
* The auto-renewal period for a single renewal. Valid values:
|
|
898
916
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
899
917
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
900
918
|
*
|
|
@@ -906,10 +924,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
906
924
|
autoRenewPeriod?: number;
|
|
907
925
|
/**
|
|
908
926
|
* @remarks
|
|
909
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow
|
|
927
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances if spot instances cannot be created due to cost or inventory reasons. Valid values:
|
|
910
928
|
*
|
|
911
|
-
* - `true`: Allows
|
|
912
|
-
* - `false`: Does not allow
|
|
929
|
+
* - `true`: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
930
|
+
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
913
931
|
*
|
|
914
932
|
* @example
|
|
915
933
|
* true
|
|
@@ -922,7 +940,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
922
940
|
dataDisks?: DataDisk[];
|
|
923
941
|
/**
|
|
924
942
|
* @remarks
|
|
925
|
-
* The deployment set
|
|
943
|
+
* The deployment set ID for ECS instances created by the node pool. This setting applies only to new nodes and does not change the deployment set of existing nodes.
|
|
926
944
|
*
|
|
927
945
|
* @example
|
|
928
946
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -934,7 +952,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
934
952
|
*
|
|
935
953
|
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
936
954
|
*
|
|
937
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust
|
|
955
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust it later to add nodes.
|
|
938
956
|
*
|
|
939
957
|
* @example
|
|
940
958
|
* 2
|
|
@@ -992,7 +1010,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
992
1010
|
instancePatterns?: InstancePatterns[];
|
|
993
1011
|
/**
|
|
994
1012
|
* @remarks
|
|
995
|
-
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The
|
|
1013
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, the system attempts to purchase instances starting from the first specification until the creation succeeds. The final purchased instance type may vary depending on inventory availability.
|
|
996
1014
|
*
|
|
997
1015
|
* Supported number of instance types: [1,10].
|
|
998
1016
|
*/
|
|
@@ -1010,7 +1028,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1010
1028
|
internetChargeType?: string;
|
|
1011
1029
|
/**
|
|
1012
1030
|
* @remarks
|
|
1013
|
-
* The maximum outbound bandwidth for
|
|
1031
|
+
* The maximum outbound bandwidth for node public IP addresses. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1014
1032
|
*
|
|
1015
1033
|
* @example
|
|
1016
1034
|
* 5
|
|
@@ -1036,11 +1054,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1036
1054
|
* @remarks
|
|
1037
1055
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1038
1056
|
*
|
|
1039
|
-
* - `PRIORITY`: scales
|
|
1057
|
+
* - `PRIORITY`: scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1040
1058
|
*
|
|
1041
|
-
* - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory.
|
|
1059
|
+
* - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1042
1060
|
*
|
|
1043
|
-
* > `COST_OPTIMIZED` takes effect only when
|
|
1061
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1044
1062
|
*
|
|
1045
1063
|
* - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1046
1064
|
*
|
|
@@ -1052,7 +1070,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1052
1070
|
multiAzPolicy?: string;
|
|
1053
1071
|
/**
|
|
1054
1072
|
* @remarks
|
|
1055
|
-
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\].
|
|
1073
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created first when the number of pay-as-you-go instances is less than this value.
|
|
1056
1074
|
*
|
|
1057
1075
|
* @example
|
|
1058
1076
|
* 0
|
|
@@ -1060,8 +1078,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1060
1078
|
onDemandBaseCapacity?: number;
|
|
1061
1079
|
/**
|
|
1062
1080
|
* @remarks
|
|
1063
|
-
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go
|
|
1064
|
-
* [_single.params.body.props.scaling_group.spot
|
|
1081
|
+
* The percentage of pay-as-you-go instances among instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1065
1082
|
*
|
|
1066
1083
|
* @example
|
|
1067
1084
|
* 20
|
|
@@ -1082,8 +1099,8 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1082
1099
|
* @remarks
|
|
1083
1100
|
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1084
1101
|
*
|
|
1085
|
-
* - `Month`:
|
|
1086
|
-
* - `Week`:
|
|
1102
|
+
* - `Month`: the billing cycle is month.
|
|
1103
|
+
* - `Week`: the billing cycle is week.
|
|
1087
1104
|
*
|
|
1088
1105
|
* Default value: `Month`.
|
|
1089
1106
|
*
|
|
@@ -1093,7 +1110,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1093
1110
|
periodUnit?: string;
|
|
1094
1111
|
/**
|
|
1095
1112
|
* @remarks
|
|
1096
|
-
* **This
|
|
1113
|
+
* **This parameter is deprecated.** Use the `image_type` parameter instead.
|
|
1097
1114
|
*
|
|
1098
1115
|
* The operating system platform. Valid values:
|
|
1099
1116
|
*
|
|
@@ -1120,7 +1137,9 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1120
1137
|
rdsInstances?: string[];
|
|
1121
1138
|
/**
|
|
1122
1139
|
* @remarks
|
|
1123
|
-
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter:
|
|
1140
|
+
* The resource pool and resource pool strategy used when creating instances. Note the following when you set this parameter:
|
|
1141
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1142
|
+
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1124
1143
|
*/
|
|
1125
1144
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1126
1145
|
/**
|
|
@@ -1128,7 +1147,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1128
1147
|
* The scaling group mode. Valid values:
|
|
1129
1148
|
*
|
|
1130
1149
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1131
|
-
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations
|
|
1150
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations (compute resources are not charged during the stopped state, only storage fees are charged, except for local disk instance types).
|
|
1132
1151
|
*
|
|
1133
1152
|
* @example
|
|
1134
1153
|
* release
|
|
@@ -1141,7 +1160,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1141
1160
|
securityGroupIds?: string[];
|
|
1142
1161
|
/**
|
|
1143
1162
|
* @remarks
|
|
1144
|
-
* The number of available instance types. The scaling group creates spot instances of multiple
|
|
1163
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types that are the most cost-effective. Valid values: [1,10\\].
|
|
1145
1164
|
*
|
|
1146
1165
|
* @example
|
|
1147
1166
|
* 5
|
|
@@ -1149,10 +1168,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1149
1168
|
spotInstancePools?: number;
|
|
1150
1169
|
/**
|
|
1151
1170
|
* @remarks
|
|
1152
|
-
* Specifies whether to enable
|
|
1171
|
+
* Specifies whether to enable spot instance supplementation. If enabled, when the system sends a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1153
1172
|
*
|
|
1154
|
-
* - `true`: Enables
|
|
1155
|
-
* - `false`: Disables
|
|
1173
|
+
* - `true`: Enables spot instance supplementation.
|
|
1174
|
+
* - `false`: Disables spot instance supplementation.
|
|
1156
1175
|
*
|
|
1157
1176
|
* @example
|
|
1158
1177
|
* false
|
|
@@ -1168,7 +1187,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1168
1187
|
* The spot instance type. Valid values:
|
|
1169
1188
|
*
|
|
1170
1189
|
* - `NoSpot`: non-spot instance.
|
|
1171
|
-
* - `SpotWithPriceLimit`: sets a maximum price for
|
|
1190
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1172
1191
|
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1173
1192
|
*
|
|
1174
1193
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
@@ -1239,11 +1258,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1239
1258
|
systemDiskKmsKeyId?: string;
|
|
1240
1259
|
/**
|
|
1241
1260
|
* @remarks
|
|
1242
|
-
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [
|
|
1261
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1243
1262
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1244
1263
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1245
1264
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1246
|
-
* - PL3:
|
|
1265
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1247
1266
|
*
|
|
1248
1267
|
* @example
|
|
1249
1268
|
* PL1
|
|
@@ -1251,7 +1270,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1251
1270
|
systemDiskPerformanceLevel?: string;
|
|
1252
1271
|
/**
|
|
1253
1272
|
* @remarks
|
|
1254
|
-
* The provisioned read/write IOPS
|
|
1273
|
+
* The provisioned read/write IOPS of the node system cloud disk.
|
|
1255
1274
|
*
|
|
1256
1275
|
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1257
1276
|
*
|
|
@@ -1441,7 +1460,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1441
1460
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1442
1461
|
/**
|
|
1443
1462
|
* @remarks
|
|
1444
|
-
* Specifies whether to enable
|
|
1463
|
+
* Specifies whether to enable confidential computing for the cluster. Valid values:
|
|
1445
1464
|
*
|
|
1446
1465
|
* - `true`: Enabled.
|
|
1447
1466
|
* - `false`: Disabled.
|