@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
@@ -86,7 +86,7 @@ export class AttachInstancesRequest extends $dara.Model {
86
86
  * Default value: `false`.
87
87
  *
88
88
  * @example
89
- * true
89
+ * false
90
90
  */
91
91
  keepInstanceName?: boolean;
92
92
  /**
@@ -96,7 +96,7 @@ export class AttachInstancesRequest extends $dara.Model {
96
96
  * > This parameter is not supported if you specify `nodepool_id`.
97
97
  *
98
98
  * @example
99
- * secrity-key
99
+ * security-key
100
100
  */
101
101
  keyPair?: string;
102
102
  /**
@@ -63,7 +63,7 @@ export class AttachInstancesResponseBody extends $dara.Model {
63
63
  * The task ID.
64
64
  *
65
65
  * @example
66
- * T-5a544aff80282e39ea000039
66
+ * T-5a544aff80282e39ea00****
67
67
  */
68
68
  taskId?: string;
69
69
  static names(): { [key: string]: string } {
@@ -46,7 +46,7 @@ export class AttachInstancesToNodePoolRequest extends $dara.Model {
46
46
  * The SSH password that is used to log on to the instance.
47
47
  *
48
48
  * @example
49
- * Hello1234
49
+ * ******
50
50
  */
51
51
  password?: string;
52
52
  static names(): { [key: string]: string } {
@@ -16,7 +16,7 @@ export class AttachInstancesToNodePoolResponseBody extends $dara.Model {
16
16
  * The task ID.
17
17
  *
18
18
  * @example
19
- * T-5a54309c80282e39ea00002f
19
+ * T-5a54309c80282e39eaxxxxxx
20
20
  */
21
21
  taskId?: string;
22
22
  static names(): { [key: string]: string } {
@@ -3,19 +3,39 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ContainerdConfig extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Whether to ignore volumes defined in the image.
9
+ */
6
10
  ignoreImageDefinedVolume?: boolean;
7
11
  /**
8
12
  * @remarks
9
- * Insecure image repositories that skipped the TLS certificate verification.
13
+ * A list of insecure registries that skip TLS certificate verification.
10
14
  */
11
15
  insecureRegistries?: string[];
16
+ /**
17
+ * @remarks
18
+ * Maximum core dump size in bytes.
19
+ */
12
20
  limitCore?: number;
21
+ /**
22
+ * @remarks
23
+ * Maximum locked memory in bytes.
24
+ */
13
25
  limitMemLock?: number;
26
+ /**
27
+ * @remarks
28
+ * Maximum number of open file handles.
29
+ */
14
30
  limitNoFile?: number;
31
+ /**
32
+ * @remarks
33
+ * The maximum number of concurrent image layer downloads.
34
+ */
15
35
  maxConcurrentDownloads?: number;
16
36
  /**
17
37
  * @remarks
18
- * The image accelerator configuration.
38
+ * A list of registry mirrors to accelerate image pulls.
19
39
  */
20
40
  registryMirrors?: string[];
21
41
  static names(): { [key: string]: string } {
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The incident name.
9
+ *
7
10
  * @example
8
11
  * Node.FaultNeedReboot.HOST
9
12
  */
10
13
  name?: string;
11
14
  /**
15
+ * @remarks
16
+ * The incident type.
17
+ *
12
18
  * @example
13
19
  * system
14
20
  */
@@ -38,11 +44,17 @@ export class CreateAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
38
44
 
39
45
  export class CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionApprovedLabel extends $dara.Model {
40
46
  /**
47
+ * @remarks
48
+ * The label key.
49
+ *
41
50
  * @example
42
51
  * k8s.aliyun.com/incident
43
52
  */
44
53
  key?: string;
45
54
  /**
55
+ * @remarks
56
+ * The label value.
57
+ *
46
58
  * @example
47
59
  * approved
48
60
  */
@@ -72,11 +84,17 @@ export class CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionApprov
72
84
 
73
85
  export class CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionInquiringLabel extends $dara.Model {
74
86
  /**
87
+ * @remarks
88
+ * The label key.
89
+ *
75
90
  * @example
76
91
  * k8s.aliyun.com/incident
77
92
  */
78
93
  key?: string;
79
94
  /**
95
+ * @remarks
96
+ * The label value.
97
+ *
80
98
  * @example
81
99
  * inquiring
82
100
  */
@@ -105,14 +123,28 @@ export class CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionInquir
105
123
  }
106
124
 
107
125
  export class CreateAutoRepairPolicyRequestRulesRepairProcedureIntervention extends $dara.Model {
126
+ /**
127
+ * @remarks
128
+ * The label that grants authorization for the repair step. To approve the step, add this label to the node. After the action is complete, ACK automatically removes both the inquiry and approval labels for this step. If this label is not added promptly, the repair procedure halts and the node remains impaired.
129
+ */
108
130
  approvedLabel?: CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionApprovedLabel;
109
131
  /**
132
+ * @remarks
133
+ * Specifies whether to enable manual approval.
134
+ *
110
135
  * @example
111
136
  * true
112
137
  */
113
138
  enable?: boolean;
139
+ /**
140
+ * @remarks
141
+ * The label used to request authorization for the repair step. When this step begins, ACK applies this label to the node and waits for approval before performing the action.
142
+ */
114
143
  inquiringLabel?: CreateAutoRepairPolicyRequestRulesRepairProcedureInterventionInquiringLabel;
115
144
  /**
145
+ * @remarks
146
+ * The manual approval type.
147
+ *
116
148
  * @example
117
149
  * label
118
150
  */
@@ -151,9 +183,20 @@ export class CreateAutoRepairPolicyRequestRulesRepairProcedureIntervention exten
151
183
  }
152
184
 
153
185
  export class CreateAutoRepairPolicyRequestRulesRepairProcedure extends $dara.Model {
186
+ /**
187
+ * @remarks
188
+ * Configuration parameters for the repair step.
189
+ */
154
190
  config?: { [key: string]: any };
191
+ /**
192
+ * @remarks
193
+ * Settings for manual intervention.
194
+ */
155
195
  intervention?: CreateAutoRepairPolicyRequestRulesRepairProcedureIntervention;
156
196
  /**
197
+ * @remarks
198
+ * The name of the repair step.
199
+ *
157
200
  * @example
158
201
  * Drain
159
202
  */
@@ -190,7 +233,15 @@ export class CreateAutoRepairPolicyRequestRulesRepairProcedure extends $dara.Mod
190
233
  }
191
234
 
192
235
  export class CreateAutoRepairPolicyRequestRules extends $dara.Model {
236
+ /**
237
+ * @remarks
238
+ * The incidents that the rule detects.
239
+ */
193
240
  incidents?: CreateAutoRepairPolicyRequestRulesIncidents[];
241
+ /**
242
+ * @remarks
243
+ * The repair procedure.
244
+ */
194
245
  repairProcedure?: CreateAutoRepairPolicyRequestRulesRepairProcedure[];
195
246
  static names(): { [key: string]: string } {
196
247
  return {
@@ -223,21 +274,33 @@ export class CreateAutoRepairPolicyRequestRules extends $dara.Model {
223
274
 
224
275
  export class CreateAutoRepairPolicyRequest extends $dara.Model {
225
276
  /**
277
+ * @remarks
278
+ * The name of the auto repair policy.
279
+ *
226
280
  * @example
227
281
  * test
228
282
  */
229
283
  name?: string;
230
284
  /**
285
+ * @remarks
286
+ * The resource subtype to which the auto repair policy applies.
287
+ *
231
288
  * @example
232
289
  * ess
233
290
  */
234
291
  resourceSubType?: string;
235
292
  /**
293
+ * @remarks
294
+ * The resource type to which the auto repair policy applies.
295
+ *
236
296
  * @example
237
297
  * nodepool
238
298
  */
239
299
  resourceType?: string;
240
300
  /**
301
+ * @remarks
302
+ * The sub-rules for the auto repair policy.
303
+ *
241
304
  * @example
242
305
  * ["np-xxx"]
243
306
  */
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateAutoRepairPolicyResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The auto-repair policy ID.
9
+ *
7
10
  * @example
8
11
  * r-xxxxxxx
9
12
  */
10
13
  policyId?: string;
11
14
  /**
15
+ * @remarks
16
+ * The request ID.
17
+ *
12
18
  * @example
13
19
  * E368C761-F8F6-4A36-9B58-BD53D5******
14
20
  */
@@ -5,18 +5,23 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateAutoscalingConfigRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The waiting time before the auto scaling feature performs a scale-in activity. It is an interval between the time when the scale-in threshold is reached and the time when the scale-in activity (reducing the number of pods) starts. Unit: minutes. Default value: 10.
8
+ * The cool-down duration for scale-in events. This is the time interval from when the system detects a node is eligible for a scale-in to when the scale-in operation is executed.
9
+ *
10
+ * Valid values: 1 to 60. Unit: minutes.
11
+ *
12
+ * Default value: 10.
9
13
  *
10
14
  * @example
11
- * 10 m
15
+ * 10
12
16
  */
13
17
  coolDownDuration?: string;
14
18
  /**
15
19
  * @remarks
16
- * Specifies whether to evict pods created by DaemonSets when the cluster autoscaler performs a scale-in activity. Valid values:
20
+ * Specifies whether `cluster-autoscaler` evicts DaemonSet Pods from nodes during a scale-in event. Valid values:
21
+ *
22
+ * - `true`: Perform eviction.
17
23
  *
18
- * * `true`: evicts DaemonSet pods.
19
- * * `false`: does not evict DaemonSet pods.
24
+ * - `false`: Do not perform eviction.
20
25
  *
21
26
  * @example
22
27
  * false
@@ -24,11 +29,13 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
24
29
  daemonsetEvictionForNodes?: boolean;
25
30
  /**
26
31
  * @remarks
27
- * The node pool scale-out policy. Valid values:
32
+ * The strategy for selecting a node pool for a scale-out when multiple node pools are available. Valid values:
28
33
  *
29
- * * `least-waste`: the default policy. If multiple node pools meet the requirement, this policy selects the node pool that will have the least idle resources after the scale-out activity is completed.
30
- * * `random`: the random policy. If multiple node pools meet the requirement, this policy selects a random node pool for the scale-out activity.
31
- * * `priority`: the priority-based policy If multiple node pools meet the requirement, this policy selects the node pool with the highest priority for the scale-out activity. The priority setting is stored in the ConfigMap named `cluster-autoscaler-priority-expander` in the kube-system namespace. When a scale-out activity is triggered, the policy obtains the node pool priorities from the ConfigMap based on the node pool IDs and then selects the node pool with the highest priority for the scale-out activity.
34
+ * - `least-waste`: The default strategy. The scaler selects the node pool that will have the least idle resources after a scale-out.
35
+ *
36
+ * - `random`: The scaler selects a random node pool from the list of eligible node pools.
37
+ *
38
+ * - `priority`: The scaler selects the node pool that has the highest priority. You must configure the priority of each scaling group by using the `priorities` parameter.
32
39
  *
33
40
  * @example
34
41
  * least-waste
@@ -36,25 +43,35 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
36
43
  expander?: string;
37
44
  /**
38
45
  * @remarks
39
- * The scale-in threshold of GPU utilization. This threshold specifies the ratio of the GPU resources that are requested by pods to the total GPU resources on the node.
46
+ * The GPU utilization threshold for a scale-in on GPU nodes, which is the ratio of requested resources to total allocatable resources on a node.
47
+ *
48
+ * A GPU node is eligible for a scale-in only if its CPU, memory, and GPU utilization all fall below this threshold.
40
49
  *
41
- * A scale-in activity is performed only when the CPU utilization, memory utilization, and GPU utilization of a GPU-accelerated node are lower than the scale-in threshold of GPU utilization.
50
+ * Valid values: [0.1, 1].
51
+ *
52
+ * Default value: 0.3 (30%).
42
53
  *
43
54
  * @example
44
- * 0.5
55
+ * 0.3
45
56
  */
46
57
  gpuUtilizationThreshold?: string;
47
58
  /**
48
59
  * @remarks
49
- * The maximum amount of time to wait for pods on a node to terminate during a scale-in activity. Unit: seconds.
60
+ * The maximum duration in seconds that `cluster-autoscaler` waits for Pods to terminate during a node drain for a scale-in event.
61
+ *
62
+ * Unit: seconds.
63
+ *
64
+ * Default value: 14400.
50
65
  *
51
66
  * @example
52
- * 14400s
67
+ * 14400
53
68
  */
54
69
  maxGracefulTerminationSec?: number;
55
70
  /**
56
71
  * @remarks
57
- * The minimum number of pods allowed in each ReplicaSet before a scale-in activity is performed.
72
+ * The minimum number of Pods that must remain for any ReplicaSet after a scale-in operation. Nodes will not be scaled-in if doing so would violate this minimum.
73
+ *
74
+ * Default value: 0.
58
75
  *
59
76
  * @example
60
77
  * 0
@@ -62,15 +79,18 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
62
79
  minReplicaCount?: number;
63
80
  /**
64
81
  * @remarks
65
- * Auto-scaling priority configuration. After creating a node pool with elasticity enabled, you can choose whether to configure a priority strategy and priority settings through [Enabling Node Auto-scaling](https://help.aliyun.com/document_detail/119099.html). This allows you to set priorities for the specified auto-scaling node pool scaling group. The priority value range is [1, 100] and must be a positive integer.
82
+ * Configures the priorities for scaling groups. This is used when the `expander` strategy is set to `priority`. After you create a node pool and enable autoscaling for it, you can configure the priority of its associated scaling group. For more information, see [Enable node autoscaling](https://help.aliyun.com/document_detail/119099.html).
83
+ *
84
+ * The priority must be a positive integer from 1 to 100. A larger value indicates a higher priority.
66
85
  */
67
86
  priorities?: { [key: string]: string[] };
68
87
  /**
69
88
  * @remarks
70
- * Specifies whether to delete the corresponding Kubernetes node objects after nodes are removed in swift mode. For more information about the swift mode, see [Scaling mode](https://help.aliyun.com/document_detail/119099.html). Default value: false Valid values:
89
+ * Specifies whether to delete the Kubernetes Node object after a node is successfully scaled-in using fast scaling mode. For more information, see [Scaling modes](https://help.aliyun.com/document_detail/119099.html). Default value: false. Valid values:
71
90
  *
72
- * * `true`: deletes the corresponding Kubernetes node objects after nodes are removed in swift mode. We recommend that you do not set the value to true because data inconsistency may occur in Kubernetes objects.
73
- * * `false`: retains the corresponding Kubernetes node objects after nodes are removed in swift mode.
91
+ * - `true`: The Node object is deleted after the instance is stopped. We do not recommend this setting because it can cause data inconsistencies in Kubernetes.
92
+ *
93
+ * - `false`: The Node object is retained after the instance is stopped.
74
94
  *
75
95
  * @example
76
96
  * false
@@ -78,10 +98,11 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
78
98
  recycleNodeDeletionEnabled?: boolean;
79
99
  /**
80
100
  * @remarks
81
- * Specifies whether to allow node scale-in activities. Valid values:
101
+ * Specifies whether to allow node scale-in operations. Valid values:
102
+ *
103
+ * - `true`: Allows scale-in operations.
82
104
  *
83
- * * `true`: allows node scale-in activities.
84
- * * `false`: does not allow node scale-in activities.
105
+ * - `false`: Disables scale-in operations.
85
106
  *
86
107
  * @example
87
108
  * true
@@ -89,10 +110,11 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
89
110
  scaleDownEnabled?: boolean;
90
111
  /**
91
112
  * @remarks
92
- * Specifies whether the cluster autoscaler performs a scale-out activity when the number of ready nodes in the cluster is 0. Default value: true. Valid values:
113
+ * Controls whether `cluster-autoscaler` performs a scale-out operation when there are no ready nodes in the cluster. Default value: true. Valid values:
114
+ *
115
+ * - `true`: A scale-out operation is performed.
93
116
  *
94
- * * `true`: performs a scale-out activity.
95
- * * `false`: does not perform a scale-out activity.
117
+ * - `false`: No scale-out operation is performed.
96
118
  *
97
119
  * @example
98
120
  * true
@@ -100,10 +122,11 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
100
122
  scaleUpFromZero?: boolean;
101
123
  /**
102
124
  * @remarks
103
- * Elastic component type, default is goatscaler for cluster version 1.24 and above, and cluster-autoscaler below that. Values:
125
+ * The type of scaler to use. In clusters that run Kubernetes 1.24 or later, the default is goatscaler. In clusters that run an earlier version, the default is cluster-autoscaler. Valid values:
104
126
  *
105
- * - `goatscaler`: Instant elasticity.
106
- * - `cluster-autoscaler`: Auto-scaling.
127
+ * - `goatscaler`: The proprietary scaler for fast scaling.
128
+ *
129
+ * - `cluster-autoscaler`: The standard Kubernetes cluster autoscaler.
107
130
  *
108
131
  * @example
109
132
  * goatscaler
@@ -111,18 +134,23 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
111
134
  scalerType?: string;
112
135
  /**
113
136
  * @remarks
114
- * The interval at which the system scans for events that trigger scaling activities. Unit: seconds. Default value: 60.
137
+ * The frequency at which the system checks for scaling conditions.
138
+ *
139
+ * Valid values: 15, 30, 60, 120, 180, and 300. Unit: seconds.
140
+ *
141
+ * Default value: 60.
115
142
  *
116
143
  * @example
117
- * 30s
144
+ * 30
118
145
  */
119
146
  scanInterval?: string;
120
147
  /**
121
148
  * @remarks
122
- * Specifies whether the cluster autoscaler scales in nodes that host pods mounted with local volumes, such as EmptyDir or HostPath volumes. Valid values:
149
+ * Controls whether `cluster-autoscaler` can scale-in nodes that run Pods using local storage (for example, with `emptyDir` or `hostPath` volumes). Valid values:
123
150
  *
124
- * * `true`: does not allow the cluster autoscaler to scale in these nodes.
125
- * * `false`: allows the cluster autoscaler to scale in these nodes.
151
+ * - `true`: Prevents these nodes from being scaled-in.
152
+ *
153
+ * - `false`: Allows these nodes to be scaled-in.
126
154
  *
127
155
  * @example
128
156
  * false
@@ -130,10 +158,11 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
130
158
  skipNodesWithLocalStorage?: boolean;
131
159
  /**
132
160
  * @remarks
133
- * Specifies whether the cluster autoscaler scales in nodes that host pods in the kube-system namespace. This parameter does not take effect on pods created by DaemonSets and mirror pods. Valid values:
161
+ * Controls whether `cluster-autoscaler` can scale-in nodes that run Pods from the `kube-system` namespace. This setting does not affect DaemonSet or mirror Pods. Valid values:
162
+ *
163
+ * - `true`: Prevents these nodes from being scaled-in.
134
164
  *
135
- * * `true`: does not allow the cluster autoscaler to scale in these nodes.
136
- * * `false`: allows the cluster autoscaler to scale in these nodes.
165
+ * - `false`: Allows these nodes to be scaled-in.
137
166
  *
138
167
  * @example
139
168
  * true
@@ -141,17 +170,25 @@ export class CreateAutoscalingConfigRequest extends $dara.Model {
141
170
  skipNodesWithSystemPods?: boolean;
142
171
  /**
143
172
  * @remarks
144
- * The cooldown period. After the autoscaler performs a scale-out activity, the autoscaler waits a cooldown period before it can perform a scale-in activity. Newly added nodes can be removed in scale-in activities only after the cooldown period ends. Unit: minutes.
173
+ * The stabilization window. This is the period after a scale-out event during which the scaler does not perform scale-in operations.
174
+ *
175
+ * Valid values: 1 to 60. Unit: minutes.
176
+ *
177
+ * Default value: 10.
145
178
  *
146
179
  * @example
147
- * 10 m
180
+ * 10
148
181
  */
149
182
  unneededDuration?: string;
150
183
  /**
151
184
  * @remarks
152
- * The scale-in threshold. This threshold specifies the ratio of the resources that are requested by pods to the total resources on the node.
185
+ * The utilization threshold for a scale-in, which is the ratio of requested resources to the total allocatable resources on a node.
186
+ *
187
+ * A node is eligible for a scale-in only when both its CPU and memory utilization fall below this threshold.
188
+ *
189
+ * Valid values: [0.1, 1].
153
190
  *
154
- * A scale-in activity is performed only when the CPU utilization and memory utilization of a node are lower than the scale-in threshold.
191
+ * Default value: 0.5 (50%).
155
192
  *
156
193
  * @example
157
194
  * 0.5