@alicloud/cs20151215 6.6.4 → 6.7.0

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 (289) hide show
  1. package/dist/client.d.ts +220 -124
  2. package/dist/client.js +247 -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 +491 -284
  17. package/dist/models/CreateClusterNodePoolRequest.js +2 -0
  18. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  19. package/dist/models/CreateClusterNodePoolResponseBody.d.ts +1 -1
  20. package/dist/models/CreateClusterRequest.d.ts +585 -353
  21. package/dist/models/CreateClusterRequest.js.map +1 -1
  22. package/dist/models/CreateClusterResponseBody.d.ts +5 -5
  23. package/dist/models/CreateTriggerResponseBody.d.ts +1 -1
  24. package/dist/models/DeleteAlertContactRequest.d.ts +1 -1
  25. package/dist/models/DeleteAlertContactShrinkRequest.d.ts +1 -1
  26. package/dist/models/DeleteAutoRepairPolicyResponseBody.d.ts +3 -0
  27. package/dist/models/DeleteAutoRepairPolicyResponseBody.js.map +1 -1
  28. package/dist/models/DeleteClusterNodepoolResponseBody.d.ts +2 -2
  29. package/dist/models/DeleteClusterNodesRequest.d.ts +1 -1
  30. package/dist/models/DeleteClusterNodesResponseBody.d.ts +3 -3
  31. package/dist/models/DeleteClusterRequest.d.ts +26 -18
  32. package/dist/models/DeleteClusterRequest.js.map +1 -1
  33. package/dist/models/DeleteClusterResponseBody.d.ts +2 -2
  34. package/dist/models/DeleteClusterShrinkRequest.d.ts +12 -9
  35. package/dist/models/DeleteClusterShrinkRequest.js.map +1 -1
  36. package/dist/models/DeployPolicyInstanceRequest.d.ts +7 -6
  37. package/dist/models/DeployPolicyInstanceRequest.js.map +1 -1
  38. package/dist/models/DeployPolicyInstanceResponseBody.d.ts +1 -1
  39. package/dist/models/DescribeAddonsRequest.d.ts +1 -1
  40. package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +71 -0
  41. package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
  42. package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +21 -18
  43. package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
  44. package/dist/models/DescribeClusterDetailResponseBody.d.ts +243 -110
  45. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  46. package/dist/models/DescribeClusterEventsRequest.d.ts +8 -4
  47. package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
  48. package/dist/models/DescribeClusterEventsResponseBody.d.ts +49 -39
  49. package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
  50. package/dist/models/DescribeClusterLogsResponse.d.ts +3 -3
  51. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +464 -214
  52. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
  53. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  54. package/dist/models/DescribeClusterNodePoolsRequest.d.ts +1 -1
  55. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +396 -233
  56. package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
  57. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  58. package/dist/models/DescribeClusterNodesRequest.d.ts +1 -1
  59. package/dist/models/DescribeClusterNodesResponseBody.d.ts +5 -5
  60. package/dist/models/DescribeClusterResourcesRequest.d.ts +5 -1
  61. package/dist/models/DescribeClusterResourcesRequest.js.map +1 -1
  62. package/dist/models/DescribeClusterResourcesResponse.d.ts +51 -33
  63. package/dist/models/DescribeClusterResourcesResponse.js.map +1 -1
  64. package/dist/models/DescribeClusterTasksResponseBody.d.ts +9 -9
  65. package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +1 -1
  66. package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
  67. package/dist/models/DescribeClusterVulsResponseBody.d.ts +2 -2
  68. package/dist/models/DescribeClustersForRegionRequest.d.ts +32 -16
  69. package/dist/models/DescribeClustersForRegionRequest.js.map +1 -1
  70. package/dist/models/DescribeClustersForRegionResponseBody.d.ts +85 -56
  71. package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
  72. package/dist/models/DescribeClustersV1request.d.ts +33 -17
  73. package/dist/models/DescribeClustersV1request.js.map +1 -1
  74. package/dist/models/DescribeClustersV1responseBody.d.ts +98 -72
  75. package/dist/models/DescribeClustersV1responseBody.js.map +1 -1
  76. package/dist/models/DescribeEventsForRegionRequest.d.ts +6 -2
  77. package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
  78. package/dist/models/DescribeEventsForRegionResponseBody.d.ts +22 -15
  79. package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
  80. package/dist/models/DescribeEventsRequest.d.ts +53 -20
  81. package/dist/models/DescribeEventsRequest.js.map +1 -1
  82. package/dist/models/DescribeEventsResponseBody.d.ts +53 -29
  83. package/dist/models/DescribeEventsResponseBody.js.map +1 -1
  84. package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +2 -2
  85. package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +8 -8
  86. package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +11 -0
  87. package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
  88. package/dist/models/DescribePolicyDetailsResponseBody.d.ts +1 -1
  89. package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +235 -7
  90. package/dist/models/DescribePolicyGovernanceInClusterResponseBody.js.map +1 -1
  91. package/dist/models/DescribeResourcesDeleteProtectionResponse.d.ts +1 -1
  92. package/dist/models/DescribeSubaccountK8sClusterUserConfigRequest.d.ts +1 -1
  93. package/dist/models/DescribeSubaccountK8sClusterUserConfigResponseBody.d.ts +2 -2
  94. package/dist/models/DescribeTaskInfoResponseBody.d.ts +35 -31
  95. package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
  96. package/dist/models/DescribeTemplateAttributeResponse.d.ts +2 -2
  97. package/dist/models/DescribeTemplatesResponseBody.d.ts +4 -4
  98. package/dist/models/DescribeTriggerResponse.d.ts +1 -1
  99. package/dist/models/DescribeUserPermissionResponse.d.ts +1 -1
  100. package/dist/models/DescribeUserQuotaResponseBody.d.ts +0 -35
  101. package/dist/models/DescribeUserQuotaResponseBody.js.map +1 -1
  102. package/dist/models/GetClusterAddonInstanceResponseBody.d.ts +1 -1
  103. package/dist/models/GetClusterInspectReportDetailResponseBody.d.ts +9 -0
  104. package/dist/models/GetClusterInspectReportDetailResponseBody.js.map +1 -1
  105. package/dist/models/GrantPermissionsRequest.d.ts +28 -20
  106. package/dist/models/GrantPermissionsRequest.js.map +1 -1
  107. package/dist/models/InstallClusterAddonsRequest.d.ts +2 -2
  108. package/dist/models/InstanceMetadataOptions.d.ts +17 -0
  109. package/dist/models/InstanceMetadataOptions.js.map +1 -1
  110. package/dist/models/KubeletConfig.d.ts +10 -0
  111. package/dist/models/KubeletConfig.js.map +1 -1
  112. package/dist/models/ListAddonsRequest.d.ts +1 -1
  113. package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +75 -0
  114. package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
  115. package/dist/models/ListClusterChecksResponseBody.d.ts +2 -2
  116. package/dist/models/ListClusterKubeconfigStatesRequest.d.ts +10 -0
  117. package/dist/models/ListClusterKubeconfigStatesRequest.js.map +1 -1
  118. package/dist/models/ListClusterKubeconfigStatesResponseBody.d.ts +39 -0
  119. package/dist/models/ListClusterKubeconfigStatesResponseBody.js.map +1 -1
  120. package/dist/models/ListOperationPlansForRegionRequest.d.ts +9 -0
  121. package/dist/models/ListOperationPlansForRegionRequest.js.map +1 -1
  122. package/dist/models/ListOperationPlansForRegionResponseBody.d.ts +52 -0
  123. package/dist/models/ListOperationPlansForRegionResponseBody.js.map +1 -1
  124. package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +1 -1
  125. package/dist/models/MaintenanceWindow.d.ts +1 -1
  126. package/dist/models/MigrateClusterResponseBody.d.ts +3 -3
  127. package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +58 -0
  128. package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
  129. package/dist/models/ModifyAutoRepairPolicyResponseBody.d.ts +3 -0
  130. package/dist/models/ModifyAutoRepairPolicyResponseBody.js.map +1 -1
  131. package/dist/models/ModifyClusterNodePoolRequest.d.ts +353 -216
  132. package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
  133. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  134. package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +1 -1
  135. package/dist/models/ModifyClusterRequest.d.ts +186 -123
  136. package/dist/models/ModifyClusterRequest.js.map +1 -1
  137. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +8 -0
  138. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  139. package/dist/models/ModifyNodePoolNodeConfigResponseBody.d.ts +2 -2
  140. package/dist/models/Nodepool.d.ts +277 -183
  141. package/dist/models/Nodepool.js +2 -0
  142. package/dist/models/Nodepool.js.map +1 -1
  143. package/dist/models/OpenAckServiceResponseBody.d.ts +1 -1
  144. package/dist/models/RemoveClusterNodesRequest.d.ts +0 -10
  145. package/dist/models/RemoveClusterNodesRequest.js.map +1 -1
  146. package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +1 -1
  147. package/dist/models/RepairClusterNodePoolRequest.d.ts +1 -1
  148. package/dist/models/RepairClusterNodePoolResponseBody.d.ts +2 -2
  149. package/dist/models/RunClusterCheckRequest.d.ts +2 -2
  150. package/dist/models/RunClusterCheckResponseBody.d.ts +2 -2
  151. package/dist/models/RunNodeOperationRequest.d.ts +22 -0
  152. package/dist/models/RunNodeOperationRequest.js +63 -0
  153. package/dist/models/RunNodeOperationRequest.js.map +1 -0
  154. package/dist/models/RunNodeOperationResponse.d.ts +19 -0
  155. package/dist/models/RunNodeOperationResponse.js +69 -0
  156. package/dist/models/RunNodeOperationResponse.js.map +1 -0
  157. package/dist/models/RunNodeOperationResponseBody.d.ts +28 -0
  158. package/dist/models/RunNodeOperationResponseBody.js +62 -0
  159. package/dist/models/RunNodeOperationResponseBody.js.map +1 -0
  160. package/dist/models/Runtime.d.ts +2 -2
  161. package/dist/models/ScaleOutClusterRequest.d.ts +8 -131
  162. package/dist/models/ScaleOutClusterRequest.js.map +1 -1
  163. package/dist/models/ScaleOutClusterResponseBody.d.ts +0 -21
  164. package/dist/models/ScaleOutClusterResponseBody.js.map +1 -1
  165. package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
  166. package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
  167. package/dist/models/UpdateClusterAuditLogConfigResponseBody.d.ts +1 -1
  168. package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +1 -1
  169. package/dist/models/UpgradeClusterAddonsRequest.d.ts +3 -3
  170. package/dist/models/UpgradeClusterAddonsResponseBody.d.ts +1 -1
  171. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +5 -5
  172. package/dist/models/UpgradeClusterNodepoolResponseBody.d.ts +1 -1
  173. package/dist/models/UpgradeClusterRequest.d.ts +3 -3
  174. package/dist/models/model.d.ts +3 -0
  175. package/dist/models/model.js +8 -2
  176. package/dist/models/model.js.map +1 -1
  177. package/package.json +1 -1
  178. package/src/client.ts +251 -124
  179. package/src/models/AttachInstancesRequest.ts +2 -2
  180. package/src/models/AttachInstancesResponseBody.ts +1 -1
  181. package/src/models/AttachInstancesToNodePoolRequest.ts +1 -1
  182. package/src/models/AttachInstancesToNodePoolResponseBody.ts +1 -1
  183. package/src/models/ContainerdConfig.ts +22 -2
  184. package/src/models/CreateAutoRepairPolicyRequest.ts +63 -0
  185. package/src/models/CreateAutoRepairPolicyResponseBody.ts +6 -0
  186. package/src/models/CreateAutoscalingConfigRequest.ts +77 -40
  187. package/src/models/CreateClusterNodePoolRequest.ts +493 -284
  188. package/src/models/CreateClusterNodePoolResponseBody.ts +1 -1
  189. package/src/models/CreateClusterRequest.ts +585 -353
  190. package/src/models/CreateClusterResponseBody.ts +5 -5
  191. package/src/models/CreateTriggerResponseBody.ts +1 -1
  192. package/src/models/DeleteAlertContactRequest.ts +1 -1
  193. package/src/models/DeleteAlertContactShrinkRequest.ts +1 -1
  194. package/src/models/DeleteAutoRepairPolicyResponseBody.ts +3 -0
  195. package/src/models/DeleteClusterNodepoolResponseBody.ts +2 -2
  196. package/src/models/DeleteClusterNodesRequest.ts +1 -1
  197. package/src/models/DeleteClusterNodesResponseBody.ts +3 -3
  198. package/src/models/DeleteClusterRequest.ts +26 -18
  199. package/src/models/DeleteClusterResponseBody.ts +2 -2
  200. package/src/models/DeleteClusterShrinkRequest.ts +12 -9
  201. package/src/models/DeployPolicyInstanceRequest.ts +7 -6
  202. package/src/models/DeployPolicyInstanceResponseBody.ts +1 -1
  203. package/src/models/DescribeAddonsRequest.ts +1 -1
  204. package/src/models/DescribeAutoRepairPolicyResponseBody.ts +71 -0
  205. package/src/models/DescribeClusterAttachScriptsRequest.ts +21 -18
  206. package/src/models/DescribeClusterDetailResponseBody.ts +243 -110
  207. package/src/models/DescribeClusterEventsRequest.ts +8 -4
  208. package/src/models/DescribeClusterEventsResponseBody.ts +49 -39
  209. package/src/models/DescribeClusterLogsResponse.ts +3 -3
  210. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +466 -214
  211. package/src/models/DescribeClusterNodePoolsRequest.ts +1 -1
  212. package/src/models/DescribeClusterNodePoolsResponseBody.ts +398 -233
  213. package/src/models/DescribeClusterNodesRequest.ts +1 -1
  214. package/src/models/DescribeClusterNodesResponseBody.ts +5 -5
  215. package/src/models/DescribeClusterResourcesRequest.ts +5 -1
  216. package/src/models/DescribeClusterResourcesResponse.ts +51 -33
  217. package/src/models/DescribeClusterTasksResponseBody.ts +9 -9
  218. package/src/models/DescribeClusterUserKubeconfigRequest.ts +1 -1
  219. package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
  220. package/src/models/DescribeClusterVulsResponseBody.ts +2 -2
  221. package/src/models/DescribeClustersForRegionRequest.ts +32 -16
  222. package/src/models/DescribeClustersForRegionResponseBody.ts +85 -56
  223. package/src/models/DescribeClustersV1request.ts +33 -17
  224. package/src/models/DescribeClustersV1responseBody.ts +98 -72
  225. package/src/models/DescribeEventsForRegionRequest.ts +6 -2
  226. package/src/models/DescribeEventsForRegionResponseBody.ts +22 -15
  227. package/src/models/DescribeEventsRequest.ts +53 -20
  228. package/src/models/DescribeEventsResponseBody.ts +53 -29
  229. package/src/models/DescribeKubernetesVersionMetadataRequest.ts +2 -2
  230. package/src/models/DescribeKubernetesVersionMetadataResponse.ts +8 -8
  231. package/src/models/DescribeNodePoolVulsResponseBody.ts +11 -0
  232. package/src/models/DescribePolicyDetailsResponseBody.ts +1 -1
  233. package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +235 -7
  234. package/src/models/DescribeResourcesDeleteProtectionResponse.ts +1 -1
  235. package/src/models/DescribeSubaccountK8sClusterUserConfigRequest.ts +1 -1
  236. package/src/models/DescribeSubaccountK8sClusterUserConfigResponseBody.ts +2 -2
  237. package/src/models/DescribeTaskInfoResponseBody.ts +35 -31
  238. package/src/models/DescribeTemplateAttributeResponse.ts +2 -2
  239. package/src/models/DescribeTemplatesResponseBody.ts +4 -4
  240. package/src/models/DescribeTriggerResponse.ts +1 -1
  241. package/src/models/DescribeUserPermissionResponse.ts +1 -1
  242. package/src/models/DescribeUserQuotaResponseBody.ts +0 -35
  243. package/src/models/GetClusterAddonInstanceResponseBody.ts +1 -1
  244. package/src/models/GetClusterInspectReportDetailResponseBody.ts +9 -0
  245. package/src/models/GrantPermissionsRequest.ts +28 -20
  246. package/src/models/InstallClusterAddonsRequest.ts +2 -2
  247. package/src/models/InstanceMetadataOptions.ts +17 -0
  248. package/src/models/KubeletConfig.ts +10 -0
  249. package/src/models/ListAddonsRequest.ts +1 -1
  250. package/src/models/ListAutoRepairPoliciesResponseBody.ts +75 -0
  251. package/src/models/ListClusterChecksResponseBody.ts +2 -2
  252. package/src/models/ListClusterKubeconfigStatesRequest.ts +10 -0
  253. package/src/models/ListClusterKubeconfigStatesResponseBody.ts +39 -0
  254. package/src/models/ListOperationPlansForRegionRequest.ts +9 -0
  255. package/src/models/ListOperationPlansForRegionResponseBody.ts +52 -0
  256. package/src/models/ListUserKubeConfigStatesResponseBody.ts +1 -1
  257. package/src/models/MaintenanceWindow.ts +1 -1
  258. package/src/models/MigrateClusterResponseBody.ts +3 -3
  259. package/src/models/ModifyAutoRepairPolicyRequest.ts +58 -0
  260. package/src/models/ModifyAutoRepairPolicyResponseBody.ts +3 -0
  261. package/src/models/ModifyClusterNodePoolRequest.ts +356 -217
  262. package/src/models/ModifyClusterNodePoolResponseBody.ts +1 -1
  263. package/src/models/ModifyClusterRequest.ts +186 -123
  264. package/src/models/ModifyNodePoolNodeConfigRequest.ts +8 -0
  265. package/src/models/ModifyNodePoolNodeConfigResponseBody.ts +2 -2
  266. package/src/models/Nodepool.ts +279 -183
  267. package/src/models/OpenAckServiceResponseBody.ts +1 -1
  268. package/src/models/RemoveClusterNodesRequest.ts +0 -10
  269. package/src/models/RemoveNodePoolNodesResponseBody.ts +1 -1
  270. package/src/models/RepairClusterNodePoolRequest.ts +1 -1
  271. package/src/models/RepairClusterNodePoolResponseBody.ts +2 -2
  272. package/src/models/RunClusterCheckRequest.ts +2 -2
  273. package/src/models/RunClusterCheckResponseBody.ts +2 -2
  274. package/src/models/RunNodeOperationRequest.ts +40 -0
  275. package/src/models/RunNodeOperationResponse.ts +40 -0
  276. package/src/models/RunNodeOperationResponseBody.ts +45 -0
  277. package/src/models/Runtime.ts +2 -2
  278. package/src/models/ScaleOutClusterRequest.ts +8 -131
  279. package/src/models/ScaleOutClusterResponseBody.ts +0 -21
  280. package/src/models/ScanClusterVulsResponseBody.ts +1 -1
  281. package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
  282. package/src/models/UpdateClusterAuditLogConfigResponseBody.ts +1 -1
  283. package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +1 -1
  284. package/src/models/UpgradeClusterAddonsRequest.ts +3 -3
  285. package/src/models/UpgradeClusterAddonsResponseBody.ts +1 -1
  286. package/src/models/UpgradeClusterNodepoolRequest.ts +5 -5
  287. package/src/models/UpgradeClusterNodepoolResponseBody.ts +1 -1
  288. package/src/models/UpgradeClusterRequest.ts +3 -3
  289. package/src/models/model.ts +3 -0
@@ -10,6 +10,18 @@ import { Taint } from "./Taint";
10
10
 
11
11
 
12
12
  export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
13
+ /**
14
+ * @remarks
15
+ * Specifies whether to enable the intelligent managed mode.
16
+ * Valid values:
17
+ *
18
+ * - true: Enables the intelligent managed mode. You can enable this mode only when the intelligent managed mode is enabled for the cluster.
19
+ *
20
+ * - false: Disables the intelligent managed mode.
21
+ *
22
+ * @example
23
+ * true
24
+ */
13
25
  enable?: boolean;
14
26
  static names(): { [key: string]: string } {
15
27
  return {
@@ -35,78 +47,73 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
35
47
  export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
36
48
  /**
37
49
  * @remarks
38
- * This parameter is deprecated.
39
- *
40
- * The maximum bandwidth of the EIP. Unit: Mbit/s.
50
+ * [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
41
51
  *
42
- * **
43
- *
44
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
52
+ * The peak bandwidth of the EIP. Unit: Mbps.
45
53
  *
46
54
  * @example
47
- * 5
55
+ * null
48
56
  *
49
57
  * @deprecated
50
58
  */
51
59
  eipBandwidth?: number;
52
60
  /**
53
61
  * @remarks
54
- * This parameter is deprecated.
55
- *
56
- * The metering method of the EIP. Valid values:
62
+ * [This parameter is deprecated] Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
57
63
  *
58
- * * `PayByBandwidth`: pay-by-bandwidth.
59
- * * `PayByTraffic`: pay-by-data-transfer.
64
+ * The billing method of the EIP. Valid values:
60
65
  *
61
- * Default value: `PayByBandwidth`.
66
+ * - `PayByBandwidth`: pay-by-bandwidth.
62
67
  *
63
- * **
68
+ * - `PayByTraffic`: pay-by-traffic.
64
69
  *
65
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
70
+ * Default value: `PayByBandwidth`.
66
71
  *
67
72
  * @example
68
- * PayByBandwidth
73
+ * null
69
74
  *
70
75
  * @deprecated
71
76
  */
72
77
  eipInternetChargeType?: string;
73
78
  /**
74
79
  * @remarks
75
- * Specifies whether to enable auto scaling for the node pool. Valid values:
80
+ * Specifies whether to enable auto scaling. Valid values:
81
+ *
82
+ * - `true`: Enables auto scaling for the node pool. If the resources planned for the cluster cannot meet the scheduling requirements of pods, Container Service for Kubernetes (ACK) automatically scales out or scales in nodes based on the configured minimum and maximum numbers of instances. For clusters of Kubernetes 1.24 or later, instant scaling is enabled by default. For clusters of a Kubernetes version earlier than 1.24, node autoscaling is enabled by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
76
83
  *
77
- * * `true`: enables auto scaling.
78
- * * `false`: disables auto scaling. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
84
+ * - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the value of \\`desired_size\\` to maintain a specific number of nodes.
85
+ *
86
+ * If you set this parameter to false, other parameters in \\`auto_scaling\\` do not take effect.
79
87
  *
80
88
  * Default value: `false`.
81
89
  *
82
90
  * @example
83
- * true
91
+ * false
84
92
  */
85
93
  enable?: boolean;
86
94
  /**
87
95
  * @remarks
88
- * This parameter is deprecated.
96
+ * [This parameter is deprecated] This parameter is deprecated. Use \\`internet_charge_type\\` and \\`internet_max_bandwidth_out\\` instead.
89
97
  *
90
- * Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
98
+ * Specifies whether to associate an EIP with the node. Valid values:
91
99
  *
92
- * * `true`: associates an EIP with the node pool.
93
- * * `false`: does not associate an EIP with the node pool.
100
+ * - `true`: associates an EIP with the node.
94
101
  *
95
- * Default value: `false`.
96
- *
97
- * **
102
+ * - `false`: does not associate an EIP with the node.
98
103
  *
99
- * **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
104
+ * Default value: `false`.
100
105
  *
101
106
  * @example
102
- * true
107
+ * null
103
108
  *
104
109
  * @deprecated
105
110
  */
106
111
  isBondEip?: boolean;
107
112
  /**
108
113
  * @remarks
109
- * The maximum number to which the Elastic Compute Service (ECS) instances in the node pool can be scaled. The number of nodes in the node pool cannot be greater than this value. This parameter takes effect only when `enable` is set to true. Valid values: [min_instances, 2000]. Default value: 0.
114
+ * The maximum number of instances that can be created in the node pool. This does not include existing instances. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
115
+ *
116
+ * The value must be in the range of [\\`min_instances\\`, 2000]. Default value: 0.
110
117
  *
111
118
  * @example
112
119
  * 10
@@ -114,7 +121,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
114
121
  maxInstances?: number;
115
122
  /**
116
123
  * @remarks
117
- * The minimum number to which the ECS instances in the node pool can be scaled. The number of nodes in the node pool cannot be smaller than this value. This parameter takes effect only when `enable` is set to true. Valid values: [0, max_instances]. Default value: 0.
124
+ * The minimum number of instances that can be created in the node pool. This does not include existing instances. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
125
+ *
126
+ * The value must be in the range of [0, \\`max_instances\\`]. Default value: 0.
127
+ *
128
+ * > - If the minimum number of instances is not 0, the specified number of ECS instances are automatically created after the scaling group is created.
129
+ * >
130
+ * > - We recommend that you set the maximum number of instances to a value that is not smaller than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after auto scaling is enabled.
118
131
  *
119
132
  * @example
120
133
  * 1
@@ -122,16 +135,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
122
135
  minInstances?: number;
123
136
  /**
124
137
  * @remarks
125
- * The instance type that is used for auto scaling. This parameter takes effect only when `enable` is set to true. Valid values:
138
+ * The type of instances that are automatically scaled. This parameter takes effect only if \\`enable\\` is set to \\`true\\`. Valid values:
126
139
  *
127
- * * `cpu`: regular instance.
128
- * * `gpu`: GPU-accelerated instance.
129
- * * `gpushare`: shared GPU-accelerated instance.
130
- * * `spot`: preemptible instance.
140
+ * - `cpu`: regular instance.
131
141
  *
132
- * Default value: `cpu`.
142
+ * - `gpu`: GPU-accelerated instance.
143
+ *
144
+ * - `gpushare`: shared GPU-accelerated instance.
133
145
  *
134
- * > You cannot modify this parameter after the node pool is created.
146
+ * - `spot`: spot instance.
147
+ *
148
+ * Default value: `cpu`.
149
+ * >Notice: You cannot change the value of this parameter after the node pool is created.
135
150
  *
136
151
  * @example
137
152
  * cpu
@@ -171,7 +186,21 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
171
186
  }
172
187
 
173
188
  export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
189
+ /**
190
+ * @remarks
191
+ * The ID of the Lingjun cluster that you want to associate with the Lingjun node pool when you create the node pool.
192
+ *
193
+ * @example
194
+ * i1169130516633730****
195
+ */
174
196
  clusterId?: string;
197
+ /**
198
+ * @remarks
199
+ * The ID of the Lingjun group in the Lingjun cluster that you want to associate with the Lingjun node pool when you create the node pool.
200
+ *
201
+ * @example
202
+ * ng-ec3c96ff0aa****
203
+ */
175
204
  groupId?: string;
176
205
  static names(): { [key: string]: string } {
177
206
  return {
@@ -199,52 +228,52 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
199
228
  export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
200
229
  /**
201
230
  * @remarks
202
- * This parameter is deprecated.
231
+ * [This parameter is deprecated]
203
232
  *
204
- * The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
233
+ * The network bandwidth of the enhanced edge node pool. Unit: Mbps.
205
234
  *
206
235
  * @example
207
- * 10
236
+ * null
208
237
  */
209
238
  bandwidth?: number;
210
239
  /**
211
240
  * @remarks
212
- * This parameter is deprecated.
241
+ * [This parameter is deprecated]
213
242
  *
214
- * The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
243
+ * The ID of the CCN instance that is associated with the enhanced edge node pool.
215
244
  *
216
245
  * @example
217
- * ccn-qm5i0i0q9yi*******
246
+ * null
218
247
  */
219
248
  ccnId?: string;
220
249
  /**
221
250
  * @remarks
222
- * This parameter is deprecated.
251
+ * [This parameter is deprecated]
223
252
  *
224
- * The region to which the CCN instance that is associated with the enhanced edge node pool belongs.
253
+ * The region of the CCN instance that is associated with the enhanced edge node pool.
225
254
  *
226
255
  * @example
227
- * cn-shanghai
256
+ * null
228
257
  */
229
258
  ccnRegionId?: string;
230
259
  /**
231
260
  * @remarks
232
- * This parameter is deprecated.
261
+ * [This parameter is deprecated]
233
262
  *
234
- * The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
263
+ * The ID of the CEN instance that is associated with the enhanced edge node pool.
235
264
  *
236
265
  * @example
237
- * cen-ey9k9nfhz0f*******
266
+ * null
238
267
  */
239
268
  cenId?: string;
240
269
  /**
241
270
  * @remarks
242
- * This parameter is deprecated.
271
+ * [This parameter is deprecated]
243
272
  *
244
- * The subscription duration of the enhanced edge node pool. The duration is measured in months.
273
+ * The subscription duration of the enhanced edge node pool. Unit: months.
245
274
  *
246
275
  * @example
247
- * 1
276
+ * null
248
277
  */
249
278
  improvedPeriod?: string;
250
279
  static names(): { [key: string]: string } {
@@ -279,23 +308,25 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
279
308
  export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
280
309
  /**
281
310
  * @remarks
282
- * 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:
311
+ * Specifies whether to install Cloud Monitor on the ECS nodes. After Cloud Monitor is installed, you can view the monitoring information of the created ECS instances in the Cloud Monitor console. We recommend that you enable this feature. Valid values:
312
+ *
313
+ * - `true`: Installs Cloud Monitor on the ECS nodes.
283
314
  *
284
- * * `true`: installs the CloudMonitor agent on ECS nodes.
285
- * * `false`: does not install the CloudMonitor agent on ECS nodes.
315
+ * - `false`: Does not install Cloud Monitor on the ECS nodes.
286
316
  *
287
- * Default value: `false`
317
+ * Default value: `false`.
288
318
  *
289
319
  * @example
290
- * true
320
+ * false
291
321
  */
292
322
  cmsEnabled?: boolean;
293
323
  /**
294
324
  * @remarks
295
- * 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:
325
+ * The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
296
326
  *
297
- * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
298
- * * `none`: specifies that the default CPU affinity is used.
327
+ * - `static`: Allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
328
+ *
329
+ * - `none`: Enables the default CPU affinity scheme.
299
330
  *
300
331
  * Default value: `none`.
301
332
  *
@@ -305,25 +336,38 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
305
336
  cpuPolicy?: string;
306
337
  /**
307
338
  * @remarks
308
- * The labels that you want to add to the nodes in the cluster.
339
+ * The labels that you want to add to the nodes in the Kubernetes cluster.
309
340
  */
310
341
  labels?: Tag[];
311
342
  /**
312
343
  * @remarks
313
- * A custom node name consists of a prefix, a node IP address, and a suffix.
344
+ * The custom node name. If you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed.
345
+ *
346
+ * > For Windows instances for which custom node names are enabled, the hostname is fixed as the IP address. Hyphens (-) are used to replace periods (.) in the IP address. The hostname does not contain a prefix or a suffix.
347
+ *
348
+ * A node name consists of a prefix, the node IP address, and a suffix.
314
349
  *
315
- * * The prefix and the suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
316
- * * The node IP address in a custom node name is the private IP address of the node.
350
+ * - The total length must be 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
317
351
  *
318
- * Set the parameter to a value in the customized,aliyun,ip,com format. The value consists of four parts that are separated by commas (,). customized and ip are fixed content. aliyun is the prefix and com is the suffix. Example: aliyun.192.168.xxx.xxx.com.
352
+ * - The prefix and suffix can contain uppercase letters, lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter. They cannot start or end with a hyphen (-) or a period (.). You cannot use consecutive hyphens (-)or periods (.). You cannot use consecutive hyphens (-) or periods (.).
353
+ *
354
+ * - The prefix is required (due to an ECS limit). The suffix is optional.
355
+ *
356
+ * - The node IP address is the complete private IP address of the node.
357
+ *
358
+ * For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
359
+ *
360
+ * - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
361
+ *
362
+ * - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
319
363
  *
320
364
  * @example
321
- * customized,aliyun,ip,com
365
+ * aliyun.com192.XX.YY.55test
322
366
  */
323
367
  nodeNameMode?: string;
324
368
  /**
325
369
  * @remarks
326
- * The user-defined data of nodes. You can specify custom scripts that are automatically executed before the nodes are initialized.
370
+ * The pre-join instance user data. The specified user data script is run before the node joins the cluster. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
327
371
  *
328
372
  * @example
329
373
  * dGhpcyBpcyBhIGV4YW1wbGU
@@ -331,16 +375,18 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
331
375
  preUserData?: string;
332
376
  /**
333
377
  * @remarks
334
- * The name of the container runtime. The following types of runtime are supported by ACK:
378
+ * The name of the container runtime. ACK supports the following three container runtimes.
379
+ *
380
+ * - containerd: We recommend that you use this runtime. It is supported by all cluster versions.
335
381
  *
336
- * * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
337
- * * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
338
- * * docker: The Docker runtime supports Kubernetes 1.22 and earlier.
382
+ * - Sandboxed-Container.runv: a sandboxed container that provides higher isolation. It is supported by clusters of Kubernetes 1.31 or earlier.
383
+ *
384
+ * - docker: no longer maintained. It is supported by clusters of Kubernetes 1.22 or earlier.
339
385
  *
340
386
  * Default value: containerd.
341
387
  *
342
388
  * @example
343
- * docker
389
+ * containerd
344
390
  */
345
391
  runtime?: string;
346
392
  /**
@@ -348,17 +394,21 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
348
394
  * The version of the container runtime.
349
395
  *
350
396
  * @example
351
- * 19.03.5
397
+ * 1.6.38
352
398
  */
353
399
  runtimeVersion?: string;
354
400
  /**
355
401
  * @remarks
356
- * The configurations of the taints.
402
+ * The taint configurations.
357
403
  */
358
404
  taints?: Taint[];
359
405
  /**
360
406
  * @remarks
361
- * Specifies whether the nodes are schedulable after a scale-out operation is performed.
407
+ * Specifies whether the scaled-out nodes are unschedulable.
408
+ *
409
+ * - true: The nodes are unschedulable.
410
+ *
411
+ * - false: The nodes are schedulable.
362
412
  *
363
413
  * @example
364
414
  * true
@@ -366,7 +416,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
366
416
  unschedulable?: boolean;
367
417
  /**
368
418
  * @remarks
369
- * The user-defined data of nodes. You can specify custom scripts that are automatically executed after the nodes are initialized.
419
+ * The instance user data. After the node joins the cluster, the specified user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
370
420
  *
371
421
  * @example
372
422
  * dGhpcyBpcyBhIGV4YW1wbGU=
@@ -418,15 +468,20 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
418
468
  }
419
469
 
420
470
  export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
471
+ /**
472
+ * @remarks
473
+ * Specifies whether manual approval is required for node repair.
474
+ */
421
475
  approvalRequired?: boolean;
422
476
  /**
423
477
  * @remarks
424
- * Specifies whether to allow node restart. This parameter takes effect only when `auto_repair` is set to true. Valid values:
478
+ * Specifies whether to allow node restart. This parameter takes effect only if \\`auto_repair\\` is set to \\`true\\`. Valid values:
425
479
  *
426
- * * `true`: allows node restart.
427
- * * `false`: does not allow node restart.
480
+ * - `true`: Allows node restart.
428
481
  *
429
- * If `auto_repair` is set to true, the default value of this parameter is `true`. If `auto_repair` is set to false, the default value of this parameter is `false`.
482
+ * - `false`: Disallows node restart.
483
+ *
484
+ * Default value: `true`
430
485
  *
431
486
  * @example
432
487
  * true
@@ -458,12 +513,13 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
458
513
  export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
459
514
  /**
460
515
  * @remarks
461
- * Specifies whether to allow the auto upgrade of the kubelet. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
516
+ * Specifies whether to allow auto kubelet upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
517
+ *
518
+ * - `true`: Allows auto kubelet upgrade.
462
519
  *
463
- * * `true`: allows the auto upgrade of the kubelet.
464
- * * `false`: does not allow the auto upgrade of the kubelet.
520
+ * - `false`: Disallows auto kubelet upgrade.
465
521
  *
466
- * If `auto_upgrade` is set to true, the default value of this parameter is `true`. If `auto_upgrade` is set to false, the default value of this parameter is `false`.
522
+ * Default value: `true`.
467
523
  *
468
524
  * @example
469
525
  * true
@@ -471,10 +527,11 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
471
527
  autoUpgradeKubelet?: boolean;
472
528
  /**
473
529
  * @remarks
474
- * Specifies whether to allow the auto upgrade of the OS. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
530
+ * Specifies whether to allow auto OS upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
531
+ *
532
+ * - `true`: Allows auto OS upgrade.
475
533
  *
476
- * * `true`: allows the auto upgrade of the OS.
477
- * * `false`: does not allow the auto upgrade of the OS.
534
+ * - `false`: Disallows auto OS upgrade.
478
535
  *
479
536
  * Default value: `false`.
480
537
  *
@@ -484,12 +541,13 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
484
541
  autoUpgradeOs?: boolean;
485
542
  /**
486
543
  * @remarks
487
- * Specifies whether to allow the auto upgrade of the runtime. This parameter takes effect only when `auto_upgrade` is set to true. Valid values:
544
+ * Specifies whether to allow auto runtime upgrade. This parameter takes effect only if \\`auto_upgrade\\` is set to \\`true\\`. Valid values:
488
545
  *
489
- * * `true`: allows the auto upgrade of the runtime.
490
- * * `false`: does not allow the auto upgrade of the runtime.
546
+ * - `true`: Allows auto runtime upgrade.
491
547
  *
492
- * Default value: `false`.
548
+ * - `false`: Disallows auto runtime upgrade.
549
+ *
550
+ * Default value: `true`.
493
551
  *
494
552
  * @example
495
553
  * false
@@ -521,27 +579,41 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
521
579
  }
522
580
 
523
581
  export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
582
+ /**
583
+ * @remarks
584
+ * The packages that should be excluded from vulnerability fixing.
585
+ *
586
+ * Default value: `kernel`.
587
+ *
588
+ * @example
589
+ * kernel
590
+ */
524
591
  excludePackages?: string;
525
592
  /**
526
593
  * @remarks
527
- * Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix` is set to true. Valid values:
594
+ * Specifies whether to allow node restart. This parameter takes effect only if \\`auto_vul_fix\\` is set to \\`true\\`. Valid values:
595
+ *
596
+ * - `true`: Allows node restart.
528
597
  *
529
- * * `true`: allows node restart.
530
- * * `false`: does not allow node restart. If `auto_vul_fix` is set to true, the default value of this parameter is `false`. If `auto_vul_fix` is set to false, the default value of this parameter is `false`.
598
+ * - `false`: Disallows node restart.
599
+ *
600
+ * Default value: `true`
531
601
  *
532
602
  * @example
533
- * true
603
+ * false
534
604
  */
535
605
  restartNode?: boolean;
536
606
  /**
537
607
  * @remarks
538
- * The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
608
+ * The vulnerability levels that are allowed to be automatically fixed. Separate multiple levels with commas. Example: `asap,later`. Supported vulnerability levels:
539
609
  *
540
- * * `asap`: high.
541
- * * `later`: medium.
542
- * * `nntf`: low.
610
+ * - `asap`: high
543
611
  *
544
- * If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
612
+ * - `later`: medium
613
+ *
614
+ * - `nntf`: low
615
+ *
616
+ * Default value: `asap`.
545
617
  *
546
618
  * @example
547
619
  * asap,nntf
@@ -575,24 +647,24 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
575
647
  export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
576
648
  /**
577
649
  * @remarks
578
- * Specifies whether to enable auto upgrade. Valid values:
650
+ * [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
579
651
  *
580
- * * `true`: enables auto OS upgrade.
581
- * * `false`: disables auto OS upgrade.
652
+ * Specifies whether to enable auto upgrade. Valid values:
582
653
  *
583
- * **
654
+ * - `true`: enables auto upgrade.
584
655
  *
585
- * **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter instead.
656
+ * - `false`: disables auto upgrade.
586
657
  *
587
658
  * @example
588
- * false
659
+ * null
589
660
  *
590
661
  * @deprecated
591
662
  */
592
663
  autoUpgrade?: boolean;
593
664
  /**
594
665
  * @remarks
595
- * The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
666
+ * The maximum number of unavailable nodes.
667
+ * The value must be in the range of [1, 1000].
596
668
  *
597
669
  * Default value: 1.
598
670
  *
@@ -602,7 +674,11 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
602
674
  maxUnavailable?: number;
603
675
  /**
604
676
  * @remarks
605
- * The number of nodes that are temporarily added to the node pool during an auto upgrade.
677
+ * The number of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
678
+ *
679
+ * Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the load on the cluster.
680
+ *
681
+ * > We recommend that the number of extra nodes does not exceed the current number of nodes.
606
682
  *
607
683
  * @example
608
684
  * 0
@@ -610,7 +686,9 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
610
686
  surge?: number;
611
687
  /**
612
688
  * @remarks
613
- * The percentage of additional nodes that are temporarily added to the node pool during an auto upgrade. You must set this parameter or `surge`.
689
+ * The percentage of extra nodes. You can specify only one of \\`surge\\` and \\`surge_percentage\\`.
690
+ *
691
+ * Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if you set the percentage of extra nodes to 50% and the number of existing nodes is 6, three extra nodes are created.
614
692
  *
615
693
  * @example
616
694
  * 0
@@ -644,17 +722,19 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
644
722
  }
645
723
 
646
724
  export class CreateClusterNodePoolRequestManagement extends $dara.Model {
725
+ autoFaultDiagnosis?: boolean;
647
726
  /**
648
727
  * @remarks
649
- * Specifies whether to enable auto node repair. This parameter takes effect only when `enable` is set to true.
728
+ * Specifies whether to enable auto node repair. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
729
+ *
730
+ * - `true`: Enables auto node repair.
650
731
  *
651
- * * `true`: enables auto node repair.
652
- * * `false`: disables auto node repair.
732
+ * - `false`: Disables auto node repair.
653
733
  *
654
- * If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
734
+ * Default value: `true`
655
735
  *
656
736
  * @example
657
- * false
737
+ * true
658
738
  */
659
739
  autoRepair?: boolean;
660
740
  /**
@@ -664,12 +744,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
664
744
  autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
665
745
  /**
666
746
  * @remarks
667
- * Specifies whether to enable auto node upgrade. This parameter takes effect only when `enable` is set to true.
747
+ * Specifies whether to enable auto node upgrade. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
748
+ *
749
+ * - `true`: Enables auto node upgrade.
668
750
  *
669
- * * `true`: enables auto node upgrade.
670
- * * `false`: disables auto node upgrade.
751
+ * - `false`: Disables auto node upgrade.
671
752
  *
672
- * If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
753
+ * Default value: `true`.
673
754
  *
674
755
  * @example
675
756
  * true
@@ -682,12 +763,13 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
682
763
  autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
683
764
  /**
684
765
  * @remarks
685
- * Specifies whether to enable auto Common Vulnerabilities and Exposures (CVE) patching. This parameter takes effect only when `enable` is set to true.
766
+ * Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
686
767
  *
687
- * * `true`: enables auto CVE patching.
688
- * * `false`: disables auto CVE patching.
768
+ * - `true`: Automatically fixes CVE vulnerabilities.
689
769
  *
690
- * If `enable` is set to true, the default value of this parameter is `true`. If `enable` is set to false, the default value of this parameter is `false`.
770
+ * - `false`: Does not automatically fix CVE vulnerabilities.
771
+ *
772
+ * Default value: `true`.
691
773
  *
692
774
  * @example
693
775
  * true
@@ -695,15 +777,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
695
777
  autoVulFix?: boolean;
696
778
  /**
697
779
  * @remarks
698
- * The auto CVE patching policy.
780
+ * The policy for automatically fixing CVE vulnerabilities.
699
781
  */
700
782
  autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
701
783
  /**
702
784
  * @remarks
703
785
  * Specifies whether to enable the managed node pool feature. Valid values:
704
786
  *
705
- * * `true`: enables the managed node pool feature.
706
- * * `false`: disables the managed node pool feature. Other parameters in this section take effect only when enable is set to true.
787
+ * - `true`: Enables the managed node pool feature.
788
+ *
789
+ * - `false`: Disables the managed node pool feature. If you set this parameter to \\`false\\`, the other parameters of \\`management\\` do not take effect.
707
790
  *
708
791
  * Default value: false.
709
792
  *
@@ -713,13 +796,16 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
713
796
  enable?: boolean;
714
797
  /**
715
798
  * @remarks
716
- * The configurations of auto upgrade. The configurations take effect only when `enable` is set to true.
799
+ * [This parameter is deprecated] Use the \\`auto_upgrade\\` parameter instead.
800
+ *
801
+ * The auto upgrade configurations. This parameter takes effect only if \\`enable\\` is set to \\`true\\`.
717
802
  *
718
803
  * @deprecated
719
804
  */
720
805
  upgradeConfig?: CreateClusterNodePoolRequestManagementUpgradeConfig;
721
806
  static names(): { [key: string]: string } {
722
807
  return {
808
+ autoFaultDiagnosis: 'auto_fault_diagnosis',
723
809
  autoRepair: 'auto_repair',
724
810
  autoRepairPolicy: 'auto_repair_policy',
725
811
  autoUpgrade: 'auto_upgrade',
@@ -733,6 +819,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
733
819
 
734
820
  static types(): { [key: string]: any } {
735
821
  return {
822
+ autoFaultDiagnosis: 'boolean',
736
823
  autoRepair: 'boolean',
737
824
  autoRepairPolicy: CreateClusterNodePoolRequestManagementAutoRepairPolicy,
738
825
  autoUpgrade: 'boolean',
@@ -766,6 +853,10 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
766
853
  }
767
854
 
768
855
  export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
856
+ /**
857
+ * @remarks
858
+ * The custom configurations of the node component.
859
+ */
769
860
  customConfig?: { [key: string]: string };
770
861
  static names(): { [key: string]: string } {
771
862
  return {
@@ -792,13 +883,23 @@ export class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Mode
792
883
  }
793
884
 
794
885
  export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
886
+ /**
887
+ * @remarks
888
+ * The configurations of the node component.
889
+ */
795
890
  config?: CreateClusterNodePoolRequestNodeComponentsConfig;
796
891
  /**
892
+ * @remarks
893
+ * The name of the node component.
894
+ *
797
895
  * @example
798
896
  * kubelet
799
897
  */
800
898
  name?: string;
801
899
  /**
900
+ * @remarks
901
+ * The version of the node component.
902
+ *
802
903
  * @example
803
904
  * 1.33.3-aliyun.1
804
905
  */
@@ -834,7 +935,7 @@ export class CreateClusterNodePoolRequestNodeComponents extends $dara.Model {
834
935
  export class CreateClusterNodePoolRequestNodeConfig extends $dara.Model {
835
936
  /**
836
937
  * @remarks
837
- * The configurations of the kubelet.
938
+ * The Kubelet parameter settings.
838
939
  */
839
940
  kubeletConfiguration?: KubeletConfig;
840
941
  static names(): { [key: string]: string } {
@@ -869,12 +970,14 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
869
970
  * This parameter is required.
870
971
  *
871
972
  * @example
872
- * cluster-demo
973
+ * nodepool-test
873
974
  */
874
975
  name?: string;
875
976
  /**
876
977
  * @remarks
877
- * 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.
978
+ * The ID of the resource group. Instances that are created in the node pool belong to this resource group.
979
+ *
980
+ * A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
878
981
  *
879
982
  * @example
880
983
  * rg-acfmyvw3wjmb****
@@ -882,11 +985,15 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
882
985
  resourceGroupId?: string;
883
986
  /**
884
987
  * @remarks
885
- * The type of node pool. Valid values:
988
+ * The type of the node pool. Valid values:
886
989
  *
887
- * * `ess`: regular node pool, which supports the managed node pool feature and the auto scaling feature.
888
- * * `edge`: edge node pool.
889
- * * `lingjun`: Lingjun node pool.
990
+ * - `ess`: a regular node pool. This type of node pool provides managed features and auto scaling.
991
+ *
992
+ * - `edge`: an edge node pool.
993
+ *
994
+ * - `lingjun`: a Lingjun node pool.
995
+ *
996
+ * - `hybrid`: a hybrid cloud node pool.
890
997
  *
891
998
  * @example
892
999
  * ess
@@ -920,7 +1027,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
920
1027
  export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
921
1028
  /**
922
1029
  * @remarks
923
- * The ID of the private node pool.
1030
+ * The ID of the private pool. You must specify the private pool ID when \\`match_criteria\\` is set to \\`Target\\`.
924
1031
  *
925
1032
  * @example
926
1033
  * eap-bp67acfmxazb4****
@@ -928,14 +1035,16 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
928
1035
  id?: string;
929
1036
  /**
930
1037
  * @remarks
931
- * 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:
1038
+ * The type of the private pool. This parameter specifies the capacity of the private pool that you want to use to launch instances. An elastic assurance service or a capacity reservation service takes effect after it is generated. You can select a capacity type when you launch an instance. Valid values:
932
1039
  *
933
- * * `Open`: uses an 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.
934
- * * `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.
935
- * * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
1040
+ * - `Open`: Open mode. The system automatically matches the capacity of open private pools. If no matching private pool is found, the instance is launched using public pool resources.
1041
+ *
1042
+ * - `Target`: Target mode. The instance is launched using the capacity of the specified private pool. If the capacity of the private pool is unavailable, the instance fails to be launched.
1043
+ *
1044
+ * - `None`: The instance is launched without using the capacity of a private pool.
936
1045
  *
937
1046
  * @example
938
- * Open
1047
+ * Target
939
1048
  */
940
1049
  matchCriteria?: string;
941
1050
  static names(): { [key: string]: string } {
@@ -962,8 +1071,19 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
962
1071
  }
963
1072
 
964
1073
  export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
1074
+ /**
1075
+ * @remarks
1076
+ * A list of private pool IDs. These are the IDs of elastic assurance services or capacity reservation services. You can only specify the IDs of private pools in Target mode. The number of IDs must be in the range of 1 to 20.
1077
+ */
965
1078
  privatePoolIds?: string[];
966
1079
  /**
1080
+ * @remarks
1081
+ * 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:
1082
+ * PrivatePoolFirst: Prioritizes private pools. If you specify \\`resouce_pool_options.private_pool_ids\\`, the specified private pools are used first. If no private pool is specified or the specified pools have insufficient capacity, the system automatically tries to use open private pools. If no suitable private pool is found, the public pool is used.
1083
+ * PrivatePoolOnly: Uses only private pools. You must specify \\`resouce_pool_options.private_pool_ids\\`. If the specified private pools have insufficient capacity, the instance fails to launch.
1084
+ * None: No resource pool policy is used.
1085
+ * Default value: None.
1086
+ *
967
1087
  * @example
968
1088
  * PrivatePoolFirst
969
1089
  */
@@ -997,7 +1117,7 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
997
1117
  export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
998
1118
  /**
999
1119
  * @remarks
1000
- * The instance type of preemptible instances.
1120
+ * The instance type of the spot instance.
1001
1121
  *
1002
1122
  * @example
1003
1123
  * ecs.c6.large
@@ -1005,7 +1125,11 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
1005
1125
  instanceType?: string;
1006
1126
  /**
1007
1127
  * @remarks
1008
- * The price cap of a preemptible instance of the type.
1128
+ * The maximum bid price for a single instance.
1129
+ *
1130
+ * <props="intl">
1131
+ *
1132
+ * Unit: USD/hour.
1009
1133
  *
1010
1134
  * @example
1011
1135
  * 0.39
@@ -1037,7 +1161,7 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
1037
1161
  export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
1038
1162
  /**
1039
1163
  * @remarks
1040
- * The tag key.
1164
+ * The name of the tag.
1041
1165
  *
1042
1166
  * @example
1043
1167
  * node-k-1
@@ -1077,10 +1201,11 @@ export class CreateClusterNodePoolRequestScalingGroupTags extends $dara.Model {
1077
1201
  export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1078
1202
  /**
1079
1203
  * @remarks
1080
- * Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when you set `instance_charge_type` to `PrePaid`. Valid values:
1204
+ * Specifies whether to enable auto-renewal for the nodes in the node pool. This parameter takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`. Valid values:
1081
1205
  *
1082
- * * `true`: enables auto-renewal.
1083
- * * `false`: disables auto-renewal.
1206
+ * - `true`: enables auto-renewal.
1207
+ *
1208
+ * - `false`: disables auto-renewal.
1084
1209
  *
1085
1210
  * Default value: `false`.
1086
1211
  *
@@ -1092,8 +1217,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1092
1217
  * @remarks
1093
1218
  * The auto-renewal period. Valid values:
1094
1219
  *
1095
- * * Valid values when PeriodUnit is set to Week: 1, 2, and 3.
1096
- * * Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
1220
+ * - If \\`PeriodUnit\\` is set to \\`Week\\`: 1, 2, and 3.
1221
+ *
1222
+ * - If \\`PeriodUnit\\` is set to \\`Month\\`: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
1097
1223
  *
1098
1224
  * Default value: 1.
1099
1225
  *
@@ -1103,20 +1229,21 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1103
1229
  autoRenewPeriod?: number;
1104
1230
  /**
1105
1231
  * @remarks
1106
- * This parameter is deprecated. Use security_hardening_os instead.
1232
+ * [Deprecated] Use the \\`security_hardening_os\\` parameter instead.
1107
1233
  *
1108
1234
  * @example
1109
- * false
1235
+ * null
1110
1236
  *
1111
1237
  * @deprecated
1112
1238
  */
1113
1239
  cisEnabled?: boolean;
1114
1240
  /**
1115
1241
  * @remarks
1116
- * 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:
1242
+ * Specifies whether to automatically create pay-as-you-go instances to meet the instance quantity requirement when \\`multi_az_policy\\` is set to \\`COST_OPTIMIZED\\` and spot instances cannot be created due to issues such as price or insufficient inventory. Valid values:
1117
1243
  *
1118
- * * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
1119
- * * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
1244
+ * - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
1245
+ *
1246
+ * - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
1120
1247
  *
1121
1248
  * @example
1122
1249
  * true
@@ -1124,12 +1251,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1124
1251
  compensateWithOnDemand?: boolean;
1125
1252
  /**
1126
1253
  * @remarks
1127
- * The configurations of the data disks that are attached to nodes in the node pool.
1254
+ * The data disk configurations of the nodes in the node pool.
1128
1255
  */
1129
1256
  dataDisks?: DataDisk[];
1130
1257
  /**
1131
1258
  * @remarks
1132
- * The ID of the deployment set.
1259
+ * The ID of the deployment set. You can use a deployment set to distribute the ECS instances created in the node pool across different physical servers to ensure high availability and underlying disaster recovery. When you create ECS instances in a deployment set, the instances are launched in the specified region based on the deployment strategy that you set.
1260
+ *
1261
+ * >Notice:
1262
+ *
1263
+ * After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × Number of zones (the number of zones is determined by the vSwitches) nodes. Select a deployment set with sufficient quota to prevent node creation failures.
1133
1264
  *
1134
1265
  * @example
1135
1266
  * ds-bp1d19mmbsv3jf6xxxxx
@@ -1139,14 +1270,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1139
1270
  * @remarks
1140
1271
  * The expected number of nodes in the node pool.
1141
1272
  *
1273
+ * The total number of nodes that the node pool should maintain. We recommend that you configure at least two nodes to ensure that cluster components run as expected. You can adjust the expected number of nodes to scale out or scale in the node pool.
1274
+ *
1275
+ * If you do not need to create nodes, set this parameter to 0. You can manually adjust the number of nodes later.
1276
+ *
1142
1277
  * @example
1143
1278
  * 0
1144
1279
  */
1145
1280
  desiredSize?: number;
1281
+ /**
1282
+ * @remarks
1283
+ * The block device initialization configurations.
1284
+ */
1146
1285
  diskInit?: DiskInit[];
1147
1286
  /**
1148
1287
  * @remarks
1149
- * The custom image ID. By default, the image provided by Container Service for Kubernetes (ACK) is used.
1288
+ * The ID of the custom image. By default, the system-provided image is used.
1150
1289
  *
1151
1290
  * @example
1152
1291
  * aliyun_2_1903_x64_20G_alibase_20200529.vhd
@@ -1154,59 +1293,76 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1154
1293
  imageId?: string;
1155
1294
  /**
1156
1295
  * @remarks
1157
- * The type of the OS image. You must specify this parameter or `platform`. Valid values:
1296
+ * The OS image type. Valid values:
1297
+ *
1298
+ * - `AliyunLinux`: Alinux2 image.
1299
+ *
1300
+ * - `AliyunLinuxSecurity`: Alinux2 UEFI image.
1301
+ *
1302
+ * - `AliyunLinux3`: Alinux3 image.
1303
+ *
1304
+ * - `AliyunLinux3Arm64`: Alinux3 ARM image.
1305
+ *
1306
+ * - `AliyunLinux3Security`: Alinux3 UEFI image.
1307
+ *
1308
+ * - `CentOS`: CentOS image.
1309
+ *
1310
+ * - `Windows`: Windows image.
1158
1311
  *
1159
- * * `AliyunLinux`: Alibaba Cloud Linux 2.
1160
- * * `AliyunLinuxSecurity`: Alibaba Cloud Linux 2 (UEFI).
1161
- * * `AliyunLinux3`: Alibaba Cloud Linux 3
1162
- * * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 for ARM.
1163
- * * `AliyunLinux3Security`: Alibaba Cloud Linux 3 for ARM.
1164
- * * `CentOS`: CentOS.
1165
- * * `Windows`: Windows.
1166
- * * `WindowsCore`: Windows Core.
1167
- * * `ContainerOS`: ContainerOS.
1168
- * * `AliyunLinux3ContainerOptimized`: Alibaba Cloud Linux 3 Container-optimized.
1312
+ * - `WindowsCore`: WindowsCore image.
1313
+ *
1314
+ * - `ContainerOS`: Container-Optimized OS.
1315
+ *
1316
+ * - `AliyunLinux3ContainerOptimized`: Alinux3 Container-Optimized OS.
1169
1317
  *
1170
1318
  * @example
1171
- * AliyunLinux
1319
+ * AliyunLinux3
1172
1320
  */
1173
1321
  imageType?: string;
1174
1322
  /**
1175
1323
  * @remarks
1176
- * The billing method of nodes in the node pool. Valid values:
1324
+ * The billing method of the nodes in the node pool. Valid values:
1325
+ *
1326
+ * - `PrePaid`: subscription.
1177
1327
  *
1178
- * * `PrePaid`: subscription.
1179
- * * `PostPaid`: pay-as-you-go.
1328
+ * - `PostPaid`: pay-as-you-go.
1180
1329
  *
1181
- * Default value: `PostPaid`
1330
+ * Default value: `PostPaid`.
1182
1331
  *
1183
1332
  * This parameter is required.
1184
1333
  *
1185
1334
  * @example
1186
- * PrePaid
1335
+ * PostPaid
1187
1336
  */
1188
1337
  instanceChargeType?: string;
1338
+ /**
1339
+ * @remarks
1340
+ * The ECS instance metadata access configurations.
1341
+ */
1189
1342
  instanceMetadataOptions?: InstanceMetadataOptions;
1190
1343
  /**
1191
1344
  * @remarks
1192
- * The instance attributes.
1345
+ * The instance property configurations.
1193
1346
  */
1194
1347
  instancePatterns?: InstancePatterns[];
1195
1348
  /**
1196
1349
  * @remarks
1197
- * The instance types of nodes in the node pool. When the system adds a node to the node pool, the system selects the most appropriate one from the specified instance types for the node. You can specify 1 to 10 instance types.
1350
+ * A list of instance types for the nodes in the node pool. When the system creates nodes in the node pool, it selects an instance type from the list that meets the requirements.
1198
1351
  *
1199
- * > To ensure high availability, we recommend that you specify multiple instance types.
1352
+ * The number of instance types must be in the range of [1, 10].
1353
+ *
1354
+ * > For high availability, we recommend that you select multiple instance types.
1200
1355
  *
1201
1356
  * This parameter is required.
1202
1357
  */
1203
1358
  instanceTypes?: string[];
1204
1359
  /**
1205
1360
  * @remarks
1206
- * The metering method of the public IP address. Valid values:
1361
+ * The billing method of the public IP address. Valid values:
1362
+ *
1363
+ * - PayByBandwidth: pay-by-bandwidth.
1207
1364
  *
1208
- * * PayByBandwidth: pay-by-bandwidth.
1209
- * * PayByTraffic: pay-by-data-transfer.
1365
+ * - PayByTraffic: pay-by-traffic.
1210
1366
  *
1211
1367
  * @example
1212
1368
  * PayByTraffic
@@ -1214,7 +1370,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1214
1370
  internetChargeType?: string;
1215
1371
  /**
1216
1372
  * @remarks
1217
- * The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
1373
+ * The maximum outbound public bandwidth of the node. Unit: Mbit/s. The value must be in the range of [1, 100].
1218
1374
  *
1219
1375
  * @example
1220
1376
  * 5
@@ -1222,9 +1378,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1222
1378
  internetMaxBandwidthOut?: number;
1223
1379
  /**
1224
1380
  * @remarks
1225
- * The name of the key pair used to log on to nodes in the node pool. You must set this parameter or `login_password`.
1381
+ * The name of the key pair that is used for passwordless logon. You must specify one of \\`key_pair\\` and \\`login_password\\`.
1226
1382
  *
1227
- * > If you select ContainerOS as the OS of nodes in the node pool, you must specify `key_pair`.
1383
+ * > If you select Container-Optimized OS for the node pool, you can use only \\`key_pair\\`.
1228
1384
  *
1229
1385
  * @example
1230
1386
  * np-key-name
@@ -1232,7 +1388,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1232
1388
  keyPair?: string;
1233
1389
  /**
1234
1390
  * @remarks
1235
- * Specifies whether to allow a non-root user to log on to an ECS instance that is added to the node pool.
1391
+ * Specifies whether to log on to the created ECS instances as a non-root user.
1392
+ *
1393
+ * - true: Logs on as the ecs-user.
1394
+ *
1395
+ * - false: Logs on as the root user.
1236
1396
  *
1237
1397
  * @example
1238
1398
  * true
@@ -1240,25 +1400,23 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1240
1400
  loginAsNonRoot?: boolean;
1241
1401
  /**
1242
1402
  * @remarks
1243
- * The password for SSH logon. You must specify this parameter or the `key_pair` parameter. 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.
1403
+ * The SSH logon password. You must specify one of \\`key_pair\\` and \\`login_password\\`. The password must be 8 to 30 characters in length, and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
1244
1404
  *
1245
1405
  * @example
1246
- * Hello1234
1406
+ * ****
1247
1407
  */
1248
1408
  loginPassword?: string;
1249
1409
  /**
1250
1410
  * @remarks
1251
- * The ECS instance scaling policy for the multi-zone scaling group. Valid values:
1252
- *
1253
- * * `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.
1411
+ * The scaling policy for the ECS instances in the multi-zone scaling group. Valid values:
1254
1412
  *
1255
- * * `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.
1413
+ * - `PRIORITY`: Scales instances based on the vSwitch priority. The system scales instances based on the order of vSwitches that you specify in \\`VSwitchIds.N\\`. If the system fails to create an ECS instance in the zone where the vSwitch with the highest priority resides, it automatically uses the vSwitch with the next highest priority to create the instance.
1256
1414
  *
1257
- * **
1415
+ * - `COST_OPTIMIZED`: Creates instances based on the vCPU unit price in ascending order. When multiple instance types are specified and the preemptible instance policy is configured, the system gives priority to creating the lowest-cost instance type. You can also use the \\`CompensateWithOnDemand\\` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
1258
1416
  *
1259
- * **Note** `COST_OPTIMIZED` takes effect only when multiple instance types are specified or at least one preemptible instance type is specified.
1417
+ * > `COST_OPTIMIZED` takes effect only when multiple instance types are specified or the preemptible instance policy is configured.
1260
1418
  *
1261
- * * `BALANCE`: ECS instances are evenly distributed across multiple zones for the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation of Auto Scaling to evenly distribute the ECS instances among zones.
1419
+ * - `BALANCE`: Evenly distributes ECS instances across the specified zones. If the distribution of ECS instances becomes unbalanced due to insufficient inventory, you can call the API [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation to balance the resource distribution.
1262
1420
  *
1263
1421
  * Default value: `PRIORITY`.
1264
1422
  *
@@ -1268,7 +1426,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1268
1426
  multiAzPolicy?: string;
1269
1427
  /**
1270
1428
  * @remarks
1271
- * 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.
1429
+ * The minimum number of pay-as-you-go instances that must be included in the scaling group. The value must be in the range of [0, 1000]. If the number of pay-as-you-go instances is less than this value, the system gives priority to creating pay-as-you-go instances.
1272
1430
  *
1273
1431
  * @example
1274
1432
  * 0
@@ -1276,7 +1434,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1276
1434
  onDemandBaseCapacity?: number;
1277
1435
  /**
1278
1436
  * @remarks
1279
- * 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.
1437
+ * The percentage of pay-as-you-go instances among the extra instances that are created after the minimum number of pay-as-you-go instances (\\`on_demand_base_capacity\\`) is met. The value must be in the range of [0, 100].
1280
1438
  *
1281
1439
  * @example
1282
1440
  * 20
@@ -1284,10 +1442,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1284
1442
  onDemandPercentageAboveBaseCapacity?: number;
1285
1443
  /**
1286
1444
  * @remarks
1287
- * The subscription duration of nodes in the node pool. This parameter takes effect and is required if you set `instance_charge_type` to `PrePaid`.
1445
+ * The subscription duration of the nodes in the node pool. This parameter is required and takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`.
1446
+ *
1447
+ * - If \\`period_unit\\` is set to \\`Week\\`, the valid values of \\`period\\` are 1, 2, 3, and 4.
1288
1448
  *
1289
- * * If `period_unit` is set to Week, the valid values of `period` are 1, 2, 3, and 4.
1290
- * * 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.
1449
+ * - 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.
1291
1450
  *
1292
1451
  * @example
1293
1452
  * 1
@@ -1295,10 +1454,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1295
1454
  period?: number;
1296
1455
  /**
1297
1456
  * @remarks
1298
- * The billing cycle of nodes in the node pool. This parameter takes effect and is required only when you set `instance_charge_type` to `PrePaid`. Valid values:
1457
+ * The billing cycle of the nodes in the node pool. This parameter is required and takes effect only if \\`instance_charge_type\\` is set to \\`PrePaid\\`.
1299
1458
  *
1300
- * * `Month`: The subscription duration is measured in months.
1301
- * * `Week`: The subscription duration is measured in weeks.
1459
+ * - `Month`: The billing cycle is measured in months.
1460
+ *
1461
+ * - `Week`: The billing cycle is measured in weeks.
1302
1462
  *
1303
1463
  * Default value: `Month`.
1304
1464
  *
@@ -1308,34 +1468,42 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1308
1468
  periodUnit?: string;
1309
1469
  /**
1310
1470
  * @remarks
1311
- * The operating system distribution. Valid values:
1471
+ * [This parameter is deprecated] Use the \\`image_type\\` parameter instead.
1472
+ *
1473
+ * The OS distribution. Valid values:
1474
+ *
1475
+ * - `CentOS`
1312
1476
  *
1313
- * * `CentOS`
1314
- * * `AliyunLinux`
1315
- * * `Windows`
1316
- * * `WindowsCore`
1477
+ * - `AliyunLinux`
1478
+ *
1479
+ * - `Windows`
1480
+ *
1481
+ * - `WindowsCore`
1317
1482
  *
1318
1483
  * Default value: `AliyunLinux`.
1319
1484
  *
1320
1485
  * @example
1321
- * AliyunLinux
1486
+ * null
1322
1487
  *
1323
1488
  * @deprecated
1324
1489
  */
1325
1490
  platform?: string;
1326
1491
  /**
1327
1492
  * @remarks
1328
- * The configurations of the private node pool.
1493
+ * The private pool configurations.
1329
1494
  */
1330
1495
  privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
1331
1496
  /**
1332
1497
  * @remarks
1333
1498
  * The name of the worker RAM role.
1334
1499
  *
1335
- * * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
1336
- * * The specified RAM role must be a **regular service role** and the **Select Trusted Service** parameter must be set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the name of the RAM role cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
1500
+ * - If this parameter is left empty, the default worker RAM role of the cluster is used.
1501
+ *
1502
+ * - If this parameter is not empty, the specified RAM role must be a **service role**, and its **trusted service** must be **Elastic Compute Service**. For more information, see [Create a service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role of the cluster, the name of the role cannot start with \\`KubernetesMasterRole-\\` or \\`KubernetesWorkerRole-\\`.
1337
1503
  *
1338
- * > This parameter is available only for ACK managed clusters that run Kubernetes 1.22 or later.
1504
+ * >Notice:
1505
+ *
1506
+ * This parameter is supported only by ACK managed clusters of Kubernetes 1.22 or later.
1339
1507
  *
1340
1508
  * @example
1341
1509
  * example-role
@@ -1343,16 +1511,23 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1343
1511
  ramRoleName?: string;
1344
1512
  /**
1345
1513
  * @remarks
1346
- * The IDs of ApsaraDB RDS instances.
1514
+ * A list of RDS instances.
1347
1515
  */
1348
1516
  rdsInstances?: string[];
1517
+ /**
1518
+ * @remarks
1519
+ * The resource pool and policy used to create instances. Note:
1520
+ * This parameter takes effect only when you create pay-as-you-go instances.
1521
+ * This parameter cannot be set at the same time as \\`private_pool_options.match_criteria\\` and \\`private_pool_options.id\\`.
1522
+ */
1349
1523
  resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
1350
1524
  /**
1351
1525
  * @remarks
1352
1526
  * The scaling mode of the scaling group. Valid values:
1353
1527
  *
1354
- * * `release`: the standard mode. ECS instances are created and released based on resource usage.
1355
- * * `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.
1528
+ * - `release`: standard mode. The system creates and releases ECS instances to scale the group.
1529
+ *
1530
+ * - `recycle`: accelerated mode. The system creates, stops, and starts ECS instances to scale the group. This improves the scaling speed. When an instance is stopped, its computing resources are not billed, but its storage resources are. This does not apply to instances with local disks.
1356
1531
  *
1357
1532
  * Default value: `release`.
1358
1533
  *
@@ -1362,7 +1537,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1362
1537
  scalingPolicy?: string;
1363
1538
  /**
1364
1539
  * @remarks
1365
- * The ID of the security group to which you want to add the node pool. You must specify this parameter or the `security_group_ids` parameter. We recommend that you specify `security_group_ids`.
1540
+ * The ID of the security group for the node pool. You must specify one of \\`security_group_ids\\` and \\`security_group_id\\`. We recommend that you specify \\`security_group_ids\\`.
1366
1541
  *
1367
1542
  * @example
1368
1543
  * sg-wz9a8g2mt6x5llu0****
@@ -1372,15 +1547,16 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1372
1547
  securityGroupId?: string;
1373
1548
  /**
1374
1549
  * @remarks
1375
- * The IDs of security groups. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify both `security_group_id` and `security_group_ids`, `security_group_ids` is used.
1550
+ * A list of security group IDs. You must specify one of \\`security_group_ids\\` and \\`security_group_id\\`. We recommend that you specify \\`security_group_ids\\`. If you specify both \\`security_group_id\\` and \\`security_group_ids\\`, \\`security_group_ids\\` takes precedence.
1376
1551
  */
1377
1552
  securityGroupIds?: string[];
1378
1553
  /**
1379
1554
  * @remarks
1380
- * Indicates whether Alibaba Cloud Linux Security Hardening is enabled. Valid values:
1555
+ * Alibaba Cloud OS security hardening. Valid values:
1556
+ *
1557
+ * - `true`: Enables Alibaba Cloud OS security hardening.
1381
1558
  *
1382
- * * `true`: enables Alibaba Cloud Linux Security Hardening.
1383
- * * `false`: disables Alibaba Cloud Linux Security Hardening.
1559
+ * - `false`: Disables Alibaba Cloud OS security hardening.
1384
1560
  *
1385
1561
  * Default value: `false`.
1386
1562
  *
@@ -1390,7 +1566,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1390
1566
  securityHardeningOs?: boolean;
1391
1567
  /**
1392
1568
  * @remarks
1393
- * Specifies whether to enable MLPS Security Hardening. You can enable security hardening based on Multi-Level Protection Scheme (MLPS) only when Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline checks and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of MLPS 2.0.
1569
+ * Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when you select Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 for the OS image. Alibaba Cloud provides baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 Level 3 of MLPS 2.0 to ensure classified protection compliance.
1394
1570
  *
1395
1571
  * @example
1396
1572
  * false
@@ -1398,7 +1574,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1398
1574
  socEnabled?: boolean;
1399
1575
  /**
1400
1576
  * @remarks
1401
- * 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.
1577
+ * The number of instance types that you can specify. The scaling group creates preemptible instances of multiple instance types that are available at the lowest cost. The value must be in the range of [1, 10].
1402
1578
  *
1403
1579
  * @example
1404
1580
  * 5
@@ -1406,10 +1582,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1406
1582
  spotInstancePools?: number;
1407
1583
  /**
1408
1584
  * @remarks
1409
- * Indicates whether preemptible instances can be supplemented. 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 this instance. Valid values:
1585
+ * Specifies whether to enable the instance reclaim mode. After this mode is enabled, when the system receives a message that a spot instance is about to be reclaimed, the scaling group attempts to create a new instance to replace the instance that is about to be reclaimed. Valid values:
1410
1586
  *
1411
- * * `true`: enables the supplementation of preemptible instances.
1412
- * * `false`: disables the supplementation of preemptible instances.
1587
+ * - `true`: Enables the instance reclaim mode.
1588
+ *
1589
+ * - `false`: Disables the instance reclaim mode.
1413
1590
  *
1414
1591
  * @example
1415
1592
  * false
@@ -1417,18 +1594,20 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1417
1594
  spotInstanceRemedy?: boolean;
1418
1595
  /**
1419
1596
  * @remarks
1420
- * The instance type of preemptible instances and the price cap for the instance type.
1597
+ * The configurations of the price range for a single spot instance.
1421
1598
  */
1422
1599
  spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
1423
1600
  /**
1424
1601
  * @remarks
1425
- * The bidding policy of preemptible instances. Valid values:
1602
+ * The bidding policy for the spot instances. Valid values:
1603
+ *
1604
+ * - `NoSpot`: The instance is not a spot instance.
1605
+ *
1606
+ * - `SpotWithPriceLimit`: Sets the maximum bid price for the spot instance.
1426
1607
  *
1427
- * * `NoSpot`: non-preemptible.
1428
- * * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
1429
- * * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
1608
+ * - `SpotAsPriceGo`: The system automatically bids based on the current market price.
1430
1609
  *
1431
- * For more information, see [Use preemptible instances](https://help.aliyun.com/document_detail/165053.html).
1610
+ * For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
1432
1611
  *
1433
1612
  * @example
1434
1613
  * NoSpot
@@ -1436,12 +1615,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1436
1615
  spotStrategy?: string;
1437
1616
  /**
1438
1617
  * @remarks
1439
- * Specifies whether to enable the burst feature for the system disk. Valid values:
1618
+ * Specifies whether to enable the performance burst feature for the system disk of the node. Valid values:
1440
1619
  *
1441
- * * true: enables the burst feature.
1442
- * * false: disables the burst feature.
1620
+ * - true: Yes.
1443
1621
  *
1444
- * This parameter is available only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1622
+ * - false: No.
1623
+ *
1624
+ * This parameter can be set 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).
1445
1625
  *
1446
1626
  * @example
1447
1627
  * true
@@ -1449,26 +1629,22 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1449
1629
  systemDiskBurstingEnabled?: boolean;
1450
1630
  /**
1451
1631
  * @remarks
1452
- * The categories of the system disk for nodes. 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. Valid values:
1453
- *
1454
- * * `cloud`: basic disk.
1455
- * * `cloud_efficiency`: ultra disk.
1456
- * * `cloud_ssd`: standard SSD.
1457
- * * `cloud_essd`: ESSD.
1458
- * * `cloud_auto`: ESSD AutoPL disk.
1459
- * * `cloud_essd_entry`: ESSD Entry disk.
1632
+ * The types of system disks. If a disk of a high-priority type is unavailable, the system automatically uses a disk of the next priority type to create the system disk.
1460
1633
  */
1461
1634
  systemDiskCategories?: string[];
1462
1635
  /**
1463
1636
  * @remarks
1464
- * The category of the system disk. Valid values:
1637
+ * The type of the system disk of the node. Valid values:
1638
+ *
1639
+ * - `cloud_efficiency`: ultra disk.
1465
1640
  *
1466
- * * `cloud`: basic disk.
1467
- * * `cloud_efficiency`: ultra disk.
1468
- * * `cloud_ssd`: standard SSD.
1469
- * * `cloud_essd`: ESSD.
1470
- * * `cloud_auto`: ESSD AutoPL disk.
1471
- * * `cloud_essd_entry`: ESSD Entry disk.
1641
+ * - `cloud_ssd`: standard SSD.
1642
+ *
1643
+ * - `cloud_essd`: ESSD.
1644
+ *
1645
+ * - `cloud_auto`: ESSD AutoPL disk.
1646
+ *
1647
+ * - `cloud_essd_entry`: ESSD Entry disk.
1472
1648
  *
1473
1649
  * Default value: `cloud_efficiency`.
1474
1650
  *
@@ -1478,7 +1654,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1478
1654
  systemDiskCategory?: string;
1479
1655
  /**
1480
1656
  * @remarks
1481
- * The encryption algorithm that is used to encrypt the system disk. Set the value to aes-256.
1657
+ * The encryption algorithm that is used to encrypt the system disk. Valid value: aes-256.
1482
1658
  *
1483
1659
  * @example
1484
1660
  * aes-256
@@ -1486,7 +1662,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1486
1662
  systemDiskEncryptAlgorithm?: string;
1487
1663
  /**
1488
1664
  * @remarks
1489
- * Specifies whether to encrypt the system disk. true: encrypts the system disk. false: does not encrypt the system disk.
1665
+ * Specifies whether to encrypt the system disk. Valid values:
1666
+ *
1667
+ * - true: encrypts the system disk.
1668
+ *
1669
+ * - false: does not encrypt the system disk.
1490
1670
  *
1491
1671
  * @example
1492
1672
  * false
@@ -1502,14 +1682,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1502
1682
  systemDiskKmsKeyId?: string;
1503
1683
  /**
1504
1684
  * @remarks
1505
- * The PL of the system disk. This parameter takes effect only for an ESSD.
1685
+ * The performance level of the system disk for each node. This parameter applies only to Enhanced SSD (ESSD) disks. The performance level of an ESSD is determined by its size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
1686
+ *
1687
+ * - PL0: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
1506
1688
  *
1507
- * * PL0: moderate maximum concurrent I/O performance and low I/O latency.
1508
- * * PL1: moderate maximum concurrent I/O performance and low I/O latency.
1509
- * * PL2: high maximum concurrent I/O performance and low I/O latency.
1510
- * * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
1689
+ * - PL1: A moderate maximum concurrent I/O performance and a relatively stable read/write latency.
1511
1690
  *
1512
- * > Alibaba Cloud disks support the preceding PLs. However, when you create a disk, the available PLs vary based on the ECS instance type that you selected. For more information, see [Overview of ECS instance families](https://help.aliyun.com/document_detail/25378.html).
1691
+ * - PL2: A high maximum concurrent I/O performance and a stable read/write latency.
1692
+ *
1693
+ * - PL3: A very high maximum concurrent I/O performance and a very stable read/write latency.
1513
1694
  *
1514
1695
  * @example
1515
1696
  * PL1
@@ -1517,9 +1698,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1517
1698
  systemDiskPerformanceLevel?: string;
1518
1699
  /**
1519
1700
  * @remarks
1520
- * The preset IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
1701
+ * The provisioned read/write IOPS of the system disk of the node.
1702
+ *
1703
+ * Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
1521
1704
  *
1522
- * This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
1705
+ * This parameter can be set 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).
1523
1706
  *
1524
1707
  * @example
1525
1708
  * 1000
@@ -1527,27 +1710,34 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1527
1710
  systemDiskProvisionedIops?: number;
1528
1711
  /**
1529
1712
  * @remarks
1530
- * The size of the system disk. Unit: GiB.
1713
+ * The size of the system disk of the node. Unit: GiB.
1531
1714
  *
1532
- * Valid values: 20 to 20248.
1715
+ * The value must be in the range of [20, 2048].
1533
1716
  *
1534
1717
  * @example
1535
1718
  * 120
1536
1719
  */
1537
1720
  systemDiskSize?: number;
1721
+ /**
1722
+ * @remarks
1723
+ * The snapshot policy for the system disk.
1724
+ *
1725
+ * @example
1726
+ * sp-0jl6xnmme8v7o935****
1727
+ */
1538
1728
  systemDiskSnapshotPolicyId?: string;
1539
1729
  /**
1540
1730
  * @remarks
1541
1731
  * The tags that you want to add only to ECS instances.
1542
1732
  *
1543
- * 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://.
1733
+ * A tag key cannot be repeated. The tag key can be up to 128 characters in length. The tag key and the tag value cannot start with aliyun or acs:”, and cannot contain https\\://” or http\\://”.
1544
1734
  */
1545
1735
  tags?: CreateClusterNodePoolRequestScalingGroupTags[];
1546
1736
  /**
1547
1737
  * @remarks
1548
- * The vSwitch IDs. You can specify one to eight vSwitch IDs.
1738
+ * A list of vSwitch IDs. The number of vSwitch IDs must be in the range of [1, 8].
1549
1739
  *
1550
- * > To ensure high availability, we recommend that you select vSwitches that reside in different zones.
1740
+ * > For high availability, we recommend that you select vSwitches in different zones.
1551
1741
  *
1552
1742
  * This parameter is required.
1553
1743
  */
@@ -1713,7 +1903,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
1713
1903
  export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
1714
1904
  /**
1715
1905
  * @remarks
1716
- * Specifies whether to enable confidential computing for the cluster.
1906
+ * Specifies whether to enable the confidential computing cluster.
1907
+ *
1908
+ * - true: Enables confidential computing.
1909
+ *
1910
+ * - false: Disables confidential computing.
1717
1911
  *
1718
1912
  * @example
1719
1913
  * true
@@ -1741,31 +1935,40 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
1741
1935
  }
1742
1936
 
1743
1937
  export class CreateClusterNodePoolRequest extends $dara.Model {
1938
+ /**
1939
+ * @remarks
1940
+ * The intelligent managed node pool configurations.
1941
+ */
1744
1942
  autoMode?: CreateClusterNodePoolRequestAutoMode;
1745
1943
  /**
1746
1944
  * @remarks
1747
- * The configurations of auto scaling.
1945
+ * The auto scaling configurations.
1748
1946
  */
1749
1947
  autoScaling?: CreateClusterNodePoolRequestAutoScaling;
1750
1948
  /**
1751
1949
  * @remarks
1752
- * This parameter is deprecated. Use the desired_size parameter instead.
1950
+ * [This parameter is deprecated] Use desired_size instead.
1753
1951
  *
1754
1952
  * The number of nodes in the node pool.
1755
1953
  *
1756
1954
  * @example
1757
- * 1
1955
+ * null
1758
1956
  *
1759
1957
  * @deprecated
1760
1958
  */
1761
1959
  count?: number;
1960
+ /**
1961
+ * @remarks
1962
+ * The Lingjun node pool configurations.
1963
+ */
1762
1964
  efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
1763
1965
  /**
1764
1966
  * @remarks
1765
- * Specifies whether to set the network type of the pod to host network.
1967
+ * Specifies whether to use the host network for the pod network.
1968
+ *
1969
+ * - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
1766
1970
  *
1767
- * * `true`: sets to host network.
1768
- * * `false`: sets to container network.
1971
+ * - `false`: container network. Pods have an independent network stack and do not occupy host network ports.
1769
1972
  *
1770
1973
  * @example
1771
1974
  * true
@@ -1773,7 +1976,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1773
1976
  hostNetwork?: boolean;
1774
1977
  /**
1775
1978
  * @remarks
1776
- * This parameter is deprecated.
1979
+ * [This parameter is deprecated]
1777
1980
  *
1778
1981
  * The configurations of the edge node pool.
1779
1982
  *
@@ -1782,10 +1985,11 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1782
1985
  interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
1783
1986
  /**
1784
1987
  * @remarks
1785
- * The network type of the edge node pool. This parameter takes effect only when the `type` of the node pool is set to `edge`. Valid values:
1988
+ * The network type of the edge node pool. This parameter takes effect only for node pools of the \\`edge\\` type. Valid values:
1989
+ *
1990
+ * - `basic`: public network. Nodes in the node pool interact with cloud nodes over the Internet. Applications in the node pool cannot directly access the VPC in the cloud.
1786
1991
  *
1787
- * * `basic`: Internet.
1788
- * * `private`: private network.
1992
+ * - `private`: private network. Nodes in the node pool connect to the cloud over a leased line, VPN, or CEN to achieve higher communication quality and better security.
1789
1993
  *
1790
1994
  * @example
1791
1995
  * basic
@@ -1793,10 +1997,11 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1793
1997
  interconnectMode?: string;
1794
1998
  /**
1795
1999
  * @remarks
1796
- * Specifies whether all nodes in the edge node pool can communicate with each other at Layer 3.
2000
+ * Specifies whether nodes in the edge node pool can communicate with each other at Layer 3.
1797
2001
  *
1798
- * * `true`: The nodes in the edge node pool can communicate with each other at Layer 3.
1799
- * * `false`: The nodes in the edge node pool cannot communicate with each other at Layer 3.
2002
+ * - `true`: All nodes in the node pool can communicate with each other at Layer 3.
2003
+ *
2004
+ * - `false`: All hosts in the node pool cannot communicate with each other at Layer 3.
1800
2005
  *
1801
2006
  * @example
1802
2007
  * true
@@ -1804,7 +2009,7 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1804
2009
  intranet?: boolean;
1805
2010
  /**
1806
2011
  * @remarks
1807
- * The configurations of the cluster.
2012
+ * The cluster-related configurations.
1808
2013
  */
1809
2014
  kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
1810
2015
  /**
@@ -1814,16 +2019,20 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1814
2019
  management?: CreateClusterNodePoolRequestManagement;
1815
2020
  /**
1816
2021
  * @remarks
1817
- * This parameter is deprecated.
2022
+ * [This parameter is deprecated]
1818
2023
  *
1819
- * The maximum number of nodes that can be contained in the edge node pool.
2024
+ * The maximum number of nodes that the edge node pool can contain.
1820
2025
  *
1821
2026
  * @example
1822
- * 10
2027
+ * null
1823
2028
  *
1824
2029
  * @deprecated
1825
2030
  */
1826
2031
  maxNodes?: number;
2032
+ /**
2033
+ * @remarks
2034
+ * A list of node components.
2035
+ */
1827
2036
  nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
1828
2037
  /**
1829
2038
  * @remarks
@@ -1832,17 +2041,17 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
1832
2041
  nodeConfig?: CreateClusterNodePoolRequestNodeConfig;
1833
2042
  /**
1834
2043
  * @remarks
1835
- * The configurations of the node pool.
2044
+ * The node pool configurations.
1836
2045
  */
1837
2046
  nodepoolInfo?: CreateClusterNodePoolRequestNodepoolInfo;
1838
2047
  /**
1839
2048
  * @remarks
1840
- * The configurations of the scaling group that is used by the node pool.
2049
+ * The configurations of the scaling group for the node pool.
1841
2050
  */
1842
2051
  scalingGroup?: CreateClusterNodePoolRequestScalingGroup;
1843
2052
  /**
1844
2053
  * @remarks
1845
- * The configurations of confidential computing for the cluster.
2054
+ * The configurations of the confidential computing cluster.
1846
2055
  */
1847
2056
  teeConfig?: CreateClusterNodePoolRequestTeeConfig;
1848
2057
  static names(): { [key: string]: string } {