@alicloud/cs20151215 4.9.0 → 4.9.2

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 (203) hide show
  1. package/dist/client.d.ts +40 -34
  2. package/dist/client.js +43 -34
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterInspectConfigRequest.d.ts +8 -0
  5. package/dist/models/CreateClusterInspectConfigRequest.js.map +1 -1
  6. package/dist/models/CreateClusterInspectConfigResponseBody.d.ts +3 -0
  7. package/dist/models/CreateClusterInspectConfigResponseBody.js.map +1 -1
  8. package/dist/models/CreateClusterNodePoolRequestManagementAutoRepairPolicy.d.ts +1 -0
  9. package/dist/models/CreateClusterNodePoolRequestManagementAutoRepairPolicy.js +2 -0
  10. package/dist/models/CreateClusterNodePoolRequestManagementAutoRepairPolicy.js.map +1 -1
  11. package/dist/models/CreateClusterRequest.d.ts +2 -0
  12. package/dist/models/CreateClusterRequest.js +6 -0
  13. package/dist/models/CreateClusterRequest.js.map +1 -1
  14. package/dist/models/CreateClusterRequestAuditLogConfig.d.ts +15 -0
  15. package/dist/models/CreateClusterRequestAuditLogConfig.js +60 -0
  16. package/dist/models/CreateClusterRequestAuditLogConfig.js.map +1 -0
  17. package/dist/models/CreateTemplateRequest.d.ts +2 -4
  18. package/dist/models/CreateTemplateRequest.js.map +1 -1
  19. package/dist/models/CreateTriggerResponseBody.d.ts +3 -3
  20. package/dist/models/DeleteClusterInspectConfigResponseBody.d.ts +3 -0
  21. package/dist/models/DeleteClusterInspectConfigResponseBody.js.map +1 -1
  22. package/dist/models/DeleteClusterNodesRequest.d.ts +11 -9
  23. package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
  24. package/dist/models/DeleteClusterNodesResponseBody.d.ts +1 -1
  25. package/dist/models/DescribeAddonResponseBody.d.ts +3 -11
  26. package/dist/models/DescribeAddonResponseBody.js.map +1 -1
  27. package/dist/models/DescribeAddonResponseBodyNewerVersions.d.ts +4 -1
  28. package/dist/models/DescribeAddonResponseBodyNewerVersions.js.map +1 -1
  29. package/dist/models/DescribeClusterDetailResponseBody.d.ts +17 -23
  30. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  31. package/dist/models/DescribeClusterDetailResponseBodyControlPlaneConfig.d.ts +2 -2
  32. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +1 -1
  33. package/dist/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.d.ts +4 -0
  34. package/dist/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.js.map +1 -1
  35. package/dist/models/DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy.d.ts +1 -0
  36. package/dist/models/DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy.js +2 -0
  37. package/dist/models/DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy.js.map +1 -1
  38. package/dist/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.d.ts +6 -1
  39. package/dist/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.js.map +1 -1
  40. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepools.d.ts +9 -6
  41. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepools.js.map +1 -1
  42. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.d.ts +9 -5
  43. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.js.map +1 -1
  44. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.d.ts +14 -8
  45. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.js.map +1 -1
  46. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.d.ts +8 -2
  47. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.js.map +1 -1
  48. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.d.ts +5 -1
  49. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.js +2 -0
  50. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.js.map +1 -1
  51. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.d.ts +4 -1
  52. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.js.map +1 -1
  53. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.d.ts +8 -1
  54. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.js.map +1 -1
  55. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig.d.ts +1 -1
  56. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.d.ts +6 -7
  57. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.js.map +1 -1
  58. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.d.ts +65 -30
  59. package/dist/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.js.map +1 -1
  60. package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +6 -4
  61. package/dist/models/DescribeClusterUserKubeconfigRequest.js.map +1 -1
  62. package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +2 -2
  63. package/dist/models/DescribeClusterVulsResponseBody.d.ts +1 -1
  64. package/dist/models/DescribeClustersV1request.d.ts +4 -4
  65. package/dist/models/DescribeClustersV1responseBodyClusters.d.ts +14 -36
  66. package/dist/models/DescribeClustersV1responseBodyClusters.js.map +1 -1
  67. package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +6 -3
  68. package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
  69. package/dist/models/DescribeKubernetesVersionMetadataResponseBody.d.ts +1 -1
  70. package/dist/models/DescribeKubernetesVersionMetadataResponseBodyImages.d.ts +3 -3
  71. package/dist/models/DescribeNodePoolVulsResponseBody.d.ts +5 -2
  72. package/dist/models/DescribeNodePoolVulsResponseBody.js.map +1 -1
  73. package/dist/models/DescribeNodePoolVulsResponseBodyVulRecords.d.ts +1 -1
  74. package/dist/models/DescribeUserPermissionResponseBody.d.ts +1 -1
  75. package/dist/models/GetClusterCheckResponseBody.d.ts +1 -1
  76. package/dist/models/InstallClusterAddonsRequest.d.ts +1 -1
  77. package/dist/models/InstallClusterAddonsRequestBody.d.ts +6 -8
  78. package/dist/models/InstallClusterAddonsRequestBody.js.map +1 -1
  79. package/dist/models/InstallClusterAddonsResponseBody.d.ts +5 -5
  80. package/dist/models/ListClusterInspectReportsRequest.d.ts +6 -0
  81. package/dist/models/ListClusterInspectReportsRequest.js.map +1 -1
  82. package/dist/models/ListClusterInspectReportsResponseBody.d.ts +10 -0
  83. package/dist/models/ListClusterInspectReportsResponseBody.js.map +1 -1
  84. package/dist/models/ListClusterInspectReportsResponseBodyReports.d.ts +16 -0
  85. package/dist/models/ListClusterInspectReportsResponseBodyReports.js.map +1 -1
  86. package/dist/models/ListClusterInspectReportsResponseBodyReportsSummary.d.ts +15 -0
  87. package/dist/models/ListClusterInspectReportsResponseBodyReportsSummary.js.map +1 -1
  88. package/dist/models/ModifyClusterNodePoolRequest.d.ts +5 -5
  89. package/dist/models/ModifyClusterNodePoolRequestAutoScaling.d.ts +30 -14
  90. package/dist/models/ModifyClusterNodePoolRequestAutoScaling.js.map +1 -1
  91. package/dist/models/ModifyClusterNodePoolRequestKubernetesConfig.d.ts +16 -7
  92. package/dist/models/ModifyClusterNodePoolRequestKubernetesConfig.js.map +1 -1
  93. package/dist/models/ModifyClusterNodePoolRequestManagement.d.ts +10 -8
  94. package/dist/models/ModifyClusterNodePoolRequestManagement.js.map +1 -1
  95. package/dist/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.d.ts +3 -2
  96. package/dist/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.js +2 -0
  97. package/dist/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.js.map +1 -1
  98. package/dist/models/ModifyClusterNodePoolRequestManagementAutoUpgradePolicy.d.ts +7 -7
  99. package/dist/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.d.ts +9 -3
  100. package/dist/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.js.map +1 -1
  101. package/dist/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.d.ts +12 -6
  102. package/dist/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.js.map +1 -1
  103. package/dist/models/ModifyClusterNodePoolRequestNodepoolInfo.d.ts +4 -2
  104. package/dist/models/ModifyClusterNodePoolRequestNodepoolInfo.js.map +1 -1
  105. package/dist/models/ModifyClusterNodePoolRequestScalingGroup.d.ts +77 -43
  106. package/dist/models/ModifyClusterNodePoolRequestScalingGroup.js.map +1 -1
  107. package/dist/models/ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions.d.ts +4 -4
  108. package/dist/models/ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit.d.ts +2 -2
  109. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +6 -2
  110. package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
  111. package/dist/models/ModifyNodePoolNodeConfigRequestOsConfig.d.ts +1 -1
  112. package/dist/models/RunClusterCheckRequest.d.ts +12 -3
  113. package/dist/models/RunClusterCheckRequest.js.map +1 -1
  114. package/dist/models/RunClusterInspectRequest.d.ts +3 -0
  115. package/dist/models/RunClusterInspectRequest.js.map +1 -1
  116. package/dist/models/RunClusterInspectResponseBody.d.ts +9 -0
  117. package/dist/models/RunClusterInspectResponseBody.js.map +1 -1
  118. package/dist/models/ScanClusterVulsResponseBody.d.ts +1 -1
  119. package/dist/models/UnInstallClusterAddonsRequest.d.ts +1 -1
  120. package/dist/models/UnInstallClusterAddonsRequestAddons.d.ts +4 -4
  121. package/dist/models/UnInstallClusterAddonsResponseBody.d.ts +3 -3
  122. package/dist/models/UpdateClusterInspectConfigRequest.d.ts +10 -0
  123. package/dist/models/UpdateClusterInspectConfigRequest.js.map +1 -1
  124. package/dist/models/UpdateClusterInspectConfigResponseBody.d.ts +3 -0
  125. package/dist/models/UpdateClusterInspectConfigResponseBody.js.map +1 -1
  126. package/dist/models/UpdateK8sClusterUserConfigExpireRequest.d.ts +3 -3
  127. package/dist/models/model.d.ts +1 -0
  128. package/dist/models/model.js +13 -11
  129. package/dist/models/model.js.map +1 -1
  130. package/package.json +1 -1
  131. package/src/client.ts +44 -34
  132. package/src/models/CreateClusterInspectConfigRequest.ts +8 -0
  133. package/src/models/CreateClusterInspectConfigResponseBody.ts +3 -0
  134. package/src/models/CreateClusterNodePoolRequestManagementAutoRepairPolicy.ts +3 -0
  135. package/src/models/CreateClusterRequest.ts +7 -0
  136. package/src/models/CreateClusterRequestAuditLogConfig.ts +30 -0
  137. package/src/models/CreateTemplateRequest.ts +2 -4
  138. package/src/models/CreateTriggerResponseBody.ts +3 -3
  139. package/src/models/DeleteClusterInspectConfigResponseBody.ts +3 -0
  140. package/src/models/DeleteClusterNodesRequest.ts +11 -9
  141. package/src/models/DeleteClusterNodesResponseBody.ts +1 -1
  142. package/src/models/DescribeAddonResponseBody.ts +3 -11
  143. package/src/models/DescribeAddonResponseBodyNewerVersions.ts +4 -1
  144. package/src/models/DescribeClusterDetailResponseBody.ts +17 -23
  145. package/src/models/DescribeClusterDetailResponseBodyControlPlaneConfig.ts +2 -2
  146. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +1 -1
  147. package/src/models/DescribeClusterNodePoolDetailResponseBodyAutoMode.ts +4 -0
  148. package/src/models/DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy.ts +3 -0
  149. package/src/models/DescribeClusterNodePoolDetailResponseBodyScalingGroup.ts +6 -1
  150. package/src/models/DescribeClusterNodePoolsResponseBodyNodepools.ts +9 -6
  151. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling.ts +9 -5
  152. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig.ts +14 -8
  153. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagement.ts +8 -2
  154. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy.ts +7 -1
  155. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy.ts +4 -1
  156. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy.ts +8 -1
  157. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig.ts +1 -1
  158. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo.ts +6 -7
  159. package/src/models/DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup.ts +65 -30
  160. package/src/models/DescribeClusterUserKubeconfigRequest.ts +6 -4
  161. package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +2 -2
  162. package/src/models/DescribeClusterVulsResponseBody.ts +1 -1
  163. package/src/models/DescribeClustersV1request.ts +4 -4
  164. package/src/models/DescribeClustersV1responseBodyClusters.ts +14 -36
  165. package/src/models/DescribeKubernetesVersionMetadataRequest.ts +6 -3
  166. package/src/models/DescribeKubernetesVersionMetadataResponseBody.ts +1 -1
  167. package/src/models/DescribeKubernetesVersionMetadataResponseBodyImages.ts +3 -3
  168. package/src/models/DescribeNodePoolVulsResponseBody.ts +5 -2
  169. package/src/models/DescribeNodePoolVulsResponseBodyVulRecords.ts +1 -1
  170. package/src/models/DescribeUserPermissionResponseBody.ts +1 -1
  171. package/src/models/GetClusterCheckResponseBody.ts +1 -1
  172. package/src/models/InstallClusterAddonsRequest.ts +1 -1
  173. package/src/models/InstallClusterAddonsRequestBody.ts +6 -8
  174. package/src/models/InstallClusterAddonsResponseBody.ts +5 -5
  175. package/src/models/ListClusterInspectReportsRequest.ts +6 -0
  176. package/src/models/ListClusterInspectReportsResponseBody.ts +10 -0
  177. package/src/models/ListClusterInspectReportsResponseBodyReports.ts +16 -0
  178. package/src/models/ListClusterInspectReportsResponseBodyReportsSummary.ts +15 -0
  179. package/src/models/ModifyClusterNodePoolRequest.ts +5 -5
  180. package/src/models/ModifyClusterNodePoolRequestAutoScaling.ts +30 -14
  181. package/src/models/ModifyClusterNodePoolRequestKubernetesConfig.ts +16 -7
  182. package/src/models/ModifyClusterNodePoolRequestManagement.ts +10 -8
  183. package/src/models/ModifyClusterNodePoolRequestManagementAutoRepairPolicy.ts +5 -2
  184. package/src/models/ModifyClusterNodePoolRequestManagementAutoUpgradePolicy.ts +7 -7
  185. package/src/models/ModifyClusterNodePoolRequestManagementAutoVulFixPolicy.ts +9 -3
  186. package/src/models/ModifyClusterNodePoolRequestManagementUpgradeConfig.ts +12 -6
  187. package/src/models/ModifyClusterNodePoolRequestNodepoolInfo.ts +4 -2
  188. package/src/models/ModifyClusterNodePoolRequestScalingGroup.ts +77 -43
  189. package/src/models/ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions.ts +4 -4
  190. package/src/models/ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit.ts +2 -2
  191. package/src/models/ModifyNodePoolNodeConfigRequest.ts +6 -2
  192. package/src/models/ModifyNodePoolNodeConfigRequestOsConfig.ts +1 -1
  193. package/src/models/RunClusterCheckRequest.ts +12 -3
  194. package/src/models/RunClusterInspectRequest.ts +3 -0
  195. package/src/models/RunClusterInspectResponseBody.ts +9 -0
  196. package/src/models/ScanClusterVulsResponseBody.ts +1 -1
  197. package/src/models/UnInstallClusterAddonsRequest.ts +1 -1
  198. package/src/models/UnInstallClusterAddonsRequestAddons.ts +4 -4
  199. package/src/models/UnInstallClusterAddonsResponseBody.ts +3 -3
  200. package/src/models/UpdateClusterInspectConfigRequest.ts +10 -0
  201. package/src/models/UpdateClusterInspectConfigResponseBody.ts +3 -0
  202. package/src/models/UpdateK8sClusterUserConfigExpireRequest.ts +3 -3
  203. package/src/models/model.ts +1 -0
package/dist/client.d.ts CHANGED
@@ -276,7 +276,7 @@ export default class Client extends OpenApi {
276
276
  */
277
277
  createClusterDiagnosis(clusterId: string, request: $_model.CreateClusterDiagnosisRequest): Promise<$_model.CreateClusterDiagnosisResponse>;
278
278
  /**
279
- * 创建集群巡检配置
279
+ * Configures cluster inspection.
280
280
  *
281
281
  * @param request - CreateClusterInspectConfigRequest
282
282
  * @param headers - map
@@ -287,7 +287,7 @@ export default class Client extends OpenApi {
287
287
  [key: string]: string;
288
288
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterInspectConfigResponse>;
289
289
  /**
290
- * 创建集群巡检配置
290
+ * Configures cluster inspection.
291
291
  *
292
292
  * @param request - CreateClusterInspectConfigRequest
293
293
  * @returns CreateClusterInspectConfigResponse
@@ -458,7 +458,7 @@ export default class Client extends OpenApi {
458
458
  */
459
459
  deleteCluster(ClusterId: string, request: $_model.DeleteClusterRequest): Promise<$_model.DeleteClusterResponse>;
460
460
  /**
461
- * 删除集群巡检配置
461
+ * Deletes cluster inspection configurations.
462
462
  *
463
463
  * @param headers - map
464
464
  * @param runtime - runtime options for this request RuntimeOptions
@@ -468,7 +468,7 @@ export default class Client extends OpenApi {
468
468
  [key: string]: string;
469
469
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterInspectConfigResponse>;
470
470
  /**
471
- * 删除集群巡检配置
471
+ * Deletes cluster inspection configurations.
472
472
  * @returns DeleteClusterInspectConfigResponse
473
473
  */
474
474
  deleteClusterInspectConfig(clusterId: string): Promise<$_model.DeleteClusterInspectConfigResponse>;
@@ -491,12 +491,15 @@ export default class Client extends OpenApi {
491
491
  */
492
492
  deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: $_model.DeleteClusterNodepoolRequest): Promise<$_model.DeleteClusterNodepoolResponse>;
493
493
  /**
494
- * Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
494
+ * Removes nodes from a Container Service for Kubernetes (ACK) cluster when they are no longer required through the DeleteClusterNodes interface. When removing nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes.
495
495
  *
496
496
  * @remarks
497
- * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
498
- * * The operation may have unexpected risks. Back up the data before you perform this operation.
499
- * * When you remove a node, the system sets the status of the node to Unschedulable.
497
+ * Use this API or the [ACK console](https://cs.console.aliyun.com) for node removal. Do not remove a node by running the `kubectl delete node` command.
498
+ * * Never directly release or remove ECS instances through the ECS or Auto Scaling console/APIs. Renew subscription ECS instances before they expire. Violations may cause node termination and removal from the ACK console.
499
+ * * If a node pool has the Expected Nodes parameter configured, the node pool automatically scales other ECS instances to maintain the expected number of nodes.
500
+ * * When you remove a node, the pods on the node are migrated to other nodes. To prevent service interruptions, remove nodes during off-peak hours. Unexpected risks may arise during node removal. Back up the data in advance.
501
+ * * ACK drains the node during node removal. Make sure that other nodes in the cluster have sufficient resources to host the evicted pods.
502
+ * * To ensure the pods on the node you want to remove can be successfully scheduled to other nodes, check whether the node affinity rules and scheduling policies of the pods meet the requirements.
500
503
  *
501
504
  * @param request - DeleteClusterNodesRequest
502
505
  * @param headers - map
@@ -507,12 +510,15 @@ export default class Client extends OpenApi {
507
510
  [key: string]: string;
508
511
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteClusterNodesResponse>;
509
512
  /**
510
- * Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
513
+ * Removes nodes from a Container Service for Kubernetes (ACK) cluster when they are no longer required through the DeleteClusterNodes interface. When removing nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes.
511
514
  *
512
515
  * @remarks
513
- * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
514
- * * The operation may have unexpected risks. Back up the data before you perform this operation.
515
- * * When you remove a node, the system sets the status of the node to Unschedulable.
516
+ * Use this API or the [ACK console](https://cs.console.aliyun.com) for node removal. Do not remove a node by running the `kubectl delete node` command.
517
+ * * Never directly release or remove ECS instances through the ECS or Auto Scaling console/APIs. Renew subscription ECS instances before they expire. Violations may cause node termination and removal from the ACK console.
518
+ * * If a node pool has the Expected Nodes parameter configured, the node pool automatically scales other ECS instances to maintain the expected number of nodes.
519
+ * * When you remove a node, the pods on the node are migrated to other nodes. To prevent service interruptions, remove nodes during off-peak hours. Unexpected risks may arise during node removal. Back up the data in advance.
520
+ * * ACK drains the node during node removal. Make sure that other nodes in the cluster have sufficient resources to host the evicted pods.
521
+ * * To ensure the pods on the node you want to remove can be successfully scheduled to other nodes, check whether the node affinity rules and scheduling policies of the pods meet the requirements.
516
522
  *
517
523
  * @param request - DeleteClusterNodesRequest
518
524
  * @returns DeleteClusterNodesResponse
@@ -919,7 +925,8 @@ export default class Client extends OpenApi {
919
925
  * Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
920
926
  *
921
927
  * @remarks
922
- * > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
928
+ * The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
929
+ * * We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
923
930
  *
924
931
  * @param request - DescribeClusterUserKubeconfigRequest
925
932
  * @param headers - map
@@ -933,7 +940,8 @@ export default class Client extends OpenApi {
933
940
  * Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
934
941
  *
935
942
  * @remarks
936
- * > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
943
+ * The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
944
+ * * We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
937
945
  *
938
946
  * @param request - DescribeClusterUserKubeconfigRequest
939
947
  * @returns DescribeClusterUserKubeconfigResponse
@@ -1654,9 +1662,8 @@ export default class Client extends OpenApi {
1654
1662
  * Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
1655
1663
  *
1656
1664
  * @remarks
1657
- * *Precautions**:
1658
- * * If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
1659
- * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
1665
+ * If you use a Resource Access Management (RAM) account to call this operation, make sure it has permissions to modify cluster authorization information for other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
1666
+ * * This operation overwrites all existing cluster permissions for the target RAM user or RAM role. You must specify all the permissions you want to grant to the RAM user or RAM role in the request.
1660
1667
  *
1661
1668
  * @param request - GrantPermissionsRequest
1662
1669
  * @param headers - map
@@ -1670,16 +1677,15 @@ export default class Client extends OpenApi {
1670
1677
  * Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
1671
1678
  *
1672
1679
  * @remarks
1673
- * *Precautions**:
1674
- * * If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
1675
- * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
1680
+ * If you use a Resource Access Management (RAM) account to call this operation, make sure it has permissions to modify cluster authorization information for other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
1681
+ * * This operation overwrites all existing cluster permissions for the target RAM user or RAM role. You must specify all the permissions you want to grant to the RAM user or RAM role in the request.
1676
1682
  *
1677
1683
  * @param request - GrantPermissionsRequest
1678
1684
  * @returns GrantPermissionsResponse
1679
1685
  */
1680
1686
  grantPermissions(uid: string, request: $_model.GrantPermissionsRequest): Promise<$_model.GrantPermissionsResponse>;
1681
1687
  /**
1682
- * Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
1688
+ * 为了增强Kubernetes能力,ACK集群支持了多种组件,例如托管的核心组件,应用、日志和监控、网络、存储、安全组件等。您可以调用InstallClusterAddons接口,通过组件名称和版本安装组件。
1683
1689
  *
1684
1690
  * @param request - InstallClusterAddonsRequest
1685
1691
  * @param headers - map
@@ -1690,7 +1696,7 @@ export default class Client extends OpenApi {
1690
1696
  [key: string]: string;
1691
1697
  }, runtime: $dara.RuntimeOptions): Promise<$_model.InstallClusterAddonsResponse>;
1692
1698
  /**
1693
- * Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
1699
+ * 为了增强Kubernetes能力,ACK集群支持了多种组件,例如托管的核心组件,应用、日志和监控、网络、存储、安全组件等。您可以调用InstallClusterAddons接口,通过组件名称和版本安装组件。
1694
1700
  *
1695
1701
  * @param request - InstallClusterAddonsRequest
1696
1702
  * @returns InstallClusterAddonsResponse
@@ -1748,7 +1754,7 @@ export default class Client extends OpenApi {
1748
1754
  */
1749
1755
  listClusterChecks(clusterId: string, request: $_model.ListClusterChecksRequest): Promise<$_model.ListClusterChecksResponse>;
1750
1756
  /**
1751
- * 获取巡检报告列表
1757
+ * Obtains the details of the cluster inspection report.
1752
1758
  *
1753
1759
  * @param request - ListClusterInspectReportsRequest
1754
1760
  * @param headers - map
@@ -1759,7 +1765,7 @@ export default class Client extends OpenApi {
1759
1765
  [key: string]: string;
1760
1766
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterInspectReportsResponse>;
1761
1767
  /**
1762
- * 获取巡检报告列表
1768
+ * Obtains the details of the cluster inspection report.
1763
1769
  *
1764
1770
  * @param request - ListClusterInspectReportsRequest
1765
1771
  * @returns ListClusterInspectReportsResponse
@@ -1852,7 +1858,7 @@ export default class Client extends OpenApi {
1852
1858
  */
1853
1859
  listUserKubeConfigStates(Uid: string, request: $_model.ListUserKubeConfigStatesRequest): Promise<$_model.ListUserKubeConfigStatesResponse>;
1854
1860
  /**
1855
- * Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
1861
+ * The Container Service for Kubernetes (ACK) managed Pro cluster type is developed based on the ACK managed Basic cluster type. It inherits all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. It further enhances reliability, security, scheduling capabilities, and offers service level agreement (SLA)-backed guarantees, making it ideal for enterprise customers with large-scale production workloads requiring high stability and security. You can call the MigrateCluster operation to migrate an ACK managed Basic cluster to an ACK managed Pro cluster.
1856
1862
  *
1857
1863
  * @param request - MigrateClusterRequest
1858
1864
  * @param headers - map
@@ -1863,7 +1869,7 @@ export default class Client extends OpenApi {
1863
1869
  [key: string]: string;
1864
1870
  }, runtime: $dara.RuntimeOptions): Promise<$_model.MigrateClusterResponse>;
1865
1871
  /**
1866
- * Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
1872
+ * The Container Service for Kubernetes (ACK) managed Pro cluster type is developed based on the ACK managed Basic cluster type. It inherits all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. It further enhances reliability, security, scheduling capabilities, and offers service level agreement (SLA)-backed guarantees, making it ideal for enterprise customers with large-scale production workloads requiring high stability and security. You can call the MigrateCluster operation to migrate an ACK managed Basic cluster to an ACK managed Pro cluster.
1867
1873
  *
1868
1874
  * @param request - MigrateClusterRequest
1869
1875
  * @returns MigrateClusterResponse
@@ -2018,7 +2024,7 @@ export default class Client extends OpenApi {
2018
2024
  */
2019
2025
  modifyPolicyInstance(clusterId: string, policyName: string, request: $_model.ModifyPolicyInstanceRequest): Promise<$_model.ModifyPolicyInstanceResponse>;
2020
2026
  /**
2021
- * When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
2027
+ * When using Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
2022
2028
  *
2023
2029
  * @remarks
2024
2030
  * You can activate ACK by using Alibaba Cloud accounts.
@@ -2033,7 +2039,7 @@ export default class Client extends OpenApi {
2033
2039
  [key: string]: string;
2034
2040
  }, runtime: $dara.RuntimeOptions): Promise<$_model.OpenAckServiceResponse>;
2035
2041
  /**
2036
- * When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
2042
+ * When using Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
2037
2043
  *
2038
2044
  * @remarks
2039
2045
  * You can activate ACK by using Alibaba Cloud accounts.
@@ -2269,7 +2275,7 @@ export default class Client extends OpenApi {
2269
2275
  */
2270
2276
  runClusterCheck(clusterId: string, request: $_model.RunClusterCheckRequest): Promise<$_model.RunClusterCheckResponse>;
2271
2277
  /**
2272
- * 发起集群巡检
2278
+ * Triggers a cluster inspection and generates a report.
2273
2279
  *
2274
2280
  * @param request - RunClusterInspectRequest
2275
2281
  * @param headers - map
@@ -2280,7 +2286,7 @@ export default class Client extends OpenApi {
2280
2286
  [key: string]: string;
2281
2287
  }, runtime: $dara.RuntimeOptions): Promise<$_model.RunClusterInspectResponse>;
2282
2288
  /**
2283
- * 发起集群巡检
2289
+ * Triggers a cluster inspection and generates a report.
2284
2290
  *
2285
2291
  * @param request - RunClusterInspectRequest
2286
2292
  * @returns RunClusterInspectResponse
@@ -2497,7 +2503,7 @@ export default class Client extends OpenApi {
2497
2503
  */
2498
2504
  updateClusterAuditLogConfig(clusterid: string, request: $_model.UpdateClusterAuditLogConfigRequest): Promise<$_model.UpdateClusterAuditLogConfigResponse>;
2499
2505
  /**
2500
- * 更新集群巡检配置
2506
+ * Modifies cluster inspection configurations.
2501
2507
  *
2502
2508
  * @param request - UpdateClusterInspectConfigRequest
2503
2509
  * @param headers - map
@@ -2508,7 +2514,7 @@ export default class Client extends OpenApi {
2508
2514
  [key: string]: string;
2509
2515
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateClusterInspectConfigResponse>;
2510
2516
  /**
2511
- * 更新集群巡检配置
2517
+ * Modifies cluster inspection configurations.
2512
2518
  *
2513
2519
  * @param request - UpdateClusterInspectConfigRequest
2514
2520
  * @returns UpdateClusterInspectConfigResponse
@@ -2639,7 +2645,7 @@ export default class Client extends OpenApi {
2639
2645
  */
2640
2646
  updateUserPermissions(uid: string, request: $_model.UpdateUserPermissionsRequest): Promise<$_model.UpdateUserPermissionsResponse>;
2641
2647
  /**
2642
- * You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
2648
+ * Outdated Kubernetes versions may have security and stability issues. We recommend that you update the Kubernetes version of your cluster at the earliest opportunity to enjoy the new features of the new Kubernetes version. You can call the UpgradeCluster operation to manually upgrade a cluster.
2643
2649
  *
2644
2650
  * @remarks
2645
2651
  * After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
@@ -2657,7 +2663,7 @@ export default class Client extends OpenApi {
2657
2663
  [key: string]: string;
2658
2664
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterResponse>;
2659
2665
  /**
2660
- * You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
2666
+ * Outdated Kubernetes versions may have security and stability issues. We recommend that you update the Kubernetes version of your cluster at the earliest opportunity to enjoy the new features of the new Kubernetes version. You can call the UpgradeCluster operation to manually upgrade a cluster.
2661
2667
  *
2662
2668
  * @remarks
2663
2669
  * After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
package/dist/client.js CHANGED
@@ -672,6 +672,9 @@ class Client extends openapi_core_1.default {
672
672
  if (!$dara.isNull(request.apiAudiences)) {
673
673
  body["api_audiences"] = request.apiAudiences;
674
674
  }
675
+ if (!$dara.isNull(request.auditLogConfig)) {
676
+ body["audit_log_config"] = request.auditLogConfig;
677
+ }
675
678
  if (!$dara.isNull(request.autoRenew)) {
676
679
  body["auto_renew"] = request.autoRenew;
677
680
  }
@@ -1040,7 +1043,7 @@ class Client extends openapi_core_1.default {
1040
1043
  return await this.createClusterDiagnosisWithOptions(clusterId, request, headers, runtime);
1041
1044
  }
1042
1045
  /**
1043
- * 创建集群巡检配置
1046
+ * Configures cluster inspection.
1044
1047
  *
1045
1048
  * @param request - CreateClusterInspectConfigRequest
1046
1049
  * @param headers - map
@@ -1077,7 +1080,7 @@ class Client extends openapi_core_1.default {
1077
1080
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterInspectConfigResponse({}));
1078
1081
  }
1079
1082
  /**
1080
- * 创建集群巡检配置
1083
+ * Configures cluster inspection.
1081
1084
  *
1082
1085
  * @param request - CreateClusterInspectConfigRequest
1083
1086
  * @returns CreateClusterInspectConfigResponse
@@ -1545,7 +1548,7 @@ class Client extends openapi_core_1.default {
1545
1548
  return await this.deleteClusterWithOptions(ClusterId, request, headers, runtime);
1546
1549
  }
1547
1550
  /**
1548
- * 删除集群巡检配置
1551
+ * Deletes cluster inspection configurations.
1549
1552
  *
1550
1553
  * @param headers - map
1551
1554
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1569,7 +1572,7 @@ class Client extends openapi_core_1.default {
1569
1572
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterInspectConfigResponse({}));
1570
1573
  }
1571
1574
  /**
1572
- * 删除集群巡检配置
1575
+ * Deletes cluster inspection configurations.
1573
1576
  * @returns DeleteClusterInspectConfigResponse
1574
1577
  */
1575
1578
  async deleteClusterInspectConfig(clusterId) {
@@ -1620,12 +1623,15 @@ class Client extends openapi_core_1.default {
1620
1623
  return await this.deleteClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
1621
1624
  }
1622
1625
  /**
1623
- * Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
1626
+ * Removes nodes from a Container Service for Kubernetes (ACK) cluster when they are no longer required through the DeleteClusterNodes interface. When removing nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes.
1624
1627
  *
1625
1628
  * @remarks
1626
- * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
1627
- * * The operation may have unexpected risks. Back up the data before you perform this operation.
1628
- * * When you remove a node, the system sets the status of the node to Unschedulable.
1629
+ * Use this API or the [ACK console](https://cs.console.aliyun.com) for node removal. Do not remove a node by running the `kubectl delete node` command.
1630
+ * * Never directly release or remove ECS instances through the ECS or Auto Scaling console/APIs. Renew subscription ECS instances before they expire. Violations may cause node termination and removal from the ACK console.
1631
+ * * If a node pool has the Expected Nodes parameter configured, the node pool automatically scales other ECS instances to maintain the expected number of nodes.
1632
+ * * When you remove a node, the pods on the node are migrated to other nodes. To prevent service interruptions, remove nodes during off-peak hours. Unexpected risks may arise during node removal. Back up the data in advance.
1633
+ * * ACK drains the node during node removal. Make sure that other nodes in the cluster have sufficient resources to host the evicted pods.
1634
+ * * To ensure the pods on the node you want to remove can be successfully scheduled to other nodes, check whether the node affinity rules and scheduling policies of the pods meet the requirements.
1629
1635
  *
1630
1636
  * @param request - DeleteClusterNodesRequest
1631
1637
  * @param headers - map
@@ -1662,12 +1668,15 @@ class Client extends openapi_core_1.default {
1662
1668
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteClusterNodesResponse({}));
1663
1669
  }
1664
1670
  /**
1665
- * Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
1671
+ * Removes nodes from a Container Service for Kubernetes (ACK) cluster when they are no longer required through the DeleteClusterNodes interface. When removing nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes.
1666
1672
  *
1667
1673
  * @remarks
1668
- * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
1669
- * * The operation may have unexpected risks. Back up the data before you perform this operation.
1670
- * * When you remove a node, the system sets the status of the node to Unschedulable.
1674
+ * Use this API or the [ACK console](https://cs.console.aliyun.com) for node removal. Do not remove a node by running the `kubectl delete node` command.
1675
+ * * Never directly release or remove ECS instances through the ECS or Auto Scaling console/APIs. Renew subscription ECS instances before they expire. Violations may cause node termination and removal from the ACK console.
1676
+ * * If a node pool has the Expected Nodes parameter configured, the node pool automatically scales other ECS instances to maintain the expected number of nodes.
1677
+ * * When you remove a node, the pods on the node are migrated to other nodes. To prevent service interruptions, remove nodes during off-peak hours. Unexpected risks may arise during node removal. Back up the data in advance.
1678
+ * * ACK drains the node during node removal. Make sure that other nodes in the cluster have sufficient resources to host the evicted pods.
1679
+ * * To ensure the pods on the node you want to remove can be successfully scheduled to other nodes, check whether the node affinity rules and scheduling policies of the pods meet the requirements.
1671
1680
  *
1672
1681
  * @param request - DeleteClusterNodesRequest
1673
1682
  * @returns DeleteClusterNodesResponse
@@ -2646,7 +2655,8 @@ class Client extends openapi_core_1.default {
2646
2655
  * Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
2647
2656
  *
2648
2657
  * @remarks
2649
- * > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
2658
+ * The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
2659
+ * * We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
2650
2660
  *
2651
2661
  * @param request - DescribeClusterUserKubeconfigRequest
2652
2662
  * @param headers - map
@@ -2683,7 +2693,8 @@ class Client extends openapi_core_1.default {
2683
2693
  * Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
2684
2694
  *
2685
2695
  * @remarks
2686
- * > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
2696
+ * The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
2697
+ * * We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
2687
2698
  *
2688
2699
  * @param request - DescribeClusterUserKubeconfigRequest
2689
2700
  * @returns DescribeClusterUserKubeconfigResponse
@@ -4421,9 +4432,8 @@ class Client extends openapi_core_1.default {
4421
4432
  * Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
4422
4433
  *
4423
4434
  * @remarks
4424
- * *Precautions**:
4425
- * * If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
4426
- * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
4435
+ * If you use a Resource Access Management (RAM) account to call this operation, make sure it has permissions to modify cluster authorization information for other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
4436
+ * * This operation overwrites all existing cluster permissions for the target RAM user or RAM role. You must specify all the permissions you want to grant to the RAM user or RAM role in the request.
4427
4437
  *
4428
4438
  * @param request - GrantPermissionsRequest
4429
4439
  * @param headers - map
@@ -4453,9 +4463,8 @@ class Client extends openapi_core_1.default {
4453
4463
  * Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
4454
4464
  *
4455
4465
  * @remarks
4456
- * *Precautions**:
4457
- * * If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
4458
- * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
4466
+ * If you use a Resource Access Management (RAM) account to call this operation, make sure it has permissions to modify cluster authorization information for other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
4467
+ * * This operation overwrites all existing cluster permissions for the target RAM user or RAM role. You must specify all the permissions you want to grant to the RAM user or RAM role in the request.
4459
4468
  *
4460
4469
  * @param request - GrantPermissionsRequest
4461
4470
  * @returns GrantPermissionsResponse
@@ -4466,7 +4475,7 @@ class Client extends openapi_core_1.default {
4466
4475
  return await this.grantPermissionsWithOptions(uid, request, headers, runtime);
4467
4476
  }
4468
4477
  /**
4469
- * Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
4478
+ * 为了增强Kubernetes能力,ACK集群支持了多种组件,例如托管的核心组件,应用、日志和监控、网络、存储、安全组件等。您可以调用InstallClusterAddons接口,通过组件名称和版本安装组件。
4470
4479
  *
4471
4480
  * @param request - InstallClusterAddonsRequest
4472
4481
  * @param headers - map
@@ -4493,7 +4502,7 @@ class Client extends openapi_core_1.default {
4493
4502
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallClusterAddonsResponse({}));
4494
4503
  }
4495
4504
  /**
4496
- * Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
4505
+ * 为了增强Kubernetes能力,ACK集群支持了多种组件,例如托管的核心组件,应用、日志和监控、网络、存储、安全组件等。您可以调用InstallClusterAddons接口,通过组件名称和版本安装组件。
4497
4506
  *
4498
4507
  * @param request - InstallClusterAddonsRequest
4499
4508
  * @returns InstallClusterAddonsResponse
@@ -4639,7 +4648,7 @@ class Client extends openapi_core_1.default {
4639
4648
  return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
4640
4649
  }
4641
4650
  /**
4642
- * 获取巡检报告列表
4651
+ * Obtains the details of the cluster inspection report.
4643
4652
  *
4644
4653
  * @param request - ListClusterInspectReportsRequest
4645
4654
  * @param headers - map
@@ -4673,7 +4682,7 @@ class Client extends openapi_core_1.default {
4673
4682
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterInspectReportsResponse({}));
4674
4683
  }
4675
4684
  /**
4676
- * 获取巡检报告列表
4685
+ * Obtains the details of the cluster inspection report.
4677
4686
  *
4678
4687
  * @param request - ListClusterInspectReportsRequest
4679
4688
  * @returns ListClusterInspectReportsResponse
@@ -4895,7 +4904,7 @@ class Client extends openapi_core_1.default {
4895
4904
  return await this.listUserKubeConfigStatesWithOptions(Uid, request, headers, runtime);
4896
4905
  }
4897
4906
  /**
4898
- * Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
4907
+ * The Container Service for Kubernetes (ACK) managed Pro cluster type is developed based on the ACK managed Basic cluster type. It inherits all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. It further enhances reliability, security, scheduling capabilities, and offers service level agreement (SLA)-backed guarantees, making it ideal for enterprise customers with large-scale production workloads requiring high stability and security. You can call the MigrateCluster operation to migrate an ACK managed Basic cluster to an ACK managed Pro cluster.
4899
4908
  *
4900
4909
  * @param request - MigrateClusterRequest
4901
4910
  * @param headers - map
@@ -4929,7 +4938,7 @@ class Client extends openapi_core_1.default {
4929
4938
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.MigrateClusterResponse({}));
4930
4939
  }
4931
4940
  /**
4932
- * Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
4941
+ * The Container Service for Kubernetes (ACK) managed Pro cluster type is developed based on the ACK managed Basic cluster type. It inherits all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. It further enhances reliability, security, scheduling capabilities, and offers service level agreement (SLA)-backed guarantees, making it ideal for enterprise customers with large-scale production workloads requiring high stability and security. You can call the MigrateCluster operation to migrate an ACK managed Basic cluster to an ACK managed Pro cluster.
4933
4942
  *
4934
4943
  * @param request - MigrateClusterRequest
4935
4944
  * @returns MigrateClusterResponse
@@ -5344,7 +5353,7 @@ class Client extends openapi_core_1.default {
5344
5353
  return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
5345
5354
  }
5346
5355
  /**
5347
- * When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
5356
+ * When using Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
5348
5357
  *
5349
5358
  * @remarks
5350
5359
  * You can activate ACK by using Alibaba Cloud accounts.
@@ -5379,7 +5388,7 @@ class Client extends openapi_core_1.default {
5379
5388
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.OpenAckServiceResponse({}));
5380
5389
  }
5381
5390
  /**
5382
- * When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
5391
+ * When using Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
5383
5392
  *
5384
5393
  * @remarks
5385
5394
  * You can activate ACK by using Alibaba Cloud accounts.
@@ -5889,7 +5898,7 @@ class Client extends openapi_core_1.default {
5889
5898
  return await this.runClusterCheckWithOptions(clusterId, request, headers, runtime);
5890
5899
  }
5891
5900
  /**
5892
- * 发起集群巡检
5901
+ * Triggers a cluster inspection and generates a report.
5893
5902
  *
5894
5903
  * @param request - RunClusterInspectRequest
5895
5904
  * @param headers - map
@@ -5920,7 +5929,7 @@ class Client extends openapi_core_1.default {
5920
5929
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunClusterInspectResponse({}));
5921
5930
  }
5922
5931
  /**
5923
- * 发起集群巡检
5932
+ * Triggers a cluster inspection and generates a report.
5924
5933
  *
5925
5934
  * @param request - RunClusterInspectRequest
5926
5935
  * @returns RunClusterInspectResponse
@@ -6543,7 +6552,7 @@ class Client extends openapi_core_1.default {
6543
6552
  return await this.updateClusterAuditLogConfigWithOptions(clusterid, request, headers, runtime);
6544
6553
  }
6545
6554
  /**
6546
- * 更新集群巡检配置
6555
+ * Modifies cluster inspection configurations.
6547
6556
  *
6548
6557
  * @param request - UpdateClusterInspectConfigRequest
6549
6558
  * @param headers - map
@@ -6580,7 +6589,7 @@ class Client extends openapi_core_1.default {
6580
6589
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateClusterInspectConfigResponse({}));
6581
6590
  }
6582
6591
  /**
6583
- * 更新集群巡检配置
6592
+ * Modifies cluster inspection configurations.
6584
6593
  *
6585
6594
  * @param request - UpdateClusterInspectConfigRequest
6586
6595
  * @returns UpdateClusterInspectConfigResponse
@@ -6902,7 +6911,7 @@ class Client extends openapi_core_1.default {
6902
6911
  return await this.updateUserPermissionsWithOptions(uid, request, headers, runtime);
6903
6912
  }
6904
6913
  /**
6905
- * You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
6914
+ * Outdated Kubernetes versions may have security and stability issues. We recommend that you update the Kubernetes version of your cluster at the earliest opportunity to enjoy the new features of the new Kubernetes version. You can call the UpgradeCluster operation to manually upgrade a cluster.
6906
6915
  *
6907
6916
  * @remarks
6908
6917
  * After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs:
@@ -6952,7 +6961,7 @@ class Client extends openapi_core_1.default {
6952
6961
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterResponse({}));
6953
6962
  }
6954
6963
  /**
6955
- * You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
6964
+ * Outdated Kubernetes versions may have security and stability issues. We recommend that you update the Kubernetes version of your cluster at the earliest opportunity to enjoy the new features of the new Kubernetes version. You can call the UpgradeCluster operation to manually upgrade a cluster.
6956
6965
  *
6957
6966
  * @remarks
6958
6967
  * After successfully calling the UpgradeCluster interface, this API returns the `task_id` of the upgrade task. You can manage this operation task by calling the following task APIs: