@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/src/client.ts CHANGED
@@ -703,6 +703,10 @@ export default class Client extends OpenApi {
703
703
  body["api_audiences"] = request.apiAudiences;
704
704
  }
705
705
 
706
+ if (!$dara.isNull(request.auditLogConfig)) {
707
+ body["audit_log_config"] = request.auditLogConfig;
708
+ }
709
+
706
710
  if (!$dara.isNull(request.autoRenew)) {
707
711
  body["auto_renew"] = request.autoRenew;
708
712
  }
@@ -1172,7 +1176,7 @@ export default class Client extends OpenApi {
1172
1176
  }
1173
1177
 
1174
1178
  /**
1175
- * 创建集群巡检配置
1179
+ * Configures cluster inspection.
1176
1180
  *
1177
1181
  * @param request - CreateClusterInspectConfigRequest
1178
1182
  * @param headers - map
@@ -1213,7 +1217,7 @@ export default class Client extends OpenApi {
1213
1217
  }
1214
1218
 
1215
1219
  /**
1216
- * 创建集群巡检配置
1220
+ * Configures cluster inspection.
1217
1221
  *
1218
1222
  * @param request - CreateClusterInspectConfigRequest
1219
1223
  * @returns CreateClusterInspectConfigResponse
@@ -1737,7 +1741,7 @@ export default class Client extends OpenApi {
1737
1741
  }
1738
1742
 
1739
1743
  /**
1740
- * 删除集群巡检配置
1744
+ * Deletes cluster inspection configurations.
1741
1745
  *
1742
1746
  * @param headers - map
1743
1747
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1762,7 +1766,7 @@ export default class Client extends OpenApi {
1762
1766
  }
1763
1767
 
1764
1768
  /**
1765
- * 删除集群巡检配置
1769
+ * Deletes cluster inspection configurations.
1766
1770
  * @returns DeleteClusterInspectConfigResponse
1767
1771
  */
1768
1772
  async deleteClusterInspectConfig(clusterId: string): Promise<$_model.DeleteClusterInspectConfigResponse> {
@@ -1817,12 +1821,15 @@ export default class Client extends OpenApi {
1817
1821
  }
1818
1822
 
1819
1823
  /**
1820
- * 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.
1824
+ * 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.
1821
1825
  *
1822
1826
  * @remarks
1823
- * 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.
1824
- * * The operation may have unexpected risks. Back up the data before you perform this operation.
1825
- * * When you remove a node, the system sets the status of the node to Unschedulable.
1827
+ * 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.
1828
+ * * 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.
1829
+ * * 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.
1830
+ * * 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.
1831
+ * * ACK drains the node during node removal. Make sure that other nodes in the cluster have sufficient resources to host the evicted pods.
1832
+ * * 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.
1826
1833
  *
1827
1834
  * @param request - DeleteClusterNodesRequest
1828
1835
  * @param headers - map
@@ -1863,12 +1870,15 @@ export default class Client extends OpenApi {
1863
1870
  }
1864
1871
 
1865
1872
  /**
1866
- * 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.
1873
+ * 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.
1867
1874
  *
1868
1875
  * @remarks
1869
- * 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.
1870
- * * The operation may have unexpected risks. Back up the data before you perform this operation.
1871
- * * When you remove a node, the system sets the status of the node to Unschedulable.
1876
+ * 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.
1877
+ * * 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.
1878
+ * * 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.
1879
+ * * 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.
1880
+ * * ACK drains the node during node removal. Make sure that other nodes in the cluster have sufficient resources to host the evicted pods.
1881
+ * * 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.
1872
1882
  *
1873
1883
  * @param request - DeleteClusterNodesRequest
1874
1884
  * @returns DeleteClusterNodesResponse
@@ -2931,7 +2941,8 @@ export default class Client extends OpenApi {
2931
2941
  * 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.
2932
2942
  *
2933
2943
  * @remarks
2934
- * > 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.
2944
+ * 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.
2945
+ * * 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.
2935
2946
  *
2936
2947
  * @param request - DescribeClusterUserKubeconfigRequest
2937
2948
  * @param headers - map
@@ -2971,7 +2982,8 @@ export default class Client extends OpenApi {
2971
2982
  * 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.
2972
2983
  *
2973
2984
  * @remarks
2974
- * > 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.
2985
+ * 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.
2986
+ * * 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.
2975
2987
  *
2976
2988
  * @param request - DescribeClusterUserKubeconfigRequest
2977
2989
  * @returns DescribeClusterUserKubeconfigResponse
@@ -4865,9 +4877,8 @@ export default class Client extends OpenApi {
4865
4877
  * 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.
4866
4878
  *
4867
4879
  * @remarks
4868
- * *Precautions**:
4869
- * * 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).
4870
- * * 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.
4880
+ * 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).
4881
+ * * 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.
4871
4882
  *
4872
4883
  * @param request - GrantPermissionsRequest
4873
4884
  * @param headers - map
@@ -4898,9 +4909,8 @@ export default class Client extends OpenApi {
4898
4909
  * 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.
4899
4910
  *
4900
4911
  * @remarks
4901
- * *Precautions**:
4902
- * * 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).
4903
- * * 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.
4912
+ * 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).
4913
+ * * 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.
4904
4914
  *
4905
4915
  * @param request - GrantPermissionsRequest
4906
4916
  * @returns GrantPermissionsResponse
@@ -4912,7 +4922,7 @@ export default class Client extends OpenApi {
4912
4922
  }
4913
4923
 
4914
4924
  /**
4915
- * 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.
4925
+ * 为了增强Kubernetes能力,ACK集群支持了多种组件,例如托管的核心组件,应用、日志和监控、网络、存储、安全组件等。您可以调用InstallClusterAddons接口,通过组件名称和版本安装组件。
4916
4926
  *
4917
4927
  * @param request - InstallClusterAddonsRequest
4918
4928
  * @param headers - map
@@ -4940,7 +4950,7 @@ export default class Client extends OpenApi {
4940
4950
  }
4941
4951
 
4942
4952
  /**
4943
- * 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.
4953
+ * 为了增强Kubernetes能力,ACK集群支持了多种组件,例如托管的核心组件,应用、日志和监控、网络、存储、安全组件等。您可以调用InstallClusterAddons接口,通过组件名称和版本安装组件。
4944
4954
  *
4945
4955
  * @param request - InstallClusterAddonsRequest
4946
4956
  * @returns InstallClusterAddonsResponse
@@ -5101,7 +5111,7 @@ export default class Client extends OpenApi {
5101
5111
  }
5102
5112
 
5103
5113
  /**
5104
- * 获取巡检报告列表
5114
+ * Obtains the details of the cluster inspection report.
5105
5115
  *
5106
5116
  * @param request - ListClusterInspectReportsRequest
5107
5117
  * @param headers - map
@@ -5138,7 +5148,7 @@ export default class Client extends OpenApi {
5138
5148
  }
5139
5149
 
5140
5150
  /**
5141
- * 获取巡检报告列表
5151
+ * Obtains the details of the cluster inspection report.
5142
5152
  *
5143
5153
  * @param request - ListClusterInspectReportsRequest
5144
5154
  * @returns ListClusterInspectReportsResponse
@@ -5382,7 +5392,7 @@ export default class Client extends OpenApi {
5382
5392
  }
5383
5393
 
5384
5394
  /**
5385
- * 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.
5395
+ * 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.
5386
5396
  *
5387
5397
  * @param request - MigrateClusterRequest
5388
5398
  * @param headers - map
@@ -5419,7 +5429,7 @@ export default class Client extends OpenApi {
5419
5429
  }
5420
5430
 
5421
5431
  /**
5422
- * 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.
5432
+ * 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.
5423
5433
  *
5424
5434
  * @param request - MigrateClusterRequest
5425
5435
  * @returns MigrateClusterResponse
@@ -5885,7 +5895,7 @@ export default class Client extends OpenApi {
5885
5895
  }
5886
5896
 
5887
5897
  /**
5888
- * 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.
5898
+ * When using Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
5889
5899
  *
5890
5900
  * @remarks
5891
5901
  * You can activate ACK by using Alibaba Cloud accounts.
@@ -5922,7 +5932,7 @@ export default class Client extends OpenApi {
5922
5932
  }
5923
5933
 
5924
5934
  /**
5925
- * 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.
5935
+ * When using Container Service for Kubernetes (ACK) for the first time, you must call the OpenAckService operation to activate the service.
5926
5936
  *
5927
5937
  * @remarks
5928
5938
  * You can activate ACK by using Alibaba Cloud accounts.
@@ -6471,7 +6481,7 @@ export default class Client extends OpenApi {
6471
6481
  }
6472
6482
 
6473
6483
  /**
6474
- * 发起集群巡检
6484
+ * Triggers a cluster inspection and generates a report.
6475
6485
  *
6476
6486
  * @param request - RunClusterInspectRequest
6477
6487
  * @param headers - map
@@ -6504,7 +6514,7 @@ export default class Client extends OpenApi {
6504
6514
  }
6505
6515
 
6506
6516
  /**
6507
- * 发起集群巡检
6517
+ * Triggers a cluster inspection and generates a report.
6508
6518
  *
6509
6519
  * @param request - RunClusterInspectRequest
6510
6520
  * @returns RunClusterInspectResponse
@@ -7208,7 +7218,7 @@ export default class Client extends OpenApi {
7208
7218
  }
7209
7219
 
7210
7220
  /**
7211
- * 更新集群巡检配置
7221
+ * Modifies cluster inspection configurations.
7212
7222
  *
7213
7223
  * @param request - UpdateClusterInspectConfigRequest
7214
7224
  * @param headers - map
@@ -7249,7 +7259,7 @@ export default class Client extends OpenApi {
7249
7259
  }
7250
7260
 
7251
7261
  /**
7252
- * 更新集群巡检配置
7262
+ * Modifies cluster inspection configurations.
7253
7263
  *
7254
7264
  * @param request - UpdateClusterInspectConfigRequest
7255
7265
  * @returns UpdateClusterInspectConfigResponse
@@ -7604,7 +7614,7 @@ export default class Client extends OpenApi {
7604
7614
  }
7605
7615
 
7606
7616
  /**
7607
- * You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
7617
+ * 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.
7608
7618
  *
7609
7619
  * @remarks
7610
7620
  * 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:
@@ -7660,7 +7670,7 @@ export default class Client extends OpenApi {
7660
7670
  }
7661
7671
 
7662
7672
  /**
7663
- * You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
7673
+ * 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.
7664
7674
  *
7665
7675
  * @remarks
7666
7676
  * 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:
@@ -3,9 +3,15 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateClusterInspectConfigRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The list of disabled inspection items.
9
+ */
6
10
  disabledCheckItems?: string[];
7
11
  /**
8
12
  * @remarks
13
+ * Specifies whether to enable cluster inspection.
14
+ *
9
15
  * This parameter is required.
10
16
  *
11
17
  * @example
@@ -14,6 +20,8 @@ export class CreateClusterInspectConfigRequest extends $dara.Model {
14
20
  enabled?: boolean;
15
21
  /**
16
22
  * @remarks
23
+ * The inspection period defined using RFC5545 Recurrence Rule. You must specify BYHOUR and BYMINUTE. Only FREQ=DAILY is supported. COUNT or UNTIL is not supported.
24
+ *
17
25
  * This parameter is required.
18
26
  *
19
27
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateClusterInspectConfigResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
7
10
  * @example
8
11
  * 873DC52C-28AA-5A5C-938C-684D3D4B****
9
12
  */
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
6
+ approvalRequired?: boolean;
6
7
  /**
7
8
  * @remarks
8
9
  * Specifies whether to allow node restart. This parameter takes effect only when `auto_repair` is set to true. Valid values:
@@ -18,12 +19,14 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
18
19
  restartNode?: boolean;
19
20
  static names(): { [key: string]: string } {
20
21
  return {
22
+ approvalRequired: 'approval_required',
21
23
  restartNode: 'restart_node',
22
24
  };
23
25
  }
24
26
 
25
27
  static types(): { [key: string]: any } {
26
28
  return {
29
+ approvalRequired: 'boolean',
27
30
  restartNode: 'boolean',
28
31
  };
29
32
  }
@@ -1,6 +1,7 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
3
  import { Addon } from "./Addon";
4
+ import { CreateClusterRequestAuditLogConfig } from "./CreateClusterRequestAuditLogConfig";
4
5
  import { CreateClusterRequestControlPlaneConfig } from "./CreateClusterRequestControlPlaneConfig";
5
6
  import { MaintenanceWindow } from "./MaintenanceWindow";
6
7
  import { Nodepool } from "./Nodepool";
@@ -57,6 +58,7 @@ export class CreateClusterRequest extends $dara.Model {
57
58
  * kubernetes.default.svc
58
59
  */
59
60
  apiAudiences?: string;
61
+ auditLogConfig?: CreateClusterRequestAuditLogConfig;
60
62
  /**
61
63
  * @remarks
62
64
  * [**Deprecated**]
@@ -1252,6 +1254,7 @@ export class CreateClusterRequest extends $dara.Model {
1252
1254
  accessControlList: 'access_control_list',
1253
1255
  addons: 'addons',
1254
1256
  apiAudiences: 'api_audiences',
1257
+ auditLogConfig: 'audit_log_config',
1255
1258
  autoRenew: 'auto_renew',
1256
1259
  autoRenewPeriod: 'auto_renew_period',
1257
1260
  chargeType: 'charge_type',
@@ -1355,6 +1358,7 @@ export class CreateClusterRequest extends $dara.Model {
1355
1358
  accessControlList: { 'type': 'array', 'itemType': 'string' },
1356
1359
  addons: { 'type': 'array', 'itemType': Addon },
1357
1360
  apiAudiences: 'string',
1361
+ auditLogConfig: CreateClusterRequestAuditLogConfig,
1358
1362
  autoRenew: 'boolean',
1359
1363
  autoRenewPeriod: 'number',
1360
1364
  chargeType: 'string',
@@ -1460,6 +1464,9 @@ export class CreateClusterRequest extends $dara.Model {
1460
1464
  if(Array.isArray(this.addons)) {
1461
1465
  $dara.Model.validateArray(this.addons);
1462
1466
  }
1467
+ if(this.auditLogConfig && typeof (this.auditLogConfig as any).validate === 'function') {
1468
+ (this.auditLogConfig as any).validate();
1469
+ }
1463
1470
  if(this.controlPlaneConfig && typeof (this.controlPlaneConfig as any).validate === 'function') {
1464
1471
  (this.controlPlaneConfig as any).validate();
1465
1472
  }
@@ -0,0 +1,30 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateClusterRequestAuditLogConfig extends $dara.Model {
6
+ enabled?: boolean;
7
+ slsProjectName?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ enabled: 'enabled',
11
+ slsProjectName: 'sls_project_name',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ enabled: 'boolean',
18
+ slsProjectName: 'string',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ super.validate();
24
+ }
25
+
26
+ constructor(map?: { [key: string]: any }) {
27
+ super(map);
28
+ }
29
+ }
30
+
@@ -43,15 +43,13 @@ export class CreateTemplateRequest extends $dara.Model {
43
43
  template?: string;
44
44
  /**
45
45
  * @remarks
46
- * The type of template. You can set the parameter to a custom value.
46
+ * The template type.
47
47
  *
48
48
  * * If the parameter is set to `kubernetes`, the template is displayed on the Templates page in the console.
49
- * * If you set the parameter to `compose`, the template is not displayed in the console.
49
+ * * If this parameter is not specified or the value is set to another value, the template is not displayed on the Orchestration Template page in the console.
50
50
  *
51
51
  * We recommend that you set the parameter to `kubernetes`.
52
52
  *
53
- * Default value: `compose`.
54
- *
55
53
  * @example
56
54
  * kubernetes
57
55
  */
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateTriggerResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The action that the trigger performs. For example, a value of `redeploy` indicates that the trigger redeploys the application.
8
+ * The actions performed by the trigger.
9
9
  *
10
10
  * @example
11
11
  * redeploy
@@ -21,7 +21,7 @@ export class CreateTriggerResponseBody extends $dara.Model {
21
21
  clusterId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the trigger.
24
+ * The trigger ID.
25
25
  *
26
26
  * @example
27
27
  * 102536
@@ -37,7 +37,7 @@ export class CreateTriggerResponseBody extends $dara.Model {
37
37
  projectId?: string;
38
38
  /**
39
39
  * @remarks
40
- * The type of trigger. Default value: deployment.
40
+ * The trigger type.
41
41
  *
42
42
  * @example
43
43
  * deployment
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DeleteClusterInspectConfigResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
7
10
  * @example
8
11
  * 873DC52C-28AA-5A5C-938C-684D3D4B****
9
12
  */
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteClusterNodesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to remove all pods from the nodes that you want to remove. Valid values:
8
+ * Specifies whether to remove all pods from the nodes you want to remove. Valid values:
9
9
  *
10
- * * `true`: removes all pods from the nodes that you want to remove.
11
- * * `false`: does not remove pods from the nodes that you want to remove.
10
+ * * `true`: removes all pods automatically.
11
+ * * `false`: skips removing pods.
12
12
  *
13
- * Default value: `false`.
13
+ * Default value: `false`
14
14
  *
15
15
  * @example
16
16
  * true
@@ -18,21 +18,23 @@ export class DeleteClusterNodesRequest extends $dara.Model {
18
18
  drainNode?: boolean;
19
19
  /**
20
20
  * @remarks
21
- * The list of nodes to be removed. You need to specify the name of the nodes used in the cluster, for example, `cn-hangzhou.192.168.0.70`.
21
+ * The list of nodes to remove. You must specify the node names used in the cluster, for example, `cn-hangzhou.192.168.xx.xx`.
22
22
  *
23
23
  * This parameter is required.
24
24
  */
25
25
  nodes?: string[];
26
26
  /**
27
27
  * @remarks
28
- * Specifies whether to release the Elastic Compute Service (ECS) instances. Valid values:
28
+ * Specifies whether to release the ECS instances. Valid values:
29
29
  *
30
30
  * * `true`: releases the ECS instances.
31
- * * `false`: does not release the ECS instances.
31
+ * * `false`: retains the ECS instances.
32
32
  *
33
- * Default value: `false`.
33
+ * Default value: `false`
34
34
  *
35
- * > You cannot release subscription ECS instances.
35
+ * **
36
+ *
37
+ * **Notes** Unsupported for subscription ECS instances.
36
38
  *
37
39
  * @example
38
40
  * true
@@ -21,7 +21,7 @@ export class DeleteClusterNodesResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The task ID.
24
+ * The ID of the task.
25
25
  *
26
26
  * @example
27
27
  * T-60fea8ad2e277f0879000ae9
@@ -6,10 +6,7 @@ import { DescribeAddonResponseBodyNewerVersions } from "./DescribeAddonResponseB
6
6
  export class DescribeAddonResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * Architectures supported by the component. Valid values:
10
- *
11
- * * amd64
12
- * * arm64
9
+ * The CPU architecture supported by the component.
13
10
  */
14
11
  architecture?: string[];
15
12
  /**
@@ -54,17 +51,12 @@ export class DescribeAddonResponseBody extends $dara.Model {
54
51
  name?: string;
55
52
  /**
56
53
  * @remarks
57
- * The latest version of the component.
54
+ * The latest version information of the component.
58
55
  */
59
56
  newerVersions?: DescribeAddonResponseBodyNewerVersions[];
60
57
  /**
61
58
  * @remarks
62
- * Operations supported by the component. Valid values:
63
- *
64
- * * Install
65
- * * Upgrade
66
- * * Modify
67
- * * Uninstall
59
+ * The operations supported by the component.
68
60
  */
69
61
  supportedActions?: string[];
70
62
  /**
@@ -15,13 +15,16 @@ export class DescribeAddonResponseBodyNewerVersions extends $dara.Model {
15
15
  * @remarks
16
16
  * Indicates whether the component can be updated to the version.
17
17
  *
18
+ * * true: yes
19
+ * * false: no
20
+ *
18
21
  * @example
19
22
  * true
20
23
  */
21
24
  upgradable?: boolean;
22
25
  /**
23
26
  * @remarks
24
- * The version number.
27
+ * The latest version number of the component.
25
28
  *
26
29
  * @example
27
30
  * v1.9.3.10-7dfca203-aliyun