@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
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListClusterInspectReportsRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The maximum number of returned results. Maximum value: 50.
9
+ *
7
10
  * @example
8
11
  * 20
9
12
  */
10
13
  maxResults?: number;
11
14
  /**
15
+ * @remarks
16
+ * The pagination token.
17
+ *
12
18
  * @example
13
19
  * AK8uQQrxgFKsI3OiS5TbhUQ9R3kPme4I3
14
20
  */
@@ -5,12 +5,22 @@ import { ListClusterInspectReportsResponseBodyReports } from "./ListClusterInspe
5
5
 
6
6
  export class ListClusterInspectReportsResponseBody extends $dara.Model {
7
7
  /**
8
+ * @remarks
9
+ * The pagination token.
10
+ *
8
11
  * @example
9
12
  * 405b99e5411f9a4e7148506e45
10
13
  */
11
14
  nextToken?: string;
15
+ /**
16
+ * @remarks
17
+ * The list of inspection reports.
18
+ */
12
19
  reports?: ListClusterInspectReportsResponseBodyReports[];
13
20
  /**
21
+ * @remarks
22
+ * The request ID.
23
+ *
14
24
  * @example
15
25
  * 49511F2D-D56A-5C24-B9AE-C8491E09B***
16
26
  */
@@ -5,25 +5,41 @@ import { ListClusterInspectReportsResponseBodyReportsSummary } from "./ListClust
5
5
 
6
6
  export class ListClusterInspectReportsResponseBodyReports extends $dara.Model {
7
7
  /**
8
+ * @remarks
9
+ * The report completion time.
10
+ *
8
11
  * @example
9
12
  * 2024-12-18T19:40:16.778333+08:00
10
13
  */
11
14
  endTime?: string;
12
15
  /**
16
+ * @remarks
17
+ * An inspection report ID.
18
+ *
13
19
  * @example
14
20
  * 782df89346054a0000562063a6****
15
21
  */
16
22
  reportId?: string;
17
23
  /**
24
+ * @remarks
25
+ * The report start time.
26
+ *
18
27
  * @example
19
28
  * 2024-12-18T19:40:16.778333+08:00
20
29
  */
21
30
  startTime?: string;
22
31
  /**
32
+ * @remarks
33
+ * The inspection report status.
34
+ *
23
35
  * @example
24
36
  * completed
25
37
  */
26
38
  status?: string;
39
+ /**
40
+ * @remarks
41
+ * The inspection summary.
42
+ */
27
43
  summary?: ListClusterInspectReportsResponseBodyReportsSummary;
28
44
  static names(): { [key: string]: string } {
29
45
  return {
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListClusterInspectReportsResponseBodyReportsSummary extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The number of items whose result is advice.
9
+ *
7
10
  * @example
8
11
  * 0
9
12
  */
10
13
  adviceCount?: number;
11
14
  /**
15
+ * @remarks
16
+ * Aggregated inspection task result code.
17
+ *
12
18
  * @example
13
19
  * warning
14
20
  */
15
21
  code?: string;
16
22
  /**
23
+ * @remarks
24
+ * The number of items whose result is error.
25
+ *
17
26
  * @example
18
27
  * 0
19
28
  */
20
29
  errorCount?: number;
21
30
  /**
31
+ * @remarks
32
+ * The number of items whose result is normal.
33
+ *
22
34
  * @example
23
35
  * 1
24
36
  */
25
37
  normalCount?: number;
26
38
  /**
39
+ * @remarks
40
+ * The number of items whose result is warning.
41
+ *
27
42
  * @example
28
43
  * 0
29
44
  */
@@ -24,27 +24,27 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
24
24
  concurrency?: boolean;
25
25
  /**
26
26
  * @remarks
27
- * The configurations of the cluster in which the node pool is deployed.
27
+ * The configurations of the cluster.
28
28
  */
29
29
  kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
30
30
  /**
31
31
  * @remarks
32
- * The configuration of the managed node pool feature.
32
+ * The configurations of the managed node pool feature.
33
33
  */
34
34
  management?: ModifyClusterNodePoolRequestManagement;
35
35
  /**
36
36
  * @remarks
37
- * The configuration of the node pool.
37
+ * The configurations of the node pool.
38
38
  */
39
39
  nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
40
40
  /**
41
41
  * @remarks
42
- * The configuration of the scaling group.
42
+ * The configurations of the scaling group that is used by the node pool.
43
43
  */
44
44
  scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
45
45
  /**
46
46
  * @remarks
47
- * The configurations about confidential computing for the cluster.
47
+ * The configurations of confidential computing for the cluster.
48
48
  */
49
49
  teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
50
50
  /**
@@ -5,7 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The maximum bandwidth of the EIP.
8
+ * This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead. The maximum bandwidth of the EIP.
9
+ *
10
+ * Valid values: 1 to 100. Unit: Mbit/s.
9
11
  *
10
12
  * @example
11
13
  * 5
@@ -15,10 +17,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
15
17
  eipBandwidth?: number;
16
18
  /**
17
19
  * @remarks
18
- * The billing method of the EIP. Valid values:
20
+ * This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
21
+ *
22
+ * The metering method of the EIP. Valid values:
19
23
  *
20
- * * `PayByBandwidth`: pay-by-bandwidth
21
- * * `PayByTraffic`: pay-by-data-transfer
24
+ * * `PayByBandwidth`: pay-by-bandwidth.
25
+ * * `PayByTraffic`: pay-by-data-transfer.
22
26
  *
23
27
  * Default value: `PayByBandwidth`.
24
28
  *
@@ -32,10 +36,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
32
36
  * @remarks
33
37
  * Specifies whether to enable auto scaling. Valid values:
34
38
  *
35
- * * `true`: enables auto scaling for the node pool.
36
- * * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in `auto_scaling` do not take effect.
39
+ * * `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the requirements of pod scheduling, ACK automatically scales out nodes based on the configured minimum and maximum number of instances. By default, node instant scaling is enabled for clusters that run Kubernetes 1.24. By default, node auto scaling is enabled for clusters that run Kubernetes versions earlier than 1.24. For more information, see [Auto scaling of nodes](https://help.aliyun.com/document_detail/2746785.html).
40
+ * * `false`: disables auto scaling. Container Service for Kubernetes (ACK) adjusts the number of nodes in the node pool based on the value of the Expected Nodes parameter. The number of nodes is always the same as the value of the Expected Nodes parameter.
37
41
  *
38
- * Default value: `false`
42
+ * If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
43
+ *
44
+ * Default value: `false`.
39
45
  *
40
46
  * @example
41
47
  * true
@@ -43,12 +49,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
43
49
  enable?: boolean;
44
50
  /**
45
51
  * @remarks
46
- * Specifies whether to associate an elastic IP address (EIP) with the node pool. Valid values:
52
+ * This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
47
53
  *
48
- * * `true`: An EIP is associated with the node pool.
49
- * * `false`: No EIP is associated with the node pool.
54
+ * * `true`: associates an elastic IP address (EIP) with the node pool.
55
+ * * `false`: does not associate an EIP with the node pool.
50
56
  *
51
- * Default value: `false`
57
+ * Default value: `false`.
52
58
  *
53
59
  * @example
54
60
  * true
@@ -58,7 +64,9 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
58
64
  isBondEip?: boolean;
59
65
  /**
60
66
  * @remarks
61
- * The maximum number of instances.
67
+ * The maximum number of nodes that can be created in the node pool. Existing instances are excluded. This parameter takes effect only when `enable=true` is specified.
68
+ *
69
+ * The value must be at least the value of min_instances and cannot exceed 2000. Default value: 0.
62
70
  *
63
71
  * @example
64
72
  * 10
@@ -66,7 +74,15 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
66
74
  maxInstances?: number;
67
75
  /**
68
76
  * @remarks
69
- * The minimum number of instances.
77
+ * The minimum number of nodes that must be kept in the node pool. Existing instances are excluded. This parameter takes effect only when `enable=true` is specified.
78
+ *
79
+ * The value must be at least 0 and cannot exceed the value of max_instances. Default value: 0.
80
+ *
81
+ * >
82
+ *
83
+ * * When the minimum number of instances is greater than 0 and a scaling group is set up, ECS instances are automatically created based on the minimum number.
84
+ *
85
+ * * We recommend that the value of max_instances is equal to or larger than the current number of nodes in the node pool. If the value of max_instances is less than the current number of nodes in the node pool, the node pool will be scaled in after you enable auto scaling for the node pool.
70
86
  *
71
87
  * @example
72
88
  * 2
@@ -76,7 +92,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
76
92
  * @remarks
77
93
  * The instance type that is used for auto scaling. Valid values:
78
94
  *
79
- * * `cpu`: regular instance
95
+ * * `cpu`: regular instance.
80
96
  * * `gpu`: GPU-accelerated instance.
81
97
  * * `gpushare`: shared GPU-accelerated instance.
82
98
  * * `spot`: preemptible instance.
@@ -12,7 +12,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
12
12
  * * `true`: installs the CloudMonitor agent on ECS nodes.
13
13
  * * `false`: does not install the CloudMonitor agent on ECS nodes.
14
14
  *
15
- * Default value: `false`
15
+ * Default value: `false`.
16
16
  *
17
17
  * @example
18
18
  * true
@@ -22,8 +22,8 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
22
22
  * @remarks
23
23
  * The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
24
24
  *
25
- * * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity
26
- * * `none`: specifies that the default CPU affinity is used
25
+ * * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
26
+ * * `none`: specifies that the default CPU affinity is used.
27
27
  *
28
28
  * Default value: `none`.
29
29
  *
@@ -33,7 +33,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
33
33
  cpuPolicy?: string;
34
34
  /**
35
35
  * @remarks
36
- * The labels of the nodes in the node pool. You can add labels to the nodes in the cluster. You must add the label based on the following rules:
36
+ * The labels that are added to the nodes in the cluster. You must add the label based on the following rules:
37
37
  *
38
38
  * * A label is a case-sensitive key-value pair. You can add up to 20 labels.
39
39
  * * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and values cannot start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
@@ -41,7 +41,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
41
41
  labels?: Tag[];
42
42
  /**
43
43
  * @remarks
44
- * The user-defined script that is executed before nodes are initialized. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
44
+ * Predefined custom data. Nodes automatically run predefined scripts before they are added to the cluster. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
45
45
  *
46
46
  * @example
47
47
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -49,7 +49,13 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
49
49
  preUserData?: string;
50
50
  /**
51
51
  * @remarks
52
- * The name of the container runtime.
52
+ * The name of the container runtime. The following types of runtime are supported by ACK:
53
+ *
54
+ * * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
55
+ * * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.31 and earlier.
56
+ * * docker: discontinued. The Docker runtime supports Kubernetes 1.22 and earlier.
57
+ *
58
+ * Default value: containerd.
53
59
  *
54
60
  * @example
55
61
  * docker
@@ -72,13 +78,16 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
72
78
  * @remarks
73
79
  * Specifies whether the nodes are unschedulable after a scale-out activity is performed.
74
80
  *
81
+ * * true: The nodes are unschedulable after a scale-out activity is performed.
82
+ * * false: The nodes are schedulable after a scale-out activity is performed.
83
+ *
75
84
  * @example
76
85
  * false
77
86
  */
78
87
  unschedulable?: boolean;
79
88
  /**
80
89
  * @remarks
81
- * The user-defined script that is executed after nodes are initialized. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
90
+ * The user data of the instance. Nodes automatically run user-data scripts after they are added to the cluster. For more information, see [User-Data script](https://help.aliyun.com/document_detail/49121.html).
82
91
  *
83
92
  * @example
84
93
  * IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
@@ -9,7 +9,7 @@ import { ModifyClusterNodePoolRequestManagementUpgradeConfig } from "./ModifyClu
9
9
  export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
10
10
  /**
11
11
  * @remarks
12
- * Specifies whether to enable auto repair. This parameter takes effect only when you specify `enable=true`. Valid values:
12
+ * Specifies whether to enable auto node repair. This parameter takes effect only if `enable` is set to true. Valid values:
13
13
  *
14
14
  * * `true`: enables auto repair.
15
15
  * * `false`: disables auto repair.
@@ -27,10 +27,10 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
27
27
  autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
28
28
  /**
29
29
  * @remarks
30
- * Indicates whether auto update is enabled. Valid values:
30
+ * Specifies whether to enable auto upgrade. Valid values:
31
31
  *
32
- * * `true`: enables auto update.
33
- * * `false`: disables auto update.
32
+ * * `true`: enables auto upgrade.
33
+ * * `false`: disables auto upgrade.
34
34
  *
35
35
  * @example
36
36
  * true
@@ -38,14 +38,14 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
38
38
  autoUpgrade?: boolean;
39
39
  /**
40
40
  * @remarks
41
- * The auto update policy.
41
+ * The auto upgrade policy.
42
42
  */
43
43
  autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
44
44
  /**
45
45
  * @remarks
46
46
  * Specifies whether ACK is allowed to automatically patch CVE vulnerabilities. Valid values:
47
47
  *
48
- * * `true`: eanbles auto CVE patching.
48
+ * * `true`: enables auto CVE patching.
49
49
  * * `true`: disables auto CVE patching.
50
50
  *
51
51
  * @example
@@ -64,7 +64,7 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
64
64
  * * `true`: enables the managed node pool feature.
65
65
  * * `false`: disables the managed node pool feature. Other parameters in this section take effect only when `enable=true` is specified.
66
66
  *
67
- * Default value: `false`
67
+ * Default value: `false`.
68
68
  *
69
69
  * @example
70
70
  * true
@@ -72,7 +72,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
72
72
  enable?: boolean;
73
73
  /**
74
74
  * @remarks
75
- * The configuration of auto update. The configuration takes effect only when `enable=true` is specified.
75
+ * This parameter is deprecated. Use the preceding `auto_upgrade` parameter instead.
76
+ *
77
+ * The configurations of auto upgrade. The configurations take effect only when `enable` is set to true.
76
78
  *
77
79
  * @deprecated
78
80
  */
@@ -3,12 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
6
+ approvalRequired?: boolean;
6
7
  /**
7
8
  * @remarks
8
9
  * Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
9
10
  *
10
- * * `true`: allows node restart.
11
- * * `false`: does not allow node restart.
11
+ * * `true`: yes.
12
+ * * `false`: no.
12
13
  *
13
14
  * @example
14
15
  * true
@@ -16,12 +17,14 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
16
17
  restartNode?: boolean;
17
18
  static names(): { [key: string]: string } {
18
19
  return {
20
+ approvalRequired: 'approval_required',
19
21
  restartNode: 'restart_node',
20
22
  };
21
23
  }
22
24
 
23
25
  static types(): { [key: string]: any } {
24
26
  return {
27
+ approvalRequired: 'boolean',
25
28
  restartNode: 'boolean',
26
29
  };
27
30
  }
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether ACK is allowed to automatically update the kubelet. Valid values:
8
+ * Specifies whether ACK is allowed to automatically upgrade the kubelet. Valid values:
9
9
  *
10
10
  * * `true`: yes.
11
11
  * * `false`: no.
@@ -16,10 +16,10 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
16
16
  autoUpgradeKubelet?: boolean;
17
17
  /**
18
18
  * @remarks
19
- * Specifies whether ACK is allowed to automatically update the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
19
+ * Specifies whether ACK is allowed to automatically upgrade the operating system. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
20
20
  *
21
- * * `true`: allows the auto upgrade of the OS.
22
- * * `false`: does not allow the auto upgrade of the OS.
21
+ * * `true`: yes.
22
+ * * `false`: no.
23
23
  *
24
24
  * Default value: `false`.
25
25
  *
@@ -29,10 +29,10 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
29
29
  autoUpgradeOs?: boolean;
30
30
  /**
31
31
  * @remarks
32
- * Specifies whether ACK is allowed to automatically update the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
32
+ * Specifies whether ACK is allowed to automatically upgrade the runtime. This parameter takes effect only when you specify `auto_upgrade=true`. Valid values:
33
33
  *
34
- * * `true`: allows the auto upgrade of the runtime.
35
- * * `false`: does not allow the auto upgrade of the runtime.
34
+ * * `true`: yes.
35
+ * * `false`: no.
36
36
  *
37
37
  * Default value: `false`.
38
38
  *
@@ -7,8 +7,8 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
7
7
  * @remarks
8
8
  * Specifies whether ACK is allowed to automatically restart nodes after repairing the nodes. Valid values:
9
9
  *
10
- * * `true`: allows node restart.
11
- * * `false`: does not allow node restart.
10
+ * * `true`: yes.
11
+ * * `false`: no.
12
12
  *
13
13
  * @example
14
14
  * true
@@ -16,7 +16,13 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
16
16
  restartNode?: boolean;
17
17
  /**
18
18
  * @remarks
19
- * The severity levels of vulnerabilities that ACK is allowed to automatically patch. Multiple severity levels are separated by commas (,).
19
+ * The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
20
+ *
21
+ * * `asap`: high.
22
+ * * `later`: medium.
23
+ * * `nntf`: low.
24
+ *
25
+ * If `auto_vul_fix=true` is specified, the default value is `asap`.
20
26
  *
21
27
  * @example
22
28
  * asap,nntf
@@ -5,10 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to enable auto update. Valid values:
8
+ * This parameter is deprecated. Use the preceding `auto_upgrade` parameter instead.
9
9
  *
10
- * * true: enables auto update.
11
- * * false: disables auto update.
10
+ * Specifies whether to enable auto upgrade. Valid values:
11
+ *
12
+ * * true: enables auto upgrade.
13
+ * * false: disables auto upgrade.
12
14
  *
13
15
  * Default value: `true`.
14
16
  *
@@ -32,9 +34,11 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
32
34
  maxUnavailable?: number;
33
35
  /**
34
36
  * @remarks
35
- * The number of additional nodes that are temporarily added to the node pool during an auto update. Additional nodes are used to host the workloads of nodes that are being updated.
37
+ * The number of additional nodes that are temporarily added to the node pool during an auto upgrade. Specify this parameter or `surge_percentage`.
38
+ *
39
+ * A node is unavailable during an upgrade. Additional nodes are used to temporarily host the workloads of nodes that are being upgraded.
36
40
  *
37
- * > We recommend that you set the number of additional nodes to a value that does not exceed the current number of existing nodes.
41
+ * > We recommend that you specify a value that does not exceed the current number of nodes in the node pool.
38
42
  *
39
43
  * @example
40
44
  * 5
@@ -42,7 +46,9 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
42
46
  surge?: number;
43
47
  /**
44
48
  * @remarks
45
- * The percentage of additional nodes to the nodes in the node pool. You must set this parameter or `surge`.
49
+ * The percentage of additional nodes in the node pool. Specify this parameter or the `surge` parameter is specified.
50
+ *
51
+ * The number of additional nodes = The percentage of additional nodes × The number of nodes in the node pool. For example, if the percentage of additional nodes is 50% and the number of nodes in the node pool is 6, the number of additional nodes is 3.
46
52
  *
47
53
  * @example
48
54
  * 0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of a node pool.
8
+ * The name of the node pool.
9
9
  *
10
10
  * The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
11
11
  *
@@ -15,7 +15,9 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
15
15
  name?: string;
16
16
  /**
17
17
  * @remarks
18
- * The resource group ID to which the instance belongs.
18
+ * The ID of the resource group to which the node pool belongs. Instances that are added to the node pool belong to this resource group.
19
+ *
20
+ * Each resource can belong only to one resource group. You can regard a resource group as a project, an application, or an organization based on your business scenarios.
19
21
  *
20
22
  * @example
21
23
  * rg-acfmyvw3wjm****