@alicloud/cs20151215 6.5.2 → 6.6.1

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 (130) hide show
  1. package/dist/client.d.ts +48 -30
  2. package/dist/client.js +99 -30
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/Addon.d.ts +16 -1
  5. package/dist/models/Addon.js.map +1 -1
  6. package/dist/models/ContainerdConfig.d.ts +8 -0
  7. package/dist/models/ContainerdConfig.js.map +1 -1
  8. package/dist/models/CreateAutoRepairPolicyRequest.d.ts +0 -51
  9. package/dist/models/CreateAutoRepairPolicyRequest.js +1 -55
  10. package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
  11. package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
  12. package/dist/models/DataDisk.d.ts +71 -0
  13. package/dist/models/DataDisk.js.map +1 -1
  14. package/dist/models/DeleteAlertContactResponse.d.ts +0 -24
  15. package/dist/models/DeleteAlertContactResponse.js.map +1 -1
  16. package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +1 -52
  17. package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -56
  18. package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
  19. package/dist/models/DescribeClusterAddonMetadataRequest.d.ts +7 -0
  20. package/dist/models/DescribeClusterAddonMetadataRequest.js.map +1 -1
  21. package/dist/models/DescribeClusterEventsRequest.d.ts +2 -0
  22. package/dist/models/DescribeClusterEventsRequest.js +4 -0
  23. package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
  24. package/dist/models/DescribeClusterEventsResponseBody.d.ts +1 -0
  25. package/dist/models/DescribeClusterEventsResponseBody.js +2 -0
  26. package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
  27. package/dist/models/DescribeClusterTasksRequest.d.ts +2 -0
  28. package/dist/models/DescribeClusterTasksRequest.js +4 -0
  29. package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
  30. package/dist/models/DescribeClusterTasksResponseBody.d.ts +1 -0
  31. package/dist/models/DescribeClusterTasksResponseBody.js +2 -0
  32. package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
  33. package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -0
  34. package/dist/models/DescribeEventsForRegionRequest.js +4 -0
  35. package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
  36. package/dist/models/DescribeEventsForRegionResponseBody.d.ts +1 -0
  37. package/dist/models/DescribeEventsForRegionResponseBody.js +2 -0
  38. package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
  39. package/dist/models/DescribeEventsRequest.d.ts +2 -0
  40. package/dist/models/DescribeEventsRequest.js +4 -0
  41. package/dist/models/DescribeEventsRequest.js.map +1 -1
  42. package/dist/models/DescribeEventsResponseBody.d.ts +8 -4
  43. package/dist/models/DescribeEventsResponseBody.js +2 -0
  44. package/dist/models/DescribeEventsResponseBody.js.map +1 -1
  45. package/dist/models/DescribeRegionsRequest.d.ts +27 -0
  46. package/dist/models/DescribeRegionsRequest.js.map +1 -1
  47. package/dist/models/DescribeRegionsResponseBody.d.ts +17 -0
  48. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  49. package/dist/models/InstallNodePoolComponentsRequest.d.ts +34 -0
  50. package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
  51. package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +9 -0
  52. package/dist/models/InstallNodePoolComponentsResponseBody.js.map +1 -1
  53. package/dist/models/InstancePatterns.d.ts +77 -0
  54. package/dist/models/InstancePatterns.js.map +1 -1
  55. package/dist/models/KubeletConfig.d.ts +127 -0
  56. package/dist/models/KubeletConfig.js.map +1 -1
  57. package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +1 -52
  58. package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -56
  59. package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
  60. package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +35 -0
  61. package/dist/models/ListClusterAddonInstanceResourcesResponseBody.js.map +1 -1
  62. package/dist/models/ListTagResourcesResponseBody.d.ts +3 -3
  63. package/dist/models/MaintenanceWindow.d.ts +31 -1
  64. package/dist/models/MaintenanceWindow.js.map +1 -1
  65. package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +0 -51
  66. package/dist/models/ModifyAutoRepairPolicyRequest.js +1 -55
  67. package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
  68. package/dist/models/Nodepool.d.ts +508 -10
  69. package/dist/models/Nodepool.js.map +1 -1
  70. package/dist/models/Runtime.d.ts +14 -0
  71. package/dist/models/Runtime.js.map +1 -1
  72. package/dist/models/Tag.d.ts +6 -0
  73. package/dist/models/Tag.js.map +1 -1
  74. package/dist/models/TagResourcesResponseBody.d.ts +1 -1
  75. package/dist/models/Taint.d.ts +15 -0
  76. package/dist/models/Taint.js.map +1 -1
  77. package/dist/models/UntagResourcesResponseBody.d.ts +1 -1
  78. package/dist/models/UpdateKmsencryptionRequest.d.ts +39 -0
  79. package/dist/models/UpdateKmsencryptionRequest.js +60 -0
  80. package/dist/models/UpdateKmsencryptionRequest.js.map +1 -0
  81. package/dist/models/UpdateKmsencryptionResponse.d.ts +17 -0
  82. package/dist/models/UpdateKmsencryptionResponse.js +63 -0
  83. package/dist/models/UpdateKmsencryptionResponse.js.map +1 -0
  84. package/dist/models/UpdateNodePoolComponentRequest.d.ts +35 -0
  85. package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
  86. package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +6 -0
  87. package/dist/models/UpdateNodePoolComponentResponseBody.js.map +1 -1
  88. package/dist/models/model.d.ts +2 -8
  89. package/dist/models/model.js +50 -62
  90. package/dist/models/model.js.map +1 -1
  91. package/package.json +1 -1
  92. package/src/client.ts +111 -30
  93. package/src/models/Addon.ts +16 -1
  94. package/src/models/ContainerdConfig.ts +8 -0
  95. package/src/models/CreateAutoRepairPolicyRequest.ts +0 -87
  96. package/src/models/CreateTemplateResponseBody.ts +1 -1
  97. package/src/models/DataDisk.ts +71 -0
  98. package/src/models/DeleteAlertContactResponse.ts +0 -24
  99. package/src/models/DescribeAutoRepairPolicyResponseBody.ts +2 -89
  100. package/src/models/DescribeClusterAddonMetadataRequest.ts +7 -0
  101. package/src/models/DescribeClusterEventsRequest.ts +6 -0
  102. package/src/models/DescribeClusterEventsResponseBody.ts +3 -0
  103. package/src/models/DescribeClusterTasksRequest.ts +6 -0
  104. package/src/models/DescribeClusterTasksResponseBody.ts +3 -0
  105. package/src/models/DescribeEventsForRegionRequest.ts +6 -0
  106. package/src/models/DescribeEventsForRegionResponseBody.ts +3 -0
  107. package/src/models/DescribeEventsRequest.ts +6 -0
  108. package/src/models/DescribeEventsResponseBody.ts +10 -4
  109. package/src/models/DescribeRegionsRequest.ts +27 -0
  110. package/src/models/DescribeRegionsResponseBody.ts +17 -0
  111. package/src/models/InstallNodePoolComponentsRequest.ts +34 -0
  112. package/src/models/InstallNodePoolComponentsResponseBody.ts +9 -0
  113. package/src/models/InstancePatterns.ts +77 -0
  114. package/src/models/KubeletConfig.ts +127 -0
  115. package/src/models/ListAutoRepairPoliciesResponseBody.ts +2 -89
  116. package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +35 -0
  117. package/src/models/ListTagResourcesResponseBody.ts +3 -3
  118. package/src/models/MaintenanceWindow.ts +31 -1
  119. package/src/models/ModifyAutoRepairPolicyRequest.ts +0 -87
  120. package/src/models/Nodepool.ts +508 -10
  121. package/src/models/Runtime.ts +14 -0
  122. package/src/models/Tag.ts +6 -0
  123. package/src/models/TagResourcesResponseBody.ts +1 -1
  124. package/src/models/Taint.ts +15 -0
  125. package/src/models/UntagResourcesResponseBody.ts +1 -1
  126. package/src/models/UpdateKmsencryptionRequest.ts +54 -0
  127. package/src/models/UpdateKmsencryptionResponse.ts +33 -0
  128. package/src/models/UpdateNodePoolComponentRequest.ts +35 -0
  129. package/src/models/UpdateNodePoolComponentResponseBody.ts +6 -0
  130. package/src/models/model.ts +2 -8
package/src/client.ts CHANGED
@@ -62,7 +62,7 @@ export default class Client extends OpenApi {
62
62
  }
63
63
 
64
64
  /**
65
- * Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
65
+ * Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. When you need to add an ECS instance as a worker node to an ACK cluster or re-add a worker node to the cluster, you can call this operation.
66
66
  *
67
67
  * @param request - AttachInstancesRequest
68
68
  * @param headers - map
@@ -143,7 +143,7 @@ export default class Client extends OpenApi {
143
143
  }
144
144
 
145
145
  /**
146
- * Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
146
+ * Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster. When you need to add an ECS instance as a worker node to an ACK cluster or re-add a worker node to the cluster, you can call this operation.
147
147
  *
148
148
  * @param request - AttachInstancesRequest
149
149
  * @returns AttachInstancesResponse
@@ -292,7 +292,7 @@ export default class Client extends OpenApi {
292
292
  }
293
293
 
294
294
  /**
295
- * You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
295
+ * You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\\\\\\\\\&M plan.
296
296
  *
297
297
  * @param headers - map
298
298
  * @param runtime - runtime options for this request RuntimeOptions
@@ -317,7 +317,7 @@ export default class Client extends OpenApi {
317
317
  }
318
318
 
319
319
  /**
320
- * You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
320
+ * You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\\\\\\\\\&M plan.
321
321
  * @returns CancelOperationPlanResponse
322
322
  */
323
323
  async cancelOperationPlan(planId: string): Promise<$_model.CancelOperationPlanResponse> {
@@ -564,7 +564,7 @@ export default class Client extends OpenApi {
564
564
  }
565
565
 
566
566
  /**
567
- * 查询自愈规则
567
+ * Creates an auto-repair policy.
568
568
  *
569
569
  * @param request - CreateAutoRepairPolicyRequest
570
570
  * @param headers - map
@@ -609,7 +609,7 @@ export default class Client extends OpenApi {
609
609
  }
610
610
 
611
611
  /**
612
- * 查询自愈规则
612
+ * Creates an auto-repair policy.
613
613
  *
614
614
  * @param request - CreateAutoRepairPolicyRequest
615
615
  * @returns CreateAutoRepairPolicyResponse
@@ -1299,7 +1299,7 @@ export default class Client extends OpenApi {
1299
1299
  }
1300
1300
 
1301
1301
  /**
1302
- * Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
1302
+ * Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\\\\\\\&M workload.
1303
1303
  *
1304
1304
  * @param request - CreateClusterNodePoolRequest
1305
1305
  * @param headers - map
@@ -1392,7 +1392,7 @@ export default class Client extends OpenApi {
1392
1392
  }
1393
1393
 
1394
1394
  /**
1395
- * Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
1395
+ * Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\\\\\\\&M workload.
1396
1396
  *
1397
1397
  * @param request - CreateClusterNodePoolRequest
1398
1398
  * @returns CreateClusterNodePoolResponse
@@ -1839,7 +1839,7 @@ export default class Client extends OpenApi {
1839
1839
  }
1840
1840
 
1841
1841
  /**
1842
- * null
1842
+ * Deletes unused node pools. Deleting a node pool terminates all pods on its nodes, which triggers pod rescheduling. Insufficient cluster resources may cause scheduling failures and business impact.
1843
1843
  *
1844
1844
  * @param request - DeleteClusterNodepoolRequest
1845
1845
  * @param headers - map
@@ -1872,7 +1872,7 @@ export default class Client extends OpenApi {
1872
1872
  }
1873
1873
 
1874
1874
  /**
1875
- * null
1875
+ * Deletes unused node pools. Deleting a node pool terminates all pods on its nodes, which triggers pod rescheduling. Insufficient cluster resources may cause scheduling failures and business impact.
1876
1876
  *
1877
1877
  * @param request - DeleteClusterNodepoolRequest
1878
1878
  * @returns DeleteClusterNodepoolResponse
@@ -2675,6 +2675,14 @@ export default class Client extends OpenApi {
2675
2675
  async describeClusterEventsWithOptions(ClusterId: string, request: $_model.DescribeClusterEventsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterEventsResponse> {
2676
2676
  request.validate();
2677
2677
  let query : {[key: string ]: any} = { };
2678
+ if (!$dara.isNull(request.maxResults)) {
2679
+ query["max_results"] = request.maxResults;
2680
+ }
2681
+
2682
+ if (!$dara.isNull(request.nextToken)) {
2683
+ query["next_token"] = request.nextToken;
2684
+ }
2685
+
2678
2686
  if (!$dara.isNull(request.pageNumber)) {
2679
2687
  query["page_number"] = request.pageNumber;
2680
2688
  }
@@ -2949,6 +2957,14 @@ export default class Client extends OpenApi {
2949
2957
  async describeClusterTasksWithOptions(clusterId: string, request: $_model.DescribeClusterTasksRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterTasksResponse> {
2950
2958
  request.validate();
2951
2959
  let query : {[key: string ]: any} = { };
2960
+ if (!$dara.isNull(request.maxResults)) {
2961
+ query["max_results"] = request.maxResults;
2962
+ }
2963
+
2964
+ if (!$dara.isNull(request.nextToken)) {
2965
+ query["next_token"] = request.nextToken;
2966
+ }
2967
+
2952
2968
  if (!$dara.isNull(request.pageNumber)) {
2953
2969
  query["page_number"] = request.pageNumber;
2954
2970
  }
@@ -3134,7 +3150,7 @@ export default class Client extends OpenApi {
3134
3150
  }
3135
3151
 
3136
3152
  /**
3137
- * Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
3153
+ * Queries all existing clusters in ACK, including Kubernetes clusters and Swarm clusters.
3138
3154
  *
3139
3155
  * @deprecated OpenAPI DescribeClusters is deprecated
3140
3156
  *
@@ -3177,7 +3193,7 @@ export default class Client extends OpenApi {
3177
3193
  }
3178
3194
 
3179
3195
  /**
3180
- * Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
3196
+ * Queries all existing clusters in ACK, including Kubernetes clusters and Swarm clusters.
3181
3197
  *
3182
3198
  * @deprecated OpenAPI DescribeClusters is deprecated
3183
3199
  *
@@ -3348,6 +3364,14 @@ export default class Client extends OpenApi {
3348
3364
  query["cluster_id"] = request.clusterId;
3349
3365
  }
3350
3366
 
3367
+ if (!$dara.isNull(request.maxResults)) {
3368
+ query["max_results"] = request.maxResults;
3369
+ }
3370
+
3371
+ if (!$dara.isNull(request.nextToken)) {
3372
+ query["next_token"] = request.nextToken;
3373
+ }
3374
+
3351
3375
  if (!$dara.isNull(request.pageNumber)) {
3352
3376
  query["page_number"] = request.pageNumber;
3353
3377
  }
@@ -3405,6 +3429,14 @@ export default class Client extends OpenApi {
3405
3429
  query["cluster_id"] = request.clusterId;
3406
3430
  }
3407
3431
 
3432
+ if (!$dara.isNull(request.maxResults)) {
3433
+ query["max_results"] = request.maxResults;
3434
+ }
3435
+
3436
+ if (!$dara.isNull(request.nextToken)) {
3437
+ query["next_token"] = request.nextToken;
3438
+ }
3439
+
3408
3440
  if (!$dara.isNull(request.pageNumber)) {
3409
3441
  query["page_number"] = request.pageNumber;
3410
3442
  }
@@ -3807,7 +3839,7 @@ export default class Client extends OpenApi {
3807
3839
  }
3808
3840
 
3809
3841
  /**
3810
- * 查询地域列表
3842
+ * Queries the list of available regions.
3811
3843
  *
3812
3844
  * @param request - DescribeRegionsRequest
3813
3845
  * @param headers - map
@@ -3848,7 +3880,7 @@ export default class Client extends OpenApi {
3848
3880
  }
3849
3881
 
3850
3882
  /**
3851
- * 查询地域列表
3883
+ * Queries the list of available regions.
3852
3884
  *
3853
3885
  * @param request - DescribeRegionsRequest
3854
3886
  * @returns DescribeRegionsResponse
@@ -4737,7 +4769,7 @@ export default class Client extends OpenApi {
4737
4769
  }
4738
4770
 
4739
4771
  /**
4740
- * 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.
4772
+ * By default, RAM users or roles who aren\\"t cluster creators and haven\\"t been granted full cluster permissions have no RBAC permissions in the cluster. You can call this interface to update RBAC access permissions for RAM users/roles, including accessible resources, permission scopes, and preset roles, for enhanced security control on resources in Container Service for Kubernetes (ACK) clusters.
4741
4773
  *
4742
4774
  * @remarks
4743
4775
  * 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).
@@ -4769,7 +4801,7 @@ export default class Client extends OpenApi {
4769
4801
  }
4770
4802
 
4771
4803
  /**
4772
- * 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.
4804
+ * By default, RAM users or roles who aren\\"t cluster creators and haven\\"t been granted full cluster permissions have no RBAC permissions in the cluster. You can call this interface to update RBAC access permissions for RAM users/roles, including accessible resources, permission scopes, and preset roles, for enhanced security control on resources in Container Service for Kubernetes (ACK) clusters.
4773
4805
  *
4774
4806
  * @remarks
4775
4807
  * 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).
@@ -4785,7 +4817,7 @@ export default class Client extends OpenApi {
4785
4817
  }
4786
4818
 
4787
4819
  /**
4788
- * 为了增强Kubernetes能力,ACK集群支持了多种组件,例如托管的核心组件,应用、日志和监控、网络、存储、安全组件等。您可以调用InstallClusterAddons接口,通过组件名称和版本安装组件。
4820
+ * 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.
4789
4821
  *
4790
4822
  * @param request - InstallClusterAddonsRequest
4791
4823
  * @param headers - map
@@ -4813,7 +4845,7 @@ export default class Client extends OpenApi {
4813
4845
  }
4814
4846
 
4815
4847
  /**
4816
- * 为了增强Kubernetes能力,ACK集群支持了多种组件,例如托管的核心组件,应用、日志和监控、网络、存储、安全组件等。您可以调用InstallClusterAddons接口,通过组件名称和版本安装组件。
4848
+ * 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.
4817
4849
  *
4818
4850
  * @param request - InstallClusterAddonsRequest
4819
4851
  * @returns InstallClusterAddonsResponse
@@ -4825,7 +4857,7 @@ export default class Client extends OpenApi {
4825
4857
  }
4826
4858
 
4827
4859
  /**
4828
- * 为ACK集群节点池安装节点组件
4860
+ * Installs components onto the nodes within a specified node pool. This API supports custom configurations and allows you to target specific nodes for the installation.
4829
4861
  *
4830
4862
  * @param request - InstallNodePoolComponentsRequest
4831
4863
  * @param headers - map
@@ -4866,7 +4898,7 @@ export default class Client extends OpenApi {
4866
4898
  }
4867
4899
 
4868
4900
  /**
4869
- * 为ACK集群节点池安装节点组件
4901
+ * Installs components onto the nodes within a specified node pool. This API supports custom configurations and allows you to target specific nodes for the installation.
4870
4902
  *
4871
4903
  * @param request - InstallNodePoolComponentsRequest
4872
4904
  * @returns InstallNodePoolComponentsResponse
@@ -4943,7 +4975,7 @@ export default class Client extends OpenApi {
4943
4975
  }
4944
4976
 
4945
4977
  /**
4946
- * 查询自愈规则
4978
+ * List auto-repair policies.
4947
4979
  *
4948
4980
  * @param headers - map
4949
4981
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4968,7 +5000,7 @@ export default class Client extends OpenApi {
4968
5000
  }
4969
5001
 
4970
5002
  /**
4971
- * 查询自愈规则
5003
+ * List auto-repair policies.
4972
5004
  * @returns ListAutoRepairPoliciesResponse
4973
5005
  */
4974
5006
  async listAutoRepairPolicies(clusterId: string): Promise<$_model.ListAutoRepairPoliciesResponse> {
@@ -4978,7 +5010,7 @@ export default class Client extends OpenApi {
4978
5010
  }
4979
5011
 
4980
5012
  /**
4981
- * 获取集群组件实例的资源列表
5013
+ * Queries the list of resources associated with installed cluster add-ons, including Kubernetes resources and Helm release information.
4982
5014
  *
4983
5015
  * @param headers - map
4984
5016
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5003,7 +5035,7 @@ export default class Client extends OpenApi {
5003
5035
  }
5004
5036
 
5005
5037
  /**
5006
- * 获取集群组件实例的资源列表
5038
+ * Queries the list of resources associated with installed cluster add-ons, including Kubernetes resources and Helm release information.
5007
5039
  * @returns ListClusterAddonInstanceResourcesResponse
5008
5040
  */
5009
5041
  async listClusterAddonInstanceResources(clusterId: string, instanceName: string): Promise<$_model.ListClusterAddonInstanceResourcesResponse> {
@@ -6916,7 +6948,7 @@ export default class Client extends OpenApi {
6916
6948
  }
6917
6949
 
6918
6950
  /**
6919
- * You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
6951
+ * You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
6920
6952
  *
6921
6953
  * @param request - TagResourcesRequest
6922
6954
  * @param headers - map
@@ -6961,7 +6993,7 @@ export default class Client extends OpenApi {
6961
6993
  }
6962
6994
 
6963
6995
  /**
6964
- * You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
6996
+ * You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
6965
6997
  *
6966
6998
  * @param request - TagResourcesRequest
6967
6999
  * @returns TagResourcesResponse
@@ -7363,7 +7395,56 @@ export default class Client extends OpenApi {
7363
7395
  }
7364
7396
 
7365
7397
  /**
7366
- * 更新节点组件
7398
+ * Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
7399
+ *
7400
+ * @param request - UpdateKMSEncryptionRequest
7401
+ * @param headers - map
7402
+ * @param runtime - runtime options for this request RuntimeOptions
7403
+ * @returns UpdateKMSEncryptionResponse
7404
+ */
7405
+ async updateKMSEncryptionWithOptions(ClusterId: string, request: $_model.UpdateKMSEncryptionRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKMSEncryptionResponse> {
7406
+ request.validate();
7407
+ let body : {[key: string ]: any} = { };
7408
+ if (!$dara.isNull(request.disableEncryption)) {
7409
+ body["disable_encryption"] = request.disableEncryption;
7410
+ }
7411
+
7412
+ if (!$dara.isNull(request.kmsKeyId)) {
7413
+ body["kms_key_id"] = request.kmsKeyId;
7414
+ }
7415
+
7416
+ let req = new $OpenApiUtil.OpenApiRequest({
7417
+ headers: headers,
7418
+ body: OpenApiUtil.parseToMap(body),
7419
+ });
7420
+ let params = new $OpenApiUtil.Params({
7421
+ action: "UpdateKMSEncryption",
7422
+ version: "2015-12-15",
7423
+ protocol: "HTTPS",
7424
+ pathname: `/clusters/${$dara.URL.percentEncode(ClusterId)}/kms`,
7425
+ method: "PUT",
7426
+ authType: "AK",
7427
+ style: "ROA",
7428
+ reqBodyType: "json",
7429
+ bodyType: "none",
7430
+ });
7431
+ return $dara.cast<$_model.UpdateKMSEncryptionResponse>(await this.callApi(params, req, runtime), new $_model.UpdateKMSEncryptionResponse({}));
7432
+ }
7433
+
7434
+ /**
7435
+ * Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
7436
+ *
7437
+ * @param request - UpdateKMSEncryptionRequest
7438
+ * @returns UpdateKMSEncryptionResponse
7439
+ */
7440
+ async updateKMSEncryption(ClusterId: string, request: $_model.UpdateKMSEncryptionRequest): Promise<$_model.UpdateKMSEncryptionResponse> {
7441
+ let runtime = new $dara.RuntimeOptions({ });
7442
+ let headers : {[key: string ]: string} = { };
7443
+ return await this.updateKMSEncryptionWithOptions(ClusterId, request, headers, runtime);
7444
+ }
7445
+
7446
+ /**
7447
+ * Updates a specific component within a node pool, such as the kubelet.
7367
7448
  *
7368
7449
  * @param request - UpdateNodePoolComponentRequest
7369
7450
  * @param headers - map
@@ -7416,7 +7497,7 @@ export default class Client extends OpenApi {
7416
7497
  }
7417
7498
 
7418
7499
  /**
7419
- * 更新节点组件
7500
+ * Updates a specific component within a node pool, such as the kubelet.
7420
7501
  *
7421
7502
  * @param request - UpdateNodePoolComponentRequest
7422
7503
  * @returns UpdateNodePoolComponentResponse
@@ -7546,7 +7627,7 @@ export default class Client extends OpenApi {
7546
7627
  }
7547
7628
 
7548
7629
  /**
7549
- * 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.
7630
+ * In a Container Service for Kubernetes (ACK) cluster, non-cluster creators, Resource Access Management (RAM) users, and RAM roles do not have any Role-Based Access Control (RBAC) permissions in the cluster by default. 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.
7550
7631
  *
7551
7632
  * @remarks
7552
7633
  * *Precautions**:
@@ -7584,7 +7665,7 @@ export default class Client extends OpenApi {
7584
7665
  }
7585
7666
 
7586
7667
  /**
7587
- * 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.
7668
+ * In a Container Service for Kubernetes (ACK) cluster, non-cluster creators, Resource Access Management (RAM) users, and RAM roles do not have any Role-Based Access Control (RBAC) permissions in the cluster by default. 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.
7588
7669
  *
7589
7670
  * @remarks
7590
7671
  * *Precautions**:
@@ -4,21 +4,36 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class Addon extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The configuration of the component.
9
+ *
7
10
  * @example
8
- * {\"IngressSlbNetworkType\":\"internet\"}
11
+ * {\\"IngressSlbNetworkType\\":\\"internet\\"}
9
12
  */
10
13
  config?: string;
11
14
  /**
15
+ * @remarks
16
+ * Specifies whether to disable automatic installation. When you create a cluster, some additional log components are automatically installed in addition to the required components. You can disable the automatic installations of a component and install the component later by calling the component API or in the corresponding console. Valid values:
17
+ *
18
+ * * `true`: disables the automatic installation of a component.
19
+ * * `false`: allows the automatic installation of a component.
20
+ *
12
21
  * @example
13
22
  * false
14
23
  */
15
24
  disabled?: boolean;
16
25
  /**
26
+ * @remarks
27
+ * The component name.
28
+ *
17
29
  * @example
18
30
  * nginx-ingress-controller
19
31
  */
20
32
  name?: string;
21
33
  /**
34
+ * @remarks
35
+ * The version of the component.
36
+ *
22
37
  * @example
23
38
  * v1.9.3-aliyun.1
24
39
  */
@@ -4,11 +4,19 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ContainerdConfig extends $dara.Model {
6
6
  ignoreImageDefinedVolume?: boolean;
7
+ /**
8
+ * @remarks
9
+ * Insecure image repositories that skipped the TLS certificate verification.
10
+ */
7
11
  insecureRegistries?: string[];
8
12
  limitCore?: number;
9
13
  limitMemLock?: number;
10
14
  limitNoFile?: number;
11
15
  maxConcurrentDownloads?: number;
16
+ /**
17
+ * @remarks
18
+ * The image accelerator configuration.
19
+ */
12
20
  registryMirrors?: string[];
13
21
  static names(): { [key: string]: string } {
14
22
  return {
@@ -2,84 +2,7 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- export class CreateAutoRepairPolicyRequestRulesIncidentsConditions extends $dara.Model {
6
- /**
7
- * @example
8
- * xxx
9
- */
10
- reason?: string;
11
- /**
12
- * @example
13
- * False
14
- */
15
- status?: string;
16
- /**
17
- * @example
18
- * KubeletReady
19
- */
20
- type?: string;
21
- static names(): { [key: string]: string } {
22
- return {
23
- reason: 'reason',
24
- status: 'status',
25
- type: 'type',
26
- };
27
- }
28
-
29
- static types(): { [key: string]: any } {
30
- return {
31
- reason: 'string',
32
- status: 'string',
33
- type: 'string',
34
- };
35
- }
36
-
37
- validate() {
38
- super.validate();
39
- }
40
-
41
- constructor(map?: { [key: string]: any }) {
42
- super(map);
43
- }
44
- }
45
-
46
- export class CreateAutoRepairPolicyRequestRulesIncidentsEvents extends $dara.Model {
47
- /**
48
- * @example
49
- * xxx
50
- */
51
- reason?: string;
52
- /**
53
- * @example
54
- * xxx
55
- */
56
- type?: string;
57
- static names(): { [key: string]: string } {
58
- return {
59
- reason: 'reason',
60
- type: 'type',
61
- };
62
- }
63
-
64
- static types(): { [key: string]: any } {
65
- return {
66
- reason: 'string',
67
- type: 'string',
68
- };
69
- }
70
-
71
- validate() {
72
- super.validate();
73
- }
74
-
75
- constructor(map?: { [key: string]: any }) {
76
- super(map);
77
- }
78
- }
79
-
80
5
  export class CreateAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
81
- conditions?: CreateAutoRepairPolicyRequestRulesIncidentsConditions[];
82
- events?: CreateAutoRepairPolicyRequestRulesIncidentsEvents[];
83
6
  /**
84
7
  * @example
85
8
  * Node.FaultNeedReboot.HOST
@@ -92,8 +15,6 @@ export class CreateAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
92
15
  type?: string;
93
16
  static names(): { [key: string]: string } {
94
17
  return {
95
- conditions: 'conditions',
96
- events: 'events',
97
18
  name: 'name',
98
19
  type: 'type',
99
20
  };
@@ -101,20 +22,12 @@ export class CreateAutoRepairPolicyRequestRulesIncidents extends $dara.Model {
101
22
 
102
23
  static types(): { [key: string]: any } {
103
24
  return {
104
- conditions: { 'type': 'array', 'itemType': CreateAutoRepairPolicyRequestRulesIncidentsConditions },
105
- events: { 'type': 'array', 'itemType': CreateAutoRepairPolicyRequestRulesIncidentsEvents },
106
25
  name: 'string',
107
26
  type: 'string',
108
27
  };
109
28
  }
110
29
 
111
30
  validate() {
112
- if(Array.isArray(this.conditions)) {
113
- $dara.Model.validateArray(this.conditions);
114
- }
115
- if(Array.isArray(this.events)) {
116
- $dara.Model.validateArray(this.events);
117
- }
118
31
  super.validate();
119
32
  }
120
33
 
@@ -8,7 +8,7 @@ export class CreateTemplateResponseBody extends $dara.Model {
8
8
  * The ID of the orchestration template.
9
9
  *
10
10
  * @example
11
- * ba1fe77b-b01e-4640-b77e-8f1b80e3e3cf
11
+ * ba1fe77b-b01e-4640-b77e-8f1b80******
12
12
  */
13
13
  templateId?: string;
14
14
  static names(): { [key: string]: string } {