@alicloud/cs20151215 6.6.3 → 6.6.5

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.
Files changed (273) hide show
  1. package/dist/client.d.ts +202 -124
  2. package/dist/client.js +202 -124
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachInstancesRequest.d.ts +2 -2
  5. package/dist/models/AttachInstancesResponseBody.d.ts +1 -1
  6. package/dist/models/AttachInstancesToNodePoolRequest.d.ts +1 -1
  7. package/dist/models/AttachInstancesToNodePoolResponseBody.d.ts +1 -1
  8. package/dist/models/ContainerdConfig.d.ts +22 -2
  9. package/dist/models/ContainerdConfig.js.map +1 -1
  10. package/dist/models/CreateAutoRepairPolicyRequest.d.ts +63 -0
  11. package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
  12. package/dist/models/CreateAutoRepairPolicyResponseBody.d.ts +6 -0
  13. package/dist/models/CreateAutoRepairPolicyResponseBody.js.map +1 -1
  14. package/dist/models/CreateAutoscalingConfigRequest.d.ts +77 -40
  15. package/dist/models/CreateAutoscalingConfigRequest.js.map +1 -1
  16. package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -25
  17. package/dist/models/CreateClusterNodePoolRequest.js +2 -0
  18. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  19. package/dist/models/CreateClusterRequest.d.ts +585 -353
  20. package/dist/models/CreateClusterRequest.js.map +1 -1
  21. package/dist/models/CreateClusterResponseBody.d.ts +5 -5
  22. package/dist/models/CreateTriggerResponseBody.d.ts +1 -1
  23. package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
  24. package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
  25. package/dist/models/DeleteAutoRepairPolicyResponseBody.d.ts +3 -0
  26. package/dist/models/DeleteAutoRepairPolicyResponseBody.js.map +1 -1
  27. package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +2 -2
  28. package/dist/models/DeleteClusterNodesRequest.d.ts +1 -1
  29. package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
  30. package/dist/models/DeleteClusterRequest.d.ts +26 -18
  31. package/dist/models/DeleteClusterRequest.js.map +1 -1
  32. package/dist/models/DeleteClusterResponseBody.d.ts +2 -2
  33. package/dist/models/DeleteClusterShrinkRequest.d.ts +12 -9
  34. package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
  35. package/dist/models/DeployPolicyInstanceRequest.d.ts +7 -6
  36. package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
  37. package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
  38. package/dist/models/DescribeAddonsRequest.d.ts +1 -1
  39. package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +71 -0
  40. package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
  41. package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +21 -18
  42. package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
  43. package/dist/models/DescribeClusterDetailResponseBody.d.ts +243 -110
  44. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  45. package/dist/models/DescribeClusterEventsRequest.d.ts +8 -4
  46. package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
  47. package/dist/models/DescribeClusterEventsResponseBody.d.ts +49 -39
  48. package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
  49. package/dist/models/DescribeClusterLogsResponse.d.ts +3 -3
  50. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +496 -220
  51. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +29 -1
  52. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  53. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +448 -262
  54. package/dist/models/DescribeClusterNodePoolsResponseBody.js +29 -1
  55. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  56. package/dist/models/DescribeClusterNodesRequest.d.ts +1 -1
  57. package/dist/models/DescribeClusterNodesResponseBody.d.ts +5 -5
  58. package/dist/models/DescribeClusterResourcesRequest.d.ts +5 -1
  59. package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
  60. package/dist/models/DescribeClusterResourcesResponse.d.ts +51 -33
  61. package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
  62. package/dist/models/DescribeClusterTasksResponseBody.d.ts +9 -9
  63. package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +1 -1
  64. package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
  65. package/dist/models/DescribeClusterVulsResponseBody.d.ts +2 -2
  66. package/dist/models/DescribeClustersForRegionRequest.d.ts +32 -16
  67. package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
  68. package/dist/models/DescribeClustersForRegionResponseBody.d.ts +85 -56
  69. package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
  70. package/dist/models/DescribeClustersV1request.d.ts +33 -17
  71. package/dist/models/DescribeClustersV1request.js.map +1 -1
  72. package/dist/models/DescribeClustersV1responseBody.d.ts +98 -72
  73. package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
  74. package/dist/models/DescribeEventsForRegionRequest.d.ts +6 -2
  75. package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
  76. package/dist/models/DescribeEventsForRegionResponseBody.d.ts +22 -15
  77. package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
  78. package/dist/models/DescribeEventsRequest.d.ts +53 -20
  79. package/dist/models/DescribeEventsRequest.js.map +1 -1
  80. package/dist/models/DescribeEventsResponseBody.d.ts +53 -29
  81. package/dist/models/DescribeEventsResponseBody.js.map +1 -1
  82. package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +2 -2
  83. package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +8 -8
  84. package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +11 -0
  85. package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
  86. package/dist/models/DescribePolicyDetailsResponseBody.d.ts +1 -1
  87. package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +235 -7
  88. package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
  89. package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +1 -1
  90. package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -1
  91. package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
  92. package/dist/models/DescribeTaskInfoResponseBody.d.ts +35 -31
  93. package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
  94. package/dist/models/DescribeTemplateAttributeResponse.d.ts +2 -2
  95. package/dist/models/DescribeTemplatesResponseBody.d.ts +4 -4
  96. package/dist/models/DescribeTriggerResponse.d.ts +1 -1
  97. package/dist/models/DescribeUserPermissionResponse.d.ts +1 -1
  98. package/dist/models/DescribeUserQuotaResponseBody.d.ts +0 -35
  99. package/dist/models/DescribeUserQuotaResponseBody.js.map +1 -1
  100. package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +1 -1
  101. package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +9 -0
  102. package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
  103. package/dist/models/GrantPermissionsRequest.d.ts +28 -20
  104. package/dist/models/GrantPermissionsRequest.js.map +1 -1
  105. package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
  106. package/dist/models/InstanceMetadataOptions.d.ts +17 -0
  107. package/dist/models/InstanceMetadataOptions.js.map +1 -1
  108. package/dist/models/KubeletConfig.d.ts +10 -0
  109. package/dist/models/KubeletConfig.js.map +1 -1
  110. package/dist/models/ListAddonsRequest.d.ts +1 -1
  111. package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +75 -0
  112. package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
  113. package/dist/models/ListClusterChecksResponseBody.d.ts +2 -2
  114. package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -0
  115. package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
  116. package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +39 -0
  117. package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
  118. package/dist/models/ListOperationPlansForRegionRequest.d.ts +9 -0
  119. package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -1
  120. package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +52 -0
  121. package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -1
  122. package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +1 -1
  123. package/dist/models/MaintenanceWindow.d.ts +1 -1
  124. package/dist/models/MigrateClusterResponseBody.d.ts +3 -3
  125. package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +58 -0
  126. package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
  127. package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +3 -0
  128. package/dist/models/ModifyAutoRepairPolicyResponseBody.js.map +1 -1
  129. package/dist/models/ModifyClusterNodePoolRequest.d.ts +358 -228
  130. package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
  131. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  132. package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +1 -1
  133. package/dist/models/ModifyClusterRequest.d.ts +186 -123
  134. package/dist/models/ModifyClusterRequest.js.map +1 -1
  135. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +8 -0
  136. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  137. package/dist/models/ModifyNodePoolNodeConfigResponseBody.d.ts +2 -2
  138. package/dist/models/Nodepool.d.ts +274 -180
  139. package/dist/models/Nodepool.js +2 -0
  140. package/dist/models/Nodepool.js.map +1 -1
  141. package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
  142. package/dist/models/RemoveClusterNodesRequest.d.ts +0 -10
  143. package/dist/models/RemoveClusterNodesRequest.js.map +1 -1
  144. package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +1 -1
  145. package/dist/models/RepairClusterNodePoolRequest.d.ts +1 -1
  146. package/dist/models/RepairClusterNodePoolResponseBody.d.ts +2 -2
  147. package/dist/models/RunClusterCheckRequest.d.ts +2 -2
  148. package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
  149. package/dist/models/Runtime.d.ts +2 -2
  150. package/dist/models/ScaleOutClusterRequest.d.ts +8 -131
  151. package/dist/models/ScaleOutClusterRequest.js.map +1 -1
  152. package/dist/models/ScaleOutClusterResponseBody.d.ts +0 -21
  153. package/dist/models/ScaleOutClusterResponseBody.js.map +1 -1
  154. package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
  155. package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
  156. package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +1 -1
  157. package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +1 -1
  158. package/dist/models/UpgradeClusterAddonsRequest.d.ts +3 -3
  159. package/dist/models/UpgradeClusterAddonsResponseBody.d.ts +1 -1
  160. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
  161. package/dist/models/UpgradeClusterNodepoolResponseBody.d.ts +1 -1
  162. package/dist/models/UpgradeClusterRequest.d.ts +3 -3
  163. package/dist/models/model.d.ts +2 -0
  164. package/dist/models/model.js +58 -54
  165. package/dist/models/model.js.map +1 -1
  166. package/package.json +1 -1
  167. package/src/client.ts +202 -124
  168. package/src/models/AttachInstancesRequest.ts +2 -2
  169. package/src/models/AttachInstancesResponseBody.ts +1 -1
  170. package/src/models/AttachInstancesToNodePoolRequest.ts +1 -1
  171. package/src/models/AttachInstancesToNodePoolResponseBody.ts +1 -1
  172. package/src/models/ContainerdConfig.ts +22 -2
  173. package/src/models/CreateAutoRepairPolicyRequest.ts +63 -0
  174. package/src/models/CreateAutoRepairPolicyResponseBody.ts +6 -0
  175. package/src/models/CreateAutoscalingConfigRequest.ts +77 -40
  176. package/src/models/CreateClusterNodePoolRequest.ts +125 -25
  177. package/src/models/CreateClusterRequest.ts +585 -353
  178. package/src/models/CreateClusterResponseBody.ts +5 -5
  179. package/src/models/CreateTriggerResponseBody.ts +1 -1
  180. package/src/models/DeleteAlertContactRequest.ts +1 -1
  181. package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
  182. package/src/models/DeleteAutoRepairPolicyResponseBody.ts +3 -0
  183. package/src/models/DeleteClusterNodepoolResponseBody.ts +2 -2
  184. package/src/models/DeleteClusterNodesRequest.ts +1 -1
  185. package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
  186. package/src/models/DeleteClusterRequest.ts +26 -18
  187. package/src/models/DeleteClusterResponseBody.ts +2 -2
  188. package/src/models/DeleteClusterShrinkRequest.ts +12 -9
  189. package/src/models/DeployPolicyInstanceRequest.ts +7 -6
  190. package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
  191. package/src/models/DescribeAddonsRequest.ts +1 -1
  192. package/src/models/DescribeAutoRepairPolicyResponseBody.ts +71 -0
  193. package/src/models/DescribeClusterAttachScriptsRequest.ts +21 -18
  194. package/src/models/DescribeClusterDetailResponseBody.ts +243 -110
  195. package/src/models/DescribeClusterEventsRequest.ts +8 -4
  196. package/src/models/DescribeClusterEventsResponseBody.ts +49 -39
  197. package/src/models/DescribeClusterLogsResponse.ts +3 -3
  198. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +515 -220
  199. package/src/models/DescribeClusterNodePoolsResponseBody.ts +467 -262
  200. package/src/models/DescribeClusterNodesRequest.ts +1 -1
  201. package/src/models/DescribeClusterNodesResponseBody.ts +5 -5
  202. package/src/models/DescribeClusterResourcesRequest.ts +5 -1
  203. package/src/models/DescribeClusterResourcesResponse.ts +51 -33
  204. package/src/models/DescribeClusterTasksResponseBody.ts +9 -9
  205. package/src/models/DescribeClusterUserKubeconfigRequest.ts +1 -1
  206. package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
  207. package/src/models/DescribeClusterVulsResponseBody.ts +2 -2
  208. package/src/models/DescribeClustersForRegionRequest.ts +32 -16
  209. package/src/models/DescribeClustersForRegionResponseBody.ts +85 -56
  210. package/src/models/DescribeClustersV1request.ts +33 -17
  211. package/src/models/DescribeClustersV1responseBody.ts +98 -72
  212. package/src/models/DescribeEventsForRegionRequest.ts +6 -2
  213. package/src/models/DescribeEventsForRegionResponseBody.ts +22 -15
  214. package/src/models/DescribeEventsRequest.ts +53 -20
  215. package/src/models/DescribeEventsResponseBody.ts +53 -29
  216. package/src/models/DescribeKubernetesVersionMetadataRequest.ts +2 -2
  217. package/src/models/DescribeKubernetesVersionMetadataResponse.ts +8 -8
  218. package/src/models/DescribeNodePoolVulsResponseBody.ts +11 -0
  219. package/src/models/DescribePolicyDetailsResponseBody.ts +1 -1
  220. package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +235 -7
  221. package/src/models/DescribeResourcesDeleteProtectionResponse.ts +1 -1
  222. package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -1
  223. package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
  224. package/src/models/DescribeTaskInfoResponseBody.ts +35 -31
  225. package/src/models/DescribeTemplateAttributeResponse.ts +2 -2
  226. package/src/models/DescribeTemplatesResponseBody.ts +4 -4
  227. package/src/models/DescribeTriggerResponse.ts +1 -1
  228. package/src/models/DescribeUserPermissionResponse.ts +1 -1
  229. package/src/models/DescribeUserQuotaResponseBody.ts +0 -35
  230. package/src/models/GetClusterAddonInstanceResponseBody.ts +1 -1
  231. package/src/models/GetClusterInspectReportDetailResponseBody.ts +9 -0
  232. package/src/models/GrantPermissionsRequest.ts +28 -20
  233. package/src/models/InstallClusterAddonsRequest.ts +2 -2
  234. package/src/models/InstanceMetadataOptions.ts +17 -0
  235. package/src/models/KubeletConfig.ts +10 -0
  236. package/src/models/ListAddonsRequest.ts +1 -1
  237. package/src/models/ListAutoRepairPoliciesResponseBody.ts +75 -0
  238. package/src/models/ListClusterChecksResponseBody.ts +2 -2
  239. package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -0
  240. package/src/models/ListClusterKubeconfigStatesResponseBody.ts +39 -0
  241. package/src/models/ListOperationPlansForRegionRequest.ts +9 -0
  242. package/src/models/ListOperationPlansForRegionResponseBody.ts +52 -0
  243. package/src/models/ListUserKubeConfigStatesResponseBody.ts +1 -1
  244. package/src/models/MaintenanceWindow.ts +1 -1
  245. package/src/models/MigrateClusterResponseBody.ts +3 -3
  246. package/src/models/ModifyAutoRepairPolicyRequest.ts +58 -0
  247. package/src/models/ModifyAutoRepairPolicyResponseBody.ts +3 -0
  248. package/src/models/ModifyClusterNodePoolRequest.ts +361 -229
  249. package/src/models/ModifyClusterNodePoolResponseBody.ts +1 -1
  250. package/src/models/ModifyClusterRequest.ts +186 -123
  251. package/src/models/ModifyNodePoolNodeConfigRequest.ts +8 -0
  252. package/src/models/ModifyNodePoolNodeConfigResponseBody.ts +2 -2
  253. package/src/models/Nodepool.ts +276 -180
  254. package/src/models/OpenAckServiceResponseBody.ts +1 -1
  255. package/src/models/RemoveClusterNodesRequest.ts +0 -10
  256. package/src/models/RemoveNodePoolNodesResponseBody.ts +1 -1
  257. package/src/models/RepairClusterNodePoolRequest.ts +1 -1
  258. package/src/models/RepairClusterNodePoolResponseBody.ts +2 -2
  259. package/src/models/RunClusterCheckRequest.ts +2 -2
  260. package/src/models/RunClusterCheckResponseBody.ts +2 -2
  261. package/src/models/Runtime.ts +2 -2
  262. package/src/models/ScaleOutClusterRequest.ts +8 -131
  263. package/src/models/ScaleOutClusterResponseBody.ts +0 -21
  264. package/src/models/ScanClusterVulsResponseBody.ts +1 -1
  265. package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
  266. package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +1 -1
  267. package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +1 -1
  268. package/src/models/UpgradeClusterAddonsRequest.ts +3 -3
  269. package/src/models/UpgradeClusterAddonsResponseBody.ts +1 -1
  270. package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
  271. package/src/models/UpgradeClusterNodepoolResponseBody.ts +1 -1
  272. package/src/models/UpgradeClusterRequest.ts +3 -3
  273. package/src/models/model.ts +2 -0
@@ -10,41 +10,43 @@ import { Taint } from "./Taint";
10
10
  export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
11
11
  /**
12
12
  * @remarks
13
- * This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead. The maximum bandwidth of the EIP.
13
+ * This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
14
14
  *
15
- * Valid values: 1 to 100. Unit: Mbit/s.
15
+ * The valid values are 1 to 100. The unit is Mbps.
16
16
  *
17
17
  * @example
18
- * 5
18
+ * null
19
19
  *
20
20
  * @deprecated
21
21
  */
22
22
  eipBandwidth?: number;
23
23
  /**
24
24
  * @remarks
25
- * This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
25
+ * [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
26
+ *
27
+ * The billing method for the EIP. Valid values:
26
28
  *
27
- * The metering method of the EIP. Valid values:
29
+ * - `PayByBandwidth`: Pay by bandwidth.
28
30
  *
29
- * * `PayByBandwidth`: pay-by-bandwidth.
30
- * * `PayByTraffic`: pay-by-data-transfer.
31
+ * - `PayByTraffic`: Pay by traffic.
31
32
  *
32
33
  * Default value: `PayByBandwidth`.
33
34
  *
34
35
  * @example
35
- * PayByBandwidth
36
+ * null
36
37
  *
37
38
  * @deprecated
38
39
  */
39
40
  eipInternetChargeType?: string;
40
41
  /**
41
42
  * @remarks
42
- * Specifies whether to enable auto scaling. Valid values:
43
+ * Enable auto scaling. Valid values:
44
+ *
45
+ * - `true`: Enable auto scaling. When cluster capacity is insufficient for pod scheduling, ACK automatically scales nodes based on the minimum and maximum instance counts you configure. For clusters running Kubernetes 1.24 or later, instant elasticity is enabled by default. For earlier versions, auto scaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
43
46
  *
44
- * * `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the requirements of pod scheduling, ACK automatically scales out nodes based on the configured minimum and maximum number of instances. By default, node instant scaling is enabled for clusters that run Kubernetes 1.24. By default, node auto scaling is enabled for clusters that run Kubernetes versions earlier than 1.24. For more information, see [Auto scaling of nodes](https://help.aliyun.com/document_detail/2746785.html).
45
- * * `false`: disables auto scaling. Container Service for Kubernetes (ACK) adjusts the number of nodes in the node pool based on the value of the Expected Nodes parameter. The number of nodes is always the same as the value of the Expected Nodes parameter.
47
+ * - `false`: Disable auto scaling. ACK adjusts the number of nodes in the node pool to match the desired node count you specify.
46
48
  *
47
- * If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
49
+ * When set to false, other parameters under `auto_scaling` are ignored.
48
50
  *
49
51
  * Default value: `false`.
50
52
  *
@@ -54,24 +56,25 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
54
56
  enable?: boolean;
55
57
  /**
56
58
  * @remarks
57
- * This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
59
+ * [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
58
60
  *
59
- * * `true`: associates an elastic IP address (EIP) with the node pool.
60
- * * `false`: does not associate an EIP with the node pool.
61
+ * - `true`: Bind an EIP.
62
+ *
63
+ * - `false`: Do not bind an EIP.
61
64
  *
62
65
  * Default value: `false`.
63
66
  *
64
67
  * @example
65
- * true
68
+ * null
66
69
  *
67
70
  * @deprecated
68
71
  */
69
72
  isBondEip?: boolean;
70
73
  /**
71
74
  * @remarks
72
- * The maximum number of nodes that can be created in the node pool. Existing instances are excluded. This parameter takes effect only when `enable=true` is specified.
75
+ * The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
73
76
  *
74
- * The value must be at least the value of min_instances and cannot exceed 2000. Default value: 0.
77
+ * Valid values: [min_instances, 2000]. Default value: 0.
75
78
  *
76
79
  * @example
77
80
  * 10
@@ -79,15 +82,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
79
82
  maxInstances?: number;
80
83
  /**
81
84
  * @remarks
82
- * The minimum number of nodes that must be kept in the node pool. Existing instances are excluded. This parameter takes effect only when `enable=true` is specified.
83
- *
84
- * The value must be at least 0 and cannot exceed the value of max_instances. Default value: 0.
85
- *
86
- * >
85
+ * The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
87
86
  *
88
- * * When the minimum number of instances is greater than 0 and a scaling group is set up, ECS instances are automatically created based on the minimum number.
87
+ * Valid values: [0, max_instances]. Default value: 0.
89
88
  *
90
- * * We recommend that the value of max_instances is equal to or larger than the current number of nodes in the node pool. If the value of max_instances is less than the current number of nodes in the node pool, the node pool will be scaled in after you enable auto scaling for the node pool.
89
+ * > - If the minimum instance count is not zero, the system creates the specified number of ECS instances after the scaling group becomes active.
90
+ * >
91
+ * > - To avoid unintended scale-in, set the maximum instance count to at least the current number of nodes in the node pool.
91
92
  *
92
93
  * @example
93
94
  * 2
@@ -95,12 +96,15 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
95
96
  minInstances?: number;
96
97
  /**
97
98
  * @remarks
98
- * The instance type that is used for auto scaling. Valid values:
99
+ * The auto scaling type, defined by instance type. Valid values:
99
100
  *
100
- * * `cpu`: regular instance.
101
- * * `gpu`: GPU-accelerated instance.
102
- * * `gpushare`: shared GPU-accelerated instance.
103
- * * `spot`: preemptible instance.
101
+ * - `cpu`: Standard instance.
102
+ *
103
+ * - `gpu`: GPU instance.
104
+ *
105
+ * - `gpushare`: GPU shared instance.
106
+ *
107
+ * - `spot`: Spot instance.
104
108
  *
105
109
  * Default value: `cpu`.
106
110
  *
@@ -146,10 +150,11 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
146
150
  export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
147
151
  /**
148
152
  * @remarks
149
- * Specifies whether to install the CloudMonitor agent on ECS nodes. After the CloudMonitor agent is installed on ECS nodes, you can view monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values:
153
+ * Install Cloud Monitor on ECS nodes. After installation, you can view monitoring information for the created ECS instances in the Cloud Monitor console. We recommend enabling this. Valid values:
154
+ *
155
+ * - `true`: Install Cloud Monitor on ECS nodes.
150
156
  *
151
- * * `true`: installs the CloudMonitor agent on ECS nodes.
152
- * * `false`: does not install the CloudMonitor agent on ECS nodes.
157
+ * - `false`: Do not install Cloud Monitor on ECS nodes.
153
158
  *
154
159
  * Default value: `false`.
155
160
  *
@@ -159,10 +164,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
159
164
  cmsEnabled?: boolean;
160
165
  /**
161
166
  * @remarks
162
- * The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
167
+ * The node CPU management policy. The following two policies are supported for clusters of version 1.12.6 and later:
163
168
  *
164
- * * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
165
- * * `none`: specifies that the default CPU affinity is used.
169
+ * - `static`: Allows pods with certain resource characteristics on the node to have enhanced CPU affinity and exclusivity.
170
+ *
171
+ * - `none`: Enables the existing default CPU affinity scheme.
166
172
  *
167
173
  * Default value: `none`.
168
174
  *
@@ -172,16 +178,28 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
172
178
  cpuPolicy?: string;
173
179
  /**
174
180
  * @remarks
175
- * The labels that are added to the nodes in the cluster. You must add the label based on the following rules:
181
+ * Node labels. Add labels to Kubernetes cluster nodes. Label rules:
182
+ *
183
+ * - Labels are case-sensitive key-value pairs. You can set up to 20 labels.
176
184
  *
177
- * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
178
- * * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot 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).
185
+ * - Tag keys must be unique and up to 64 characters long. Tag values can be empty and up to 128 characters long. Neither tag keys nor tag 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).
179
186
  */
180
187
  labels?: Tag[];
188
+ /**
189
+ * @remarks
190
+ * The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
191
+ *
192
+ * The prefix and suffix can each consist of one or more parts separated by periods (.). Each part can contain lowercase letters, numbers, and hyphens (-). The node name must start and end with a lowercase letter or a number. The node IP is the complete private IP address of the node.
193
+ *
194
+ * The parameter is passed as four parts separated by commas. For example, if you pass the string "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name will be: aliyun.192.168.xxx.xxx.com.
195
+ *
196
+ * @example
197
+ * customized,aliyun,ip,com
198
+ */
181
199
  nodeNameMode?: string;
182
200
  /**
183
201
  * @remarks
184
- * Predefined custom data. Nodes automatically run predefined scripts before they are added to the cluster. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
202
+ * The instance pre-customization data. Before a node joins the cluster, it runs the specified pre-customization data script. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
185
203
  *
186
204
  * @example
187
205
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -189,37 +207,40 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
189
207
  preUserData?: string;
190
208
  /**
191
209
  * @remarks
192
- * The name of the container runtime. The following types of runtime are supported by ACK:
210
+ * The container runtime name. ACK supports the following three container runtimes.
211
+ *
212
+ * - containerd: Recommended. Supports all cluster versions.
193
213
  *
194
- * * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
195
- * * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.31 and earlier.
196
- * * docker: discontinued. The Docker runtime supports Kubernetes 1.22 and earlier.
214
+ * - Sandboxed-Container.runv: Sandboxed container. Provides higher isolation. Supports clusters of version 1.31 and earlier.
215
+ *
216
+ * - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
197
217
  *
198
218
  * Default value: containerd.
199
219
  *
200
220
  * @example
201
- * docker
221
+ * containerd
202
222
  */
203
223
  runtime?: string;
204
224
  /**
205
225
  * @remarks
206
- * The version of the container runtime.
226
+ * The container runtime version.
207
227
  *
208
228
  * @example
209
- * 19.03.5
229
+ * 1.6.38
210
230
  */
211
231
  runtimeVersion?: string;
212
232
  /**
213
233
  * @remarks
214
- * The configurations of node taints.
234
+ * The node taint configuration.
215
235
  */
216
236
  taints?: Taint[];
217
237
  /**
218
238
  * @remarks
219
- * Specifies whether the nodes are unschedulable after a scale-out activity is performed.
239
+ * Whether scaled-out nodes are unschedulable.
240
+ *
241
+ * - true: Unschedulable.
220
242
  *
221
- * * true: The nodes are unschedulable after a scale-out activity is performed.
222
- * * false: The nodes are schedulable after a scale-out activity is performed.
243
+ * - false: Schedulable.
223
244
  *
224
245
  * @example
225
246
  * false
@@ -227,7 +248,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
227
248
  unschedulable?: boolean;
228
249
  /**
229
250
  * @remarks
230
- * The user data of the instance. Nodes automatically run user-data scripts after they are added to the cluster. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
251
+ * The instance user data. After a node joins the cluster, it runs the specified user data script. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
231
252
  *
232
253
  * @example
233
254
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -279,18 +300,28 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
279
300
  }
280
301
 
281
302
  export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
303
+ /**
304
+ * @remarks
305
+ * Require manual approval for node repair.
306
+ */
282
307
  approvalRequired?: boolean;
283
308
  /**
309
+ * @remarks
310
+ * The automatic node repair policy ID.
311
+ *
284
312
  * @example
285
313
  * r-xxxxxxxxxx
286
314
  */
287
315
  autoRepairPolicyId?: string;
288
316
  /**
289
317
  * @remarks
290
- * Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
318
+ * Allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
319
+ *
320
+ * - `true`: Allow node restart.
291
321
  *
292
- * * `true`: yes.
293
- * * `false`: no.
322
+ * - `false`: Disallow node restart.
323
+ *
324
+ * Default value: `true`.
294
325
  *
295
326
  * @example
296
327
  * true
@@ -324,10 +355,13 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
324
355
  export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
325
356
  /**
326
357
  * @remarks
327
- * Specifies whether ACK is allowed to automatically upgrade the kubelet. Valid values:
358
+ * Enable automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
359
+ *
360
+ * - `true`: Enable automatic kubelet upgrades.
328
361
  *
329
- * * `true`: yes.
330
- * * `false`: no.
362
+ * - `false`: Disable automatic kubelet upgrades.
363
+ *
364
+ * Default value: `true`.
331
365
  *
332
366
  * @example
333
367
  * true
@@ -335,10 +369,11 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
335
369
  autoUpgradeKubelet?: boolean;
336
370
  /**
337
371
  * @remarks
338
- * Specifies whether ACK is allowed to automatically upgrade the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
372
+ * Enable automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
339
373
  *
340
- * * `true`: yes.
341
- * * `false`: no.
374
+ * - `true`: Enable automatic OS upgrades.
375
+ *
376
+ * - `false`: Disable automatic OS upgrades.
342
377
  *
343
378
  * Default value: `false`.
344
379
  *
@@ -348,12 +383,13 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
348
383
  autoUpgradeOs?: boolean;
349
384
  /**
350
385
  * @remarks
351
- * Specifies whether ACK is allowed to automatically upgrade the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
386
+ * Enable automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
352
387
  *
353
- * * `true`: yes.
354
- * * `false`: no.
388
+ * - `true`: Enable automatic runtime upgrades.
355
389
  *
356
- * Default value: `false`.
390
+ * - `false`: Disable automatic runtime upgrades.
391
+ *
392
+ * Default value: `true`.
357
393
  *
358
394
  * @example
359
395
  * false
@@ -385,13 +421,25 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
385
421
  }
386
422
 
387
423
  export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
424
+ /**
425
+ * @remarks
426
+ * Packages to exclude during vulnerability fixes.
427
+ *
428
+ * Default value: `kernel`.
429
+ *
430
+ * @example
431
+ * kernel
432
+ */
388
433
  excludePackages?: string;
389
434
  /**
390
435
  * @remarks
391
- * Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
436
+ * Allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
437
+ *
438
+ * - `true`: Allow node restart.
392
439
  *
393
- * * `true`: yes.
394
- * * `false`: no.
440
+ * - `false`: Disallow node restart.
441
+ *
442
+ * Default value: `true`.
395
443
  *
396
444
  * @example
397
445
  * true
@@ -399,13 +447,15 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
399
447
  restartNode?: boolean;
400
448
  /**
401
449
  * @remarks
402
- * The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
450
+ * The severity levels of vulnerabilities that can be fixed automatically, separated by commas. Example: `asap,later`. Supported levels:
451
+ *
452
+ * - `asap`: High
453
+ *
454
+ * - `later`: Medium
403
455
  *
404
- * * `asap`: high.
405
- * * `later`: medium.
406
- * * `nntf`: low.
456
+ * - `nntf`: Low
407
457
  *
408
- * If `auto_vul_fix=true` is specified, the default value is `asap`.
458
+ * Default value: `asap`.
409
459
  *
410
460
  * @example
411
461
  * asap,nntf
@@ -439,12 +489,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
439
489
  export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
440
490
  /**
441
491
  * @remarks
442
- * This parameter is deprecated. Use the preceding `auto_upgrade` parameter instead.
492
+ * [Deprecated] Use the top-level `auto_upgrade` parameter instead.
443
493
  *
444
- * Specifies whether to enable auto upgrade. Valid values:
494
+ * Enable automatic upgrades. Valid values:
445
495
  *
446
- * * true: enables auto upgrade.
447
- * * false: disables auto upgrade.
496
+ * - true: Enable.
497
+ *
498
+ * - false: Disable.
448
499
  *
449
500
  * Default value: `true`.
450
501
  *
@@ -456,9 +507,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
456
507
  autoUpgrade?: boolean;
457
508
  /**
458
509
  * @remarks
459
- * The maximum number of nodes that can be in the Unavailable state.
510
+ * The maximum number of unavailable nodes.
460
511
  *
461
- * Valid values: 1 to 1000.
512
+ * Valid values: [1, 1000].
462
513
  *
463
514
  * Default value: 1.
464
515
  *
@@ -468,11 +519,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
468
519
  maxUnavailable?: number;
469
520
  /**
470
521
  * @remarks
471
- * The number of additional nodes that are temporarily added to the node pool during an auto upgrade. Specify this parameter or `surge_percentage`.
522
+ * The number of additional nodes. Choose either surge or `surge_percentage`.
472
523
  *
473
- * A node is unavailable during an upgrade. Additional nodes are used to temporarily host the workloads of nodes that are being upgraded.
524
+ * Nodes become unavailable during upgrades. Create extra nodes to maintain cluster load.
474
525
  *
475
- * > We recommend that you specify a value that does not exceed the current number of nodes in the node pool.
526
+ * > Do not create more extra nodes than the current number of nodes.
476
527
  *
477
528
  * @example
478
529
  * 5
@@ -480,7 +531,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
480
531
  surge?: number;
481
532
  /**
482
533
  * @remarks
483
- * The percentage of additional nodes in the node pool. Specify this parameter or the `surge` parameter is specified.
534
+ * The percentage of additional nodes. Choose either surge or surge_percentage. The number of additional nodes equals `surge_percentage` × the number of nodes. For example, if `surge_percentage` is 50% and there are 6 nodes, then 3 additional nodes are created.
484
535
  *
485
536
  * The number of additional nodes = The percentage of additional nodes × The number of nodes in the node pool. For example, if the percentage of additional nodes is 50% and the number of nodes in the node pool is 6, the number of additional nodes is 3.
486
537
  *
@@ -516,12 +567,14 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
516
567
  }
517
568
 
518
569
  export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
570
+ autoFaultDiagnosis?: boolean;
519
571
  /**
520
572
  * @remarks
521
- * Specifies whether to enable auto node repair. This parameter takes effect only if `enable` is set to true. Valid values:
573
+ * Enable automatic node repair. This parameter takes effect only when `enable=true`.
574
+ *
575
+ * - `true`: Enable automatic repair.
522
576
  *
523
- * * `true`: enables auto repair.
524
- * * `false`: disables auto repair.
577
+ * - `false`: Disable automatic repair.
525
578
  *
526
579
  * Default value: `true`.
527
580
  *
@@ -531,15 +584,18 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
531
584
  autoRepair?: boolean;
532
585
  /**
533
586
  * @remarks
534
- * The auto node repair policy.
587
+ * The automatic node repair policy.
535
588
  */
536
589
  autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
537
590
  /**
538
591
  * @remarks
539
- * Specifies whether to enable auto upgrade. Valid values:
592
+ * Enable automatic node upgrades. This parameter takes effect only when `enable=true`. Valid values:
540
593
  *
541
- * * `true`: enables auto upgrade.
542
- * * `false`: disables auto upgrade.
594
+ * - `true`: Enable automatic upgrades.
595
+ *
596
+ * - `false`: Disable automatic upgrades.
597
+ *
598
+ * Default value: `true`.
543
599
  *
544
600
  * @example
545
601
  * true
@@ -547,15 +603,18 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
547
603
  autoUpgrade?: boolean;
548
604
  /**
549
605
  * @remarks
550
- * The auto upgrade policy.
606
+ * The automatic upgrade policy.
551
607
  */
552
608
  autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
553
609
  /**
554
610
  * @remarks
555
- * Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
611
+ * Enable automatic CVE vulnerability fixes. This parameter takes effect only when `enable=true`. Valid values:
612
+ *
613
+ * - `true`: Enable automatic CVE fixes.
556
614
  *
557
- * * `true`: enables auto CVE patching.
558
- * * `true`: disables auto CVE patching.
615
+ * - `false`: Disable automatic CVE fixes.
616
+ *
617
+ * Default value: `true`.
559
618
  *
560
619
  * @example
561
620
  * true
@@ -563,15 +622,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
563
622
  autoVulFix?: boolean;
564
623
  /**
565
624
  * @remarks
566
- * The auto CVE patching policy.
625
+ * The automatic CVE fix policy.
567
626
  */
568
627
  autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
569
628
  /**
570
629
  * @remarks
571
- * Specifies whether to enable the managed node pool feature. Valid values:
630
+ * Enable the managed node pool. Valid values:
572
631
  *
573
- * * `true`: enables the managed node pool feature.
574
- * * `false`: disables the managed node pool feature. Other parameters in this section take effect only when `enable=true` is specified.
632
+ * - `true`: Enable the managed node pool.
633
+ *
634
+ * - `false`: Disable the managed node pool. Other related configurations take effect only when `enable=true`.
575
635
  *
576
636
  * Default value: `false`.
577
637
  *
@@ -581,15 +641,16 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
581
641
  enable?: boolean;
582
642
  /**
583
643
  * @remarks
584
- * This parameter is deprecated. Use the preceding `auto_upgrade` parameter instead.
644
+ * [Deprecated] Use the top-level `auto_upgrade` parameter instead.
585
645
  *
586
- * The configurations of auto upgrade. The configurations take effect only when `enable` is set to true.
646
+ * The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
587
647
  *
588
648
  * @deprecated
589
649
  */
590
650
  upgradeConfig?: ModifyClusterNodePoolRequestManagementUpgradeConfig;
591
651
  static names(): { [key: string]: string } {
592
652
  return {
653
+ autoFaultDiagnosis: 'auto_fault_diagnosis',
593
654
  autoRepair: 'auto_repair',
594
655
  autoRepairPolicy: 'auto_repair_policy',
595
656
  autoUpgrade: 'auto_upgrade',
@@ -603,6 +664,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
603
664
 
604
665
  static types(): { [key: string]: any } {
605
666
  return {
667
+ autoFaultDiagnosis: 'boolean',
606
668
  autoRepair: 'boolean',
607
669
  autoRepairPolicy: ModifyClusterNodePoolRequestManagementAutoRepairPolicy,
608
670
  autoUpgrade: 'boolean',
@@ -638,9 +700,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
638
700
  export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
639
701
  /**
640
702
  * @remarks
641
- * The name of the node pool.
703
+ * The node pool name.
642
704
  *
643
- * The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
705
+ * Name rules: Use only numbers, letters, or hyphens (-). The name must be 1 to 63 characters long and cannot start with a hyphen (-).
644
706
  *
645
707
  * @example
646
708
  * default-nodepool
@@ -648,9 +710,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
648
710
  name?: string;
649
711
  /**
650
712
  * @remarks
651
- * The ID of the resource group to which the node pool belongs. Instances that are added to the node pool belong to this resource group.
713
+ * The resource group ID for the node pool. Nodes created from this node pool belong to this resource group.
652
714
  *
653
- * Each resource can belong only to one resource group. You can regard a resource group as a project, an application, or an organization based on your business scenarios.
715
+ * A resource can belong to only one resource group. Map resource groups to projects, applications, or organizations based on your business needs.
654
716
  *
655
717
  * @example
656
718
  * rg-acfmyvw3wjm****
@@ -682,7 +744,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
682
744
  export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
683
745
  /**
684
746
  * @remarks
685
- * The private node pool ID. This parameter is available only when `match_criteria` is set to `Target`.
747
+ * The private node pool ID. This is required when `match_criteria` is set to `Target`.
686
748
  *
687
749
  * @example
688
750
  * eap-bp67acfmxazb4****
@@ -690,11 +752,13 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
690
752
  id?: string;
691
753
  /**
692
754
  * @remarks
693
- * The type of private node pool. This parameter specifies the type of private pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
755
+ * The private node pool type, which determines the capacity option for instance startup. Elastic assurance services or capacity reservation services generate private pool capacity for instance startup. Valid values:
756
+ *
757
+ * - `Open`: Open mode. Automatically matches open-type private pool capacity. If no suitable private pool is found, public pool resources are used.
758
+ *
759
+ * - `Target`: Specified mode. Starts instances using the specified private pool capacity. If the capacity is unavailable, the instance startup fails.
694
760
  *
695
- * * `Open`: open private pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
696
- * * `Target`: uses a specified private pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
697
- * * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
761
+ * - `None`: No mode. The instance startup does not use private pool capacity.
698
762
  *
699
763
  * @example
700
764
  * Open
@@ -724,8 +788,15 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
724
788
  }
725
789
 
726
790
  export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
791
+ /**
792
+ * @remarks
793
+ * The list of private pool IDs, which are the IDs of elastic assurance or capacity reservation services. You can only pass Target mode private pool IDs. The value of N can range from 1 to 20.
794
+ */
727
795
  privatePoolIds?: string[];
728
796
  /**
797
+ * @remarks
798
+ * The resource pool policy for instance creation. Resource pools include private pools generated by elastic assurance or capacity reservation services, and public pools. Valid values: PrivatePoolFirst: Prioritizes private pools. If resouce_pool_options.private_pool_ids is specified, it uses the specified private pools first. If no private pool is specified or the specified capacity is insufficient, it automatically matches open-type private pools. If no suitable private pool is found, it uses the public pool. PrivatePoolOnly: Uses only private pools. You must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance startup fails. None: Does not use a resource pool policy. Default value: None.
799
+ *
729
800
  * @example
730
801
  * PrivatePoolFirst
731
802
  */
@@ -759,7 +830,7 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
759
830
  export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
760
831
  /**
761
832
  * @remarks
762
- * The instance type of preemptible instances.
833
+ * The spot instance type.
763
834
  *
764
835
  * @example
765
836
  * ecs.c6.large
@@ -767,7 +838,15 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
767
838
  instanceType?: string;
768
839
  /**
769
840
  * @remarks
770
- * The price cap of a preemptible instance.
841
+ * The maximum hourly price for the instance.
842
+ *
843
+ * <props="china">
844
+ *
845
+ * Unit: CNY/hour.
846
+ *
847
+ *
848
+ *
849
+ * <props="intl">
771
850
  *
772
851
  * Unit: USD/hour.
773
852
  *
@@ -801,10 +880,11 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
801
880
  export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
802
881
  /**
803
882
  * @remarks
804
- * Specifies whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
883
+ * Enable automatic renewal for nodes. This parameter takes effect only when `instance_charge_type` is `PrePaid`. Valid values:
805
884
  *
806
- * * `true`: enables auto-renewal.
807
- * * `false`: disables auto-renewal.
885
+ * - `true`: Enable automatic renewal.
886
+ *
887
+ * - `false`: Disable automatic renewal.
808
888
  *
809
889
  * Default value: `false`.
810
890
  *
@@ -814,10 +894,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
814
894
  autoRenew?: boolean;
815
895
  /**
816
896
  * @remarks
817
- * The auto-renewal period. Valid values:
897
+ * The duration of each automatic renewal. Valid values:
898
+ *
899
+ * - When PeriodUnit=Week: 1, 2, 3.
818
900
  *
819
- * * Valid values when PeriodUnit is set to Week: 1, 2, and 3.
820
- * * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60
901
+ * - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
821
902
  *
822
903
  * Default value: 1.
823
904
  *
@@ -827,10 +908,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
827
908
  autoRenewPeriod?: number;
828
909
  /**
829
910
  * @remarks
830
- * Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the price or insufficient inventory. This parameter takes effect when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
911
+ * When `multi_az_policy` is set to `COST_OPTIMIZED`, this parameter specifies whether to automatically create on-demand instances to meet the required number of ECS instances if enough spot instances cannot be created due to price or inventory issues. Valid values:
831
912
  *
832
- * * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
833
- * * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
913
+ * - `true`: Allow automatic creation of on-demand instances.
914
+ *
915
+ * - `false`: Disallow automatic creation of on-demand instances.
834
916
  *
835
917
  * @example
836
918
  * true
@@ -838,60 +920,77 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
838
920
  compensateWithOnDemand?: boolean;
839
921
  /**
840
922
  * @remarks
841
- * The configurations of the data disks that are mounted to nodes in the node pool. Valid values: 0 to 10. You can mount at most 10 data disks to the nodes in the node pool.
923
+ * The data disk configuration for nodes. Valid values: [0, 10]. You can attach up to 10 data disks.
842
924
  */
843
925
  dataDisks?: DataDisk[];
844
926
  /**
927
+ * @remarks
928
+ * The deployment set to which the ECS instances created in the node pool belong. This setting applies only to new nodes. The deployment set of existing nodes is not changed.
929
+ *
845
930
  * @example
846
931
  * ds-bp1d19mmbsv3jf6xxxxx
847
932
  */
848
933
  deploymentsetId?: string;
849
934
  /**
850
935
  * @remarks
851
- * The expected number of nodes in the node pool.
936
+ * The desired number of nodes in the node pool.
852
937
  *
853
- * The expected number of nodes in the node pool. We recommend that you configure at least two nodes to ensure that cluster components run as expected. You can modify the Expected Nodes parameter to adjust the number of nodes in the node pool.
938
+ * This is the total number of nodes the node pool should maintain. Configure at least 2 nodes to ensure cluster components run properly. Adjust this number to scale the node pool in or out.
854
939
  *
855
- * If you do not want to create nodes in the node pool, set this parameter to 0. You can manually modify this parameter to add nodes later.
940
+ * If you do not need to create nodes, set this to 0 and adjust it manually later.
856
941
  *
857
942
  * @example
858
943
  * 2
859
944
  */
860
945
  desiredSize?: number;
946
+ /**
947
+ * @remarks
948
+ * The block device initialization configuration.
949
+ */
861
950
  diskInit?: DiskInit[];
862
951
  /**
863
952
  * @remarks
864
- * The custom image ID. You can call the `DescribeKubernetesVersionMetadata` operation to query the images supported by ACK. By default, the latest image is used.
953
+ * The custom image ID. Query supported images using `DescribeKubernetesVersionMetadata`. By default, the latest system image is used.
865
954
  *
866
955
  * @example
867
- * aliyun_2_1903_x64_20G_alibase_20200904.vhd
956
+ * aliyun_3_x64_20G_alibase_20241218.vhd
868
957
  */
869
958
  imageId?: string;
870
959
  /**
871
960
  * @remarks
872
- * The type of operating system distribution that you want to use. We recommend that you use this parameter to specify the node operating system. Valid values:
961
+ * The operating system distribution type. We recommend using this field to specify the node OS. Valid values:
962
+ *
963
+ * - `AliyunLinux`: Alibaba Cloud Linux 2 image.
964
+ *
965
+ * - `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 UEFI image.
966
+ *
967
+ * - `AliyunLinux3`: Alibaba Cloud Linux 3 image.
968
+ *
969
+ * - `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 ARM image.
970
+ *
971
+ * - `AliyunLinux3Security`: Alibaba Cloud Linux 3 UEFI image.
972
+ *
973
+ * - `CentOS`: CentOS image.
873
974
  *
874
- * * `AliyunLinux`: Alibaba Cloud Linux 2.
875
- * * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
876
- * * `AliyunLinux3`: Alibaba Cloud Linux 3.
877
- * * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 for ARM.
878
- * * `AliyunLinux3Security`: Alibaba Cloud Linux 3 (UEFI).
879
- * * `CentOS`: CentOS.
880
- * * `Windows`: Windows.
881
- * * `WindowsCore`: Windows Core.
882
- * * `ContainerOS`: ContainerOS.
883
- * * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
975
+ * - `Windows`: Windows image.
976
+ *
977
+ * - `WindowsCore`: Windows Core image.
978
+ *
979
+ * - `ContainerOS`: Container-optimized image.
980
+ *
981
+ * - `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 container-optimized image.
884
982
  *
885
983
  * @example
886
- * AliyunLinux
984
+ * AliyunLinux3
887
985
  */
888
986
  imageType?: string;
889
987
  /**
890
988
  * @remarks
891
- * The billing method of nodes in the node pool. Valid values:
989
+ * The billing method for nodes in the node pool. Valid values:
892
990
  *
893
- * * `PrePaid`: subscription.
894
- * * `PostPaid`: pay-as-you-go.
991
+ * - `PrePaid`: Subscription.
992
+ *
993
+ * - `PostPaid`: Pay-as-you-go.
895
994
  *
896
995
  * Default value: `PostPaid`.
897
996
  *
@@ -901,22 +1000,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
901
1000
  instanceChargeType?: string;
902
1001
  /**
903
1002
  * @remarks
904
- * .The instance attributes.
1003
+ * The instance attribute configuration.
905
1004
  */
906
1005
  instancePatterns?: InstancePatterns[];
907
1006
  /**
908
1007
  * @remarks
909
- * The instance types. You can specify multiple instance types. A node is assigned the instance type from the first instance type of the list until the node is created. The instance type that is used to create the node varies based on the actual instance stock.
1008
+ * The list of instance types for the nodes. You can specify multiple instance types as fallback options. When creating a node, the system tries each instance type in order until it succeeds. The final instance type may vary depending on inventory.
910
1009
  *
911
- * You can specify 1 to 10 instance types.
1010
+ * Valid values: [1, 10].
912
1011
  */
913
1012
  instanceTypes?: string[];
914
1013
  /**
915
1014
  * @remarks
916
- * The metering method of the public IP address. Valid values:
1015
+ * The billing method for public IP addresses. Valid values:
1016
+ *
1017
+ * - `PayByBandwidth`: Pay by bandwidth.
917
1018
  *
918
- * * `PayByBandwidth`: pay-by-bandwidth.
919
- * * `PayByTraffic`: pay-by-data-transfer.
1019
+ * - `PayByTraffic`: Pay by traffic.
920
1020
  *
921
1021
  * @example
922
1022
  * PayByBandwidth
@@ -924,7 +1024,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
924
1024
  internetChargeType?: string;
925
1025
  /**
926
1026
  * @remarks
927
- * The maximum outbound bandwidth of the public IP address of the node. Unit: Mbit/s. Valid values: 1 to 100.
1027
+ * The maximum outbound bandwidth for the public IP address of a node, measured in megabits per second (Mbps). The value must be an integer from 1 to 100.
928
1028
  *
929
1029
  * @example
930
1030
  * 5
@@ -932,7 +1032,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
932
1032
  internetMaxBandwidthOut?: number;
933
1033
  /**
934
1034
  * @remarks
935
- * The name of the key pair. You must specify this parameter or `login_password`. You must specify the `key_pair` parameter if the node pool is a managed node pool.
1035
+ * The key pair name. Specify either key_pair or `login_password`. For managed node pools, only `key_pair` is supported.
936
1036
  *
937
1037
  * @example
938
1038
  * pro-nodepool
@@ -940,7 +1040,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
940
1040
  keyPair?: string;
941
1041
  /**
942
1042
  * @remarks
943
- * The password for SSH logon. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
1043
+ * The SSH login password. Specify either login_password or `key_pair`. Password rules: 8 to 30 characters, including at least three of the following: uppercase letters, lowercase letters, digits, and special characters.
944
1044
  *
945
1045
  * @example
946
1046
  * Hello1234
@@ -948,17 +1048,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
948
1048
  loginPassword?: string;
949
1049
  /**
950
1050
  * @remarks
951
- * The ECS instance scaling policy for the multi-zone scaling group. Valid values:
952
- *
953
- * * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
1051
+ * The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
954
1052
  *
955
- * * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created if preemptible instance types are specified in the scaling configurations. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
1053
+ * - `PRIORITY`: Scales instances based on the virtual switches (VSwitchIds.N) you define. If an ECS instance cannot be created in the zone of a higher-priority virtual switch, the system automatically uses the next-priority virtual switch.
956
1054
  *
957
- * **
1055
+ * - `COST_OPTIMIZED`: Tries to create instances starting with the lowest vCPU unit price. If multiple instance types are configured with a spot instance billing method, it prioritizes creating spot instances. Use the `CompensateWithOnDemand` parameter to specify whether to automatically create on-demand instances if spot instances cannot be created due to inventory or other reasons.
958
1056
  *
959
- * **Note** `COST_OPTIMIZED` takes effect only when multiple instance types are specified or at least one preemptible instance type is specified.
1057
+ * > `COST_OPTIMIZED` takes effect only when multiple instance types or spot instances are configured.
960
1058
  *
961
- * * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the `RebalanceInstances` operation of Auto Scaling to balance the instance distribution among zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
1059
+ * - `BALANCE`: Evenly distributes ECS instances across the specified zones in the scaling group. If the distribution becomes unbalanced due to inventory shortages or other reasons, you can use the API `RebalanceInstances` to rebalance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
962
1060
  *
963
1061
  * Default value: `PRIORITY`.
964
1062
  *
@@ -968,7 +1066,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
968
1066
  multiAzPolicy?: string;
969
1067
  /**
970
1068
  * @remarks
971
- * The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, the system preferably creates pay-as-you-go instances.
1069
+ * The minimum number of on-demand instances required in the scaling group. Valid values: [0, 1000]. When the number of on-demand instances is below this value, the system prioritizes creating on-demand instances.
972
1070
  *
973
1071
  * @example
974
1072
  * 0
@@ -976,7 +1074,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
976
1074
  onDemandBaseCapacity?: number;
977
1075
  /**
978
1076
  * @remarks
979
- * The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
1077
+ * The percentage of on-demand instances among the instances that exceed the minimum on-demand instance count (`on_demand_base_capacity`). Valid values: [0, 100].
980
1078
  *
981
1079
  * @example
982
1080
  * 20
@@ -984,10 +1082,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
984
1082
  onDemandPercentageAboveBaseCapacity?: number;
985
1083
  /**
986
1084
  * @remarks
987
- * The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
1085
+ * The subscription duration for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is `PrePaid`, and is required in that case.
988
1086
  *
989
- * * If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4.
990
- * * If `period_unit` is set to Month, the valid values of `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
1087
+ * - When `period_unit=Week`, valid values: {1, 2, 3, 4}.
1088
+ *
1089
+ * - When `period_unit=Month`, valid values: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
991
1090
  *
992
1091
  * @example
993
1092
  * 1
@@ -995,10 +1094,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
995
1094
  period?: number;
996
1095
  /**
997
1096
  * @remarks
998
- * The billing cycle of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`. Valid values:
1097
+ * The billing cycle for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is `PrePaid`, and is required in that case.
1098
+ *
1099
+ * - `Month`: Billed monthly.
999
1100
  *
1000
- * * `Month`: The subscription duration is measured in months.
1001
- * * `Week`: The subscription duration is measured in weeks.
1101
+ * - `Week`: Billed weekly.
1002
1102
  *
1003
1103
  * Default value: `Month`.
1004
1104
  *
@@ -1008,14 +1108,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1008
1108
  periodUnit?: string;
1009
1109
  /**
1010
1110
  * @remarks
1011
- * This parameter is obsolete. Use the `image_type` parameter instead.
1111
+ * [Deprecated] Use the `image_type` parameter instead.
1112
+ *
1113
+ * The operating system platform. Valid values:
1114
+ *
1115
+ * - `AliyunLinux`
1012
1116
  *
1013
- * The OS platform. Valid values:
1117
+ * - `CentOS`
1014
1118
  *
1015
- * * `AliyunLinux`
1016
- * * `CentOS`
1017
- * * `Windows`
1018
- * * `WindowsCore`
1119
+ * - `Windows`
1120
+ *
1121
+ * - `WindowsCore`
1019
1122
  *
1020
1123
  * @example
1021
1124
  * AliyunLinux
@@ -1025,30 +1128,39 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1025
1128
  platform?: string;
1026
1129
  /**
1027
1130
  * @remarks
1028
- * The configurations of the private node pool.
1131
+ * The private node pool configuration.
1029
1132
  */
1030
1133
  privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
1031
1134
  /**
1032
1135
  * @remarks
1033
- * The IDs of ApsaraDB RDS instances.
1136
+ * The list of RDS instances.
1034
1137
  */
1035
1138
  rdsInstances?: string[];
1139
+ /**
1140
+ * @remarks
1141
+ * The resource pool and policy to use when creating instances. Note: This parameter is effective only when creating pay-as-you-go instances. It cannot be set at the same time as private_pool_options.match_criteria or private_pool_options.id.
1142
+ */
1036
1143
  resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
1037
1144
  /**
1038
1145
  * @remarks
1039
- * The scaling mode of the scaling group. Valid values:
1146
+ * The scaling group mode. Valid values:
1040
1147
  *
1041
- * * `release`: the standard mode. ECS instances are created and released based on resource usage.
1042
- * * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
1148
+ * - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
1149
+ *
1150
+ * - `recycle`: Fast mode. Scales by creating, stopping, and starting instances to improve scaling speed. You are not charged for compute resources when instances are stopped, only for storage fees (except for local disk models).
1043
1151
  *
1044
1152
  * @example
1045
1153
  * release
1046
1154
  */
1047
1155
  scalingPolicy?: string;
1156
+ /**
1157
+ * @remarks
1158
+ * The list of security group IDs.
1159
+ */
1048
1160
  securityGroupIds?: string[];
1049
1161
  /**
1050
1162
  * @remarks
1051
- * The number of instance types that are available for creating preemptible instances. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
1163
+ * The number of available instance types. The scaling group creates spot instances in a balanced manner across the specified number of lowest-cost instance types. Valid values: [1, 10].
1052
1164
  *
1053
1165
  * @example
1054
1166
  * 5
@@ -1056,10 +1168,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1056
1168
  spotInstancePools?: number;
1057
1169
  /**
1058
1170
  * @remarks
1059
- * Specifies whether to enable the supplementation of preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace the instance. Valid values:
1171
+ * Enable spot instance replenishment. When enabled, the scaling group attempts to create a new instance to replace a spot instance that is about to be reclaimed. Valid values:
1060
1172
  *
1061
- * * `true`: supplements preemptible instances.
1062
- * * `false`: does not supplement preemptible instances.
1173
+ * - `true`: Enable spot instance replenishment.
1174
+ *
1175
+ * - `false`: Disable spot instance replenishment.
1063
1176
  *
1064
1177
  * @example
1065
1178
  * false
@@ -1067,18 +1180,20 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1067
1180
  spotInstanceRemedy?: boolean;
1068
1181
  /**
1069
1182
  * @remarks
1070
- * The bid configurations of preemptible instances.
1183
+ * The price range configuration for spot instances.
1071
1184
  */
1072
1185
  spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
1073
1186
  /**
1074
1187
  * @remarks
1075
- * The bidding policy of preemptible instances. Valid values:
1188
+ * The spot instance type. Valid values:
1189
+ *
1190
+ * - `NoSpot`: On-demand instance.
1191
+ *
1192
+ * - `SpotWithPriceLimit`: Set a price limit for spot instances.
1076
1193
  *
1077
- * * `NoSpot`: non-preemptible instance.
1078
- * * `SpotWithPriceLimit`: specifies the highest bid.
1079
- * * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
1194
+ * - `SpotAsPriceGo`: Let the system automatically bid at the current market price.
1080
1195
  *
1081
- * For more information, see [Create a preemptible elastic container instance](https://help.aliyun.com/document_detail/157759.html).
1196
+ * For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
1082
1197
  *
1083
1198
  * @example
1084
1199
  * SpotWithPriceLimit
@@ -1086,12 +1201,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1086
1201
  spotStrategy?: string;
1087
1202
  /**
1088
1203
  * @remarks
1089
- * Specifies whether to enable the burst feature for the system disk. Valid values:
1204
+ * Enable bursting for the system disk. Valid values:
1090
1205
  *
1091
- * * true: enables the burst feature.
1092
- * * false: disables the burst feature.
1206
+ * - true: Enable. During sudden spikes in read/write activity, the disk temporarily boosts performance until workloads return to normal.
1093
1207
  *
1094
- * This parameter is effective only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1208
+ * - false: Disable.
1209
+ *
1210
+ * You can set this parameter only when `system_disk_category` is `cloud_auto`. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
1095
1211
  *
1096
1212
  * @example
1097
1213
  * true
@@ -1099,18 +1215,22 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1099
1215
  systemDiskBurstingEnabled?: boolean;
1100
1216
  /**
1101
1217
  * @remarks
1102
- * The categories of the system disk. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable.
1218
+ * The list of system disk types. If the highest-priority disk type is unavailable, the system tries the next priority disk type.
1103
1219
  */
1104
1220
  systemDiskCategories?: string[];
1105
1221
  /**
1106
1222
  * @remarks
1107
- * The category of the system disk. Valid values:
1223
+ * The system disk type for nodes. Valid values:
1224
+ *
1225
+ * - `cloud_efficiency`: Ultra disk.
1226
+ *
1227
+ * - `cloud_ssd`: Standard SSD.
1228
+ *
1229
+ * - `cloud_essd`: Enhanced SSD (ESSD).
1108
1230
  *
1109
- * * `cloud_efficiency`: ultra disk.
1110
- * * `cloud_ssd`: standard SSD.
1111
- * * `cloud_essd`: Enterprise ESSD (ESSD).
1112
- * * `cloud_auto`: ESSD AutoPL disk.
1113
- * * `cloud_essd_entry`: ESSD Entry disk.
1231
+ * - `cloud_auto`: ESSD AutoPL disk.
1232
+ *
1233
+ * - `cloud_essd_entry`: ESSD Entry disk.
1114
1234
  *
1115
1235
  * Default value: `cloud_efficiency`.
1116
1236
  *
@@ -1120,7 +1240,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1120
1240
  systemDiskCategory?: string;
1121
1241
  /**
1122
1242
  * @remarks
1123
- * The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
1243
+ * The encryption algorithm for the system disk. Valid value: aes-256.
1124
1244
  *
1125
1245
  * @example
1126
1246
  * aes-256
@@ -1128,10 +1248,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1128
1248
  systemDiskEncryptAlgorithm?: string;
1129
1249
  /**
1130
1250
  * @remarks
1131
- * Specifies whether to encrypt the system disk. Valid values:
1251
+ * Encrypt the system disk. Valid values:
1252
+ *
1253
+ * - true: Encrypt.
1132
1254
  *
1133
- * * true: encrypts the system disk.
1134
- * * false: does not encrypt the system disk.
1255
+ * - false: Do not encrypt.
1135
1256
  *
1136
1257
  * @example
1137
1258
  * false
@@ -1139,7 +1260,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1139
1260
  systemDiskEncrypted?: boolean;
1140
1261
  /**
1141
1262
  * @remarks
1142
- * The ID of the Key Management Service (KMS) key that is used to encrypt the system disk.
1263
+ * The KMS key ID for the system disk.
1143
1264
  *
1144
1265
  * @example
1145
1266
  * 0e478b7a-4262-4802-b8cb-00d3fb40****
@@ -1147,12 +1268,15 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1147
1268
  systemDiskKmsKeyId?: string;
1148
1269
  /**
1149
1270
  * @remarks
1150
- * The performance level (PL) of the system disk. This parameter takes effect only for an ESSD. You can specify a higher PL if you increase the size of the data disk. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
1271
+ * The performance level of the system disk. This setting applies only to ESSD disks. Performance level depends on disk size. For more information, see [Enhanced SSD (ESSD)](https://help.aliyun.com/document_detail/122389.html).
1272
+ *
1273
+ * - PL0: Moderate I/O performance with stable read/write latency.
1274
+ *
1275
+ * - PL1: Moderate I/O performance with stable read/write latency.
1151
1276
  *
1152
- * * PL0: moderate maximum concurrent I/O performance and low I/O latency.
1153
- * * PL1: moderate maximum concurrent I/O performance and low I/O latency.
1154
- * * PL2: high maximum concurrent I/O performance and low I/O latency.
1155
- * * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
1277
+ * - PL2: High I/O performance with stable read/write latency.
1278
+ *
1279
+ * - PL3: Extremely high I/O performance with extremely stable read/write latency.
1156
1280
  *
1157
1281
  * @example
1158
1282
  * PL1
@@ -1160,11 +1284,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1160
1284
  systemDiskPerformanceLevel?: string;
1161
1285
  /**
1162
1286
  * @remarks
1163
- * The preset IOPS of the system disk.
1287
+ * The provisioned IOPS for the system disk.
1164
1288
  *
1165
- * Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
1289
+ * Possible values: 0 to min{50,000, 1000 × capacity baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
1166
1290
  *
1167
- * This parameter is effective only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1291
+ * You can set this parameter only when `system_disk_category` is `cloud_auto`. For more information, see [ESSD AutoPL disk](https://help.aliyun.com/document_detail/368372.html).
1168
1292
  *
1169
1293
  * @example
1170
1294
  * 1000
@@ -1172,31 +1296,38 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1172
1296
  systemDiskProvisionedIops?: number;
1173
1297
  /**
1174
1298
  * @remarks
1175
- * The size of the system disk. Unit: GiB
1299
+ * The size of the system disk for nodes. Unit: GiB.
1176
1300
  *
1177
- * Valid values: 20 to 2048.
1301
+ * Valid values: [20, 2048].
1178
1302
  *
1179
- * The value of this parameter must be at least 20 and greater than or equal to the size of the image.
1303
+ * This value must be greater than or equal to max{20, ImageSize}.
1180
1304
  *
1181
- * Default value: the greater value between 40 and the image size.
1305
+ * Default value: max{40, image size corresponding to ImageId}.
1182
1306
  *
1183
1307
  * @example
1184
1308
  * 120
1185
1309
  */
1186
1310
  systemDiskSize?: number;
1311
+ /**
1312
+ * @remarks
1313
+ * The snapshot policy for the system disk.
1314
+ *
1315
+ * @example
1316
+ * sp-0jl6xnmme8v7o935****
1317
+ */
1187
1318
  systemDiskSnapshotPolicyId?: string;
1188
1319
  /**
1189
1320
  * @remarks
1190
- * The tags that you want to add only to ECS instances.
1321
+ * Add tags to ECS instances only.
1191
1322
  *
1192
- * The tag key must be unique and cannot exceed 128 characters in length. The tag key and value cannot start with aliyun or acs: or contain https:// or http://.
1323
+ * Tag keys must be unique and up to 128 characters long. Neither tag keys nor tag values can start with "aliyun", "acs:", or contain "https\\://" or "http\\://".
1193
1324
  */
1194
1325
  tags?: Tag[];
1195
1326
  /**
1196
1327
  * @remarks
1197
- * The vSwitch IDs. You can specify one to eight vSwitch IDs.
1328
+ * The list of virtual switch IDs. Valid values: [1, 8].
1198
1329
  *
1199
- * > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
1330
+ * > To ensure high availability, select virtual switches from different zones.
1200
1331
  */
1201
1332
  vswitchIds?: string[];
1202
1333
  static names(): { [key: string]: string } {
@@ -1343,10 +1474,11 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
1343
1474
  export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
1344
1475
  /**
1345
1476
  * @remarks
1346
- * Specifies whether to enable confidential computing for the cluster. Valid values:
1477
+ * Enable the Kubernetes cluster for confidential computing. Valid values:
1478
+ *
1479
+ * - `true`: Enable.
1347
1480
  *
1348
- * * `true`: enables confidential computing for the cluster.
1349
- * * `false`: disables confidential computing for the cluster.
1481
+ * - `false`: Disable.
1350
1482
  *
1351
1483
  * Default value: `false`.
1352
1484
  *
@@ -1378,12 +1510,12 @@ export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
1378
1510
  export class ModifyClusterNodePoolRequest extends $dara.Model {
1379
1511
  /**
1380
1512
  * @remarks
1381
- * The configurations about auto scaling.
1513
+ * The auto scaling configuration.
1382
1514
  */
1383
1515
  autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
1384
1516
  /**
1385
1517
  * @remarks
1386
- * Specifies whether concurrency is supported.
1518
+ * Whether to run concurrently.
1387
1519
  *
1388
1520
  * @example
1389
1521
  * true
@@ -1391,32 +1523,32 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
1391
1523
  concurrency?: boolean;
1392
1524
  /**
1393
1525
  * @remarks
1394
- * The configurations of the cluster.
1526
+ * The cluster-related configuration.
1395
1527
  */
1396
1528
  kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
1397
1529
  /**
1398
1530
  * @remarks
1399
- * The configurations of the managed node pool feature.
1531
+ * The managed node pool configuration.
1400
1532
  */
1401
1533
  management?: ModifyClusterNodePoolRequestManagement;
1402
1534
  /**
1403
1535
  * @remarks
1404
- * The configurations of the node pool.
1536
+ * The node pool configuration.
1405
1537
  */
1406
1538
  nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
1407
1539
  /**
1408
1540
  * @remarks
1409
- * The configurations of the scaling group that is used by the node pool.
1541
+ * Node pool scaling group configuration.
1410
1542
  */
1411
1543
  scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
1412
1544
  /**
1413
1545
  * @remarks
1414
- * The configurations of confidential computing for the cluster.
1546
+ * The configuration of the Kubernetes cluster for confidential computing.
1415
1547
  */
1416
1548
  teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
1417
1549
  /**
1418
1550
  * @remarks
1419
- * Specifies whether to update node information, such as labels and taints.
1551
+ * Synchronously update node labels and taints.
1420
1552
  *
1421
1553
  * @example
1422
1554
  * true