@alicloud/cs20151215 7.2.4 → 7.2.6

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 (88) hide show
  1. package/dist/client.d.ts +88 -88
  2. package/dist/client.js +107 -88
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachInstancesToNodePoolRequest.d.ts +3 -13
  5. package/dist/models/AttachInstancesToNodePoolRequest.js.map +1 -1
  6. package/dist/models/CleanClusterUserPermissionsRequest.d.ts +1 -1
  7. package/dist/models/CleanUserPermissionsRequest.d.ts +2 -2
  8. package/dist/models/CleanUserPermissionsShrinkRequest.d.ts +2 -2
  9. package/dist/models/CreateClusterNodePoolRequest.d.ts +214 -163
  10. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  11. package/dist/models/CreateClusterRequest.d.ts +310 -392
  12. package/dist/models/CreateClusterRequest.js +2 -0
  13. package/dist/models/CreateClusterRequest.js.map +1 -1
  14. package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
  15. package/dist/models/DeleteClusterNodepoolRequest.js.map +1 -1
  16. package/dist/models/DeleteClusterNodesRequest.d.ts +15 -7
  17. package/dist/models/DeleteClusterNodesRequest.js +2 -0
  18. package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
  19. package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
  20. package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
  21. package/dist/models/DescribeClusterDetailResponseBody.d.ts +85 -77
  22. package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
  23. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  24. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
  25. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  26. package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
  27. package/dist/models/DescribeClustersForRegionResponseBody.d.ts +23 -12
  28. package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
  29. package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
  30. package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +27 -15
  31. package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
  32. package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
  33. package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +70 -54
  34. package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
  35. package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
  36. package/dist/models/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
  37. package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
  38. package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
  39. package/dist/models/ListUserKubeConfigStatesRequest.d.ts +3 -3
  40. package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
  41. package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
  42. package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
  43. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  44. package/dist/models/ModifyClusterRequest.d.ts +111 -99
  45. package/dist/models/ModifyClusterRequest.js +2 -0
  46. package/dist/models/ModifyClusterRequest.js.map +1 -1
  47. package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
  48. package/dist/models/RemoveNodePoolNodesRequest.d.ts +19 -11
  49. package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
  50. package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
  51. package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
  52. package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +19 -11
  53. package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
  54. package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
  55. package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
  56. package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
  57. package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
  58. package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
  59. package/package.json +2 -1
  60. package/src/client.ts +112 -88
  61. package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
  62. package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
  63. package/src/models/CleanUserPermissionsRequest.ts +2 -2
  64. package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
  65. package/src/models/CreateClusterNodePoolRequest.ts +214 -163
  66. package/src/models/CreateClusterRequest.ts +312 -392
  67. package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
  68. package/src/models/DeleteClusterNodesRequest.ts +17 -7
  69. package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
  70. package/src/models/DescribeClusterDetailResponseBody.ts +87 -77
  71. package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
  72. package/src/models/DescribeClustersForRegionRequest.ts +14 -14
  73. package/src/models/DescribeClustersForRegionResponseBody.ts +25 -12
  74. package/src/models/DescribeKubernetesVersionMetadataRequest.ts +29 -15
  75. package/src/models/DescribeKubernetesVersionMetadataResponse.ts +90 -70
  76. package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
  77. package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
  78. package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
  79. package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
  80. package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
  81. package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
  82. package/src/models/ModifyClusterRequest.ts +113 -99
  83. package/src/models/ModifyClusterResponseBody.ts +2 -2
  84. package/src/models/RemoveNodePoolNodesRequest.ts +21 -11
  85. package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
  86. package/src/models/RemoveNodePoolNodesShrinkRequest.ts +21 -11
  87. package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
  88. package/src/models/UpdateUserPermissionsRequest.ts +22 -22
package/src/client.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
+ import GatewayClient from '@alicloud/gateway-pop';
3
4
  import OpenApi from '@alicloud/openapi-core';
4
5
  import { OpenApiUtil, $OpenApiUtil }from '@alicloud/openapi-core';
5
6
 
@@ -11,6 +12,9 @@ export default class Client extends OpenApi {
11
12
 
12
13
  constructor(config: $OpenApiUtil.Config) {
13
14
  super(config);
15
+ this._productId = "CS";
16
+ let gatewayClient = new GatewayClient();
17
+ this._spi = gatewayClient;
14
18
  this._endpointRule = "regional";
15
19
  this._endpointMap = {
16
20
  'ap-northeast-2-pop': "cs.aliyuncs.com",
@@ -161,7 +165,7 @@ export default class Client extends OpenApi {
161
165
  }
162
166
 
163
167
  /**
164
- * Adds existing ECS instances to a node pool as worker nodes in an ACK cluster, or re-adds removed worker nodes to a node pool.
168
+ * Adds existing ECS instances to an ACK cluster as worker nodes, or re-adds removed node instances to a node pool. You can invoke AttachInstancesToNodePool to add existing nodes to a node pool.
165
169
  *
166
170
  * @param request - AttachInstancesToNodePoolRequest
167
171
  * @param headers - map
@@ -206,7 +210,7 @@ export default class Client extends OpenApi {
206
210
  }
207
211
 
208
212
  /**
209
- * Adds existing ECS instances to a node pool as worker nodes in an ACK cluster, or re-adds removed worker nodes to a node pool.
213
+ * Adds existing ECS instances to an ACK cluster as worker nodes, or re-adds removed node instances to a node pool. You can invoke AttachInstancesToNodePool to add existing nodes to a node pool.
210
214
  *
211
215
  * @param request - AttachInstancesToNodePoolRequest
212
216
  * @returns AttachInstancesToNodePoolResponse
@@ -448,12 +452,12 @@ export default class Client extends OpenApi {
448
452
  }
449
453
 
450
454
  /**
451
- * Clears the issued KubeConfig credentials and Role-Based Access Control (RBAC) permissions of a specified user in a specified cluster. You can call this operation to clean up and revoke authorization for KubeConfig files that pose security risks.
455
+ * Clears the issued KubeConfig credentials and revokes the RBAC authorization of a specified user in a specified cluster. You can invoke CleanClusterUserPermissions to clean up and revoke authorization for KubeConfigs that pose a security risk.
452
456
  *
453
457
  * @remarks
454
- * > 1. You must have the permissions to manage Container Service for Kubernetes (CS). The required policy is AliyunCSFullAccess.
455
- * > 2. You cannot clear the permissions of an Alibaba Cloud account.
456
- * > 3. You cannot clear the permissions of the user who performs this operation.
458
+ * > 1. You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
459
+ * > 2. This operation does not support clearing the permissions of an Alibaba Cloud account.
460
+ * > 3. This operation does not support clearing the permissions of the current user.
457
461
  *
458
462
  * @param request - CleanClusterUserPermissionsRequest
459
463
  * @param headers - map
@@ -486,12 +490,12 @@ export default class Client extends OpenApi {
486
490
  }
487
491
 
488
492
  /**
489
- * Clears the issued KubeConfig credentials and Role-Based Access Control (RBAC) permissions of a specified user in a specified cluster. You can call this operation to clean up and revoke authorization for KubeConfig files that pose security risks.
493
+ * Clears the issued KubeConfig credentials and revokes the RBAC authorization of a specified user in a specified cluster. You can invoke CleanClusterUserPermissions to clean up and revoke authorization for KubeConfigs that pose a security risk.
490
494
  *
491
495
  * @remarks
492
- * > 1. You must have the permissions to manage Container Service for Kubernetes (CS). The required policy is AliyunCSFullAccess.
493
- * > 2. You cannot clear the permissions of an Alibaba Cloud account.
494
- * > 3. You cannot clear the permissions of the user who performs this operation.
496
+ * > 1. You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
497
+ * > 2. This operation does not support clearing the permissions of an Alibaba Cloud account.
498
+ * > 3. This operation does not support clearing the permissions of the current user.
495
499
  *
496
500
  * @param request - CleanClusterUserPermissionsRequest
497
501
  * @returns CleanClusterUserPermissionsResponse
@@ -503,12 +507,12 @@ export default class Client extends OpenApi {
503
507
  }
504
508
 
505
509
  /**
506
- * Cleans up and revokes the KubeConfig credentials and RBAC permissions issued to a specified user, such as resigned employees or users with frozen accounts.
510
+ * Clears the issued KubeConfig credentials and RBAC permissions of a specified user to revoke authorizations for risky users, such as resigned employees or users with frozen accounts.
507
511
  *
508
512
  * @remarks
509
- * >- Requires the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
510
- * >- Clearing the permissions of Alibaba Cloud accounts is not supported.
511
- * >- Clearing the permissions of the calling user is not supported.
513
+ * >- You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
514
+ * >- You cannot clear the permissions of an Alibaba Cloud account.
515
+ * >- You cannot clear your own permissions.
512
516
  *
513
517
  * @param tmpReq - CleanUserPermissionsRequest
514
518
  * @param headers - map
@@ -551,12 +555,12 @@ export default class Client extends OpenApi {
551
555
  }
552
556
 
553
557
  /**
554
- * Cleans up and revokes the KubeConfig credentials and RBAC permissions issued to a specified user, such as resigned employees or users with frozen accounts.
558
+ * Clears the issued KubeConfig credentials and RBAC permissions of a specified user to revoke authorizations for risky users, such as resigned employees or users with frozen accounts.
555
559
  *
556
560
  * @remarks
557
- * >- Requires the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
558
- * >- Clearing the permissions of Alibaba Cloud accounts is not supported.
559
- * >- Clearing the permissions of the calling user is not supported.
561
+ * >- You must have the permissions to manage Container Service for Kubernetes (CS) (AliyunCSFullAccess).
562
+ * >- You cannot clear the permissions of an Alibaba Cloud account.
563
+ * >- You cannot clear your own permissions.
560
564
  *
561
565
  * @param request - CleanUserPermissionsRequest
562
566
  * @returns CleanUserPermissionsResponse
@@ -736,16 +740,16 @@ export default class Client extends OpenApi {
736
740
  }
737
741
 
738
742
  /**
739
- * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
743
+ * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
740
744
  *
741
745
  * @remarks
742
746
  * ### Generate OpenAPI request parameters by using the console
743
- * When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect combinations of request parameters, you can use the console to generate the required request parameter combinations. Perform the following steps:
744
- * 1. Log on to the [Container Service for Kubernetes (ACK) console](https://csnew.console.aliyun.com) and choose **Clusters** in the left-side navigation pane.
745
- * 1. On the **Clusters** page, click **Cluster Template**.
746
- * 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
747
- * 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required for creating the cluster. You can copy and use them.
748
- * >Notice: Starting from July 04, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameter descriptions, see [Notice on changes to OpenAPI request and response parameters for ACK cluster management and OpenAPI offline](https://help.aliyun.com/document_detail/2932733.html).</notice>
747
+ * When you call the CreateCluster API operation to create a cluster, if the API call fails due to an incorrect combination of request parameters, you can generate the required combination of request parameters for cluster creation by using the console. Proceed as follows:
748
+ * 1. Log on to the [Container Service console](https://csnew.console.aliyun.com). In the left-side navigation pane, click **Clusters**.
749
+ * 1. On the **Clusters** page, click **Cluster Templates**.
750
+ * 1. In the dialog box, select the type of cluster that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
751
+ * 1. After the configuration is complete, on the **Confirm** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the combination of parameters required for cluster creation. You can copy and use the parameters.
752
+ * >Notice: Starting July 4, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameters, see [Announcement on changes to input and output parameters of ACK cluster management-related OpenAPIs and OpenAPI deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
749
753
  *
750
754
  * @param request - CreateClusterRequest
751
755
  * @param headers - map
@@ -1083,6 +1087,10 @@ export default class Client extends OpenApi {
1083
1087
  body["ssh_flags"] = request.sshFlags;
1084
1088
  }
1085
1089
 
1090
+ if (!$dara.isNull(request.supportPolicy)) {
1091
+ body["support_policy"] = request.supportPolicy;
1092
+ }
1093
+
1086
1094
  if (!$dara.isNull(request.tags)) {
1087
1095
  body["tags"] = request.tags;
1088
1096
  }
@@ -1190,16 +1198,16 @@ export default class Client extends OpenApi {
1190
1198
  }
1191
1199
 
1192
1200
  /**
1193
- * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
1201
+ * Creates an ACK cluster, including ACK managed clusters, ACK Serverless clusters, ACK Edge clusters, and registered clusters. When creating a cluster, you configure cluster information, cluster components, and ACK-related cloud resources.
1194
1202
  *
1195
1203
  * @remarks
1196
1204
  * ### Generate OpenAPI request parameters by using the console
1197
- * When you call the CreateCluster operation to create a cluster, if the API call fails due to incorrect combinations of request parameters, you can use the console to generate the required request parameter combinations. Perform the following steps:
1198
- * 1. Log on to the [Container Service for Kubernetes (ACK) console](https://csnew.console.aliyun.com) and choose **Clusters** in the left-side navigation pane.
1199
- * 1. On the **Clusters** page, click **Cluster Template**.
1200
- * 1. In the dialog box, select the cluster type that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
1201
- * 1. After the configuration is complete, on the **Confirm Configuration** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the parameter combinations required for creating the cluster. You can copy and use them.
1202
- * >Notice: Starting from July 04, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameter descriptions, see [Notice on changes to OpenAPI request and response parameters for ACK cluster management and OpenAPI offline](https://help.aliyun.com/document_detail/2932733.html).</notice>
1205
+ * When you call the CreateCluster API operation to create a cluster, if the API call fails due to an incorrect combination of request parameters, you can generate the required combination of request parameters for cluster creation by using the console. Proceed as follows:
1206
+ * 1. Log on to the [Container Service console](https://csnew.console.aliyun.com). In the left-side navigation pane, click **Clusters**.
1207
+ * 1. On the **Clusters** page, click **Cluster Templates**.
1208
+ * 1. In the dialog box, select the type of cluster that you want to create, click Create, and then configure the cluster information on the cluster configuration page.
1209
+ * 1. After the configuration is complete, on the **Confirm** page, click **Equivalent Code** in the upper-right corner. The dialog box displays the combination of parameters required for cluster creation. You can copy and use the parameters.
1210
+ * >Notice: Starting July 4, 2026, some request parameters will no longer take effect. For details about the changes and replacement parameters, see [Announcement on changes to input and output parameters of ACK cluster management-related OpenAPIs and OpenAPI deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
1203
1211
  *
1204
1212
  * @param request - CreateClusterRequest
1205
1213
  * @returns CreateClusterResponse
@@ -1313,7 +1321,7 @@ export default class Client extends OpenApi {
1313
1321
  }
1314
1322
 
1315
1323
  /**
1316
- * Creates a node pool. A node pool is a logical collection of nodes with the same property, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can invoke CreateClusterNodePool to create a node pool for a cluster.
1324
+ * A node pool is a logical collection of nodes with the same properties, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
1317
1325
  *
1318
1326
  * @param request - CreateClusterNodePoolRequest
1319
1327
  * @param headers - map
@@ -1406,7 +1414,7 @@ export default class Client extends OpenApi {
1406
1414
  }
1407
1415
 
1408
1416
  /**
1409
- * Creates a node pool. A node pool is a logical collection of nodes with the same property, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can invoke CreateClusterNodePool to create a node pool for a cluster.
1417
+ * A node pool is a logical collection of nodes with the same properties, which allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M features of node pools, such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
1410
1418
  *
1411
1419
  * @param request - CreateClusterNodePoolRequest
1412
1420
  * @returns CreateClusterNodePoolResponse
@@ -1918,7 +1926,7 @@ export default class Client extends OpenApi {
1918
1926
  }
1919
1927
 
1920
1928
  /**
1921
- * Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on its nodes are deleted, which may trigger rescheduling. If rescheduling fails, your services may be affected. Ensure that the cluster has sufficient resources for rescheduling.
1929
+ * Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on its nodes are deleted, which may trigger descheduling. If the pods cannot be rescheduled, your services may be affected. Ensure that the cluster has sufficient resources for descheduling.
1922
1930
  *
1923
1931
  * @param request - DeleteClusterNodepoolRequest
1924
1932
  * @param headers - map
@@ -1951,7 +1959,7 @@ export default class Client extends OpenApi {
1951
1959
  }
1952
1960
 
1953
1961
  /**
1954
- * Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on its nodes are deleted, which may trigger rescheduling. If rescheduling fails, your services may be affected. Ensure that the cluster has sufficient resources for rescheduling.
1962
+ * Deletes a node pool that is no longer in use. When a node pool is deleted, all pods on its nodes are deleted, which may trigger descheduling. If the pods cannot be rescheduled, your services may be affected. Ensure that the cluster has sufficient resources for descheduling.
1955
1963
  *
1956
1964
  * @param request - DeleteClusterNodepoolRequest
1957
1965
  * @returns DeleteClusterNodepoolResponse
@@ -1963,14 +1971,14 @@ export default class Client extends OpenApi {
1963
1971
  }
1964
1972
 
1965
1973
  /**
1966
- * Removes nodes from a cluster. When you remove nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
1974
+ * Removes nodes from a cluster. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
1967
1975
  *
1968
1976
  * @remarks
1969
- * - When removing nodes, perform standard operations by calling this API operation or using the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
1970
- * - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
1971
- * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
1972
- * - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
1973
- * - When you remove nodes, ACK executes drain operations. Make sure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
1977
+ * - When removing nodes, perform standard operations by using this API operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
1978
+ * - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console (or by calling related API operations), or passively release nodes when a subscription instance expires. In these cases, the nodes are directly stopped and automatically removed from the Container Service console.
1979
+ * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the configuration to maintain the expected number of nodes.
1980
+ * - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
1981
+ * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
1974
1982
  * - Check the node affinity rules and scheduling policies of the pods on the nodes to be removed to ensure that the pods can be scheduled to other nodes after the nodes are removed.
1975
1983
  *
1976
1984
  * @param request - DeleteClusterNodesRequest
@@ -1985,6 +1993,10 @@ export default class Client extends OpenApi {
1985
1993
  body["drain_node"] = request.drainNode;
1986
1994
  }
1987
1995
 
1996
+ if (!$dara.isNull(request.drainTimeoutSeconds)) {
1997
+ body["drain_timeout_seconds"] = request.drainTimeoutSeconds;
1998
+ }
1999
+
1988
2000
  if (!$dara.isNull(request.nodes)) {
1989
2001
  body["nodes"] = request.nodes;
1990
2002
  }
@@ -2012,14 +2024,14 @@ export default class Client extends OpenApi {
2012
2024
  }
2013
2025
 
2014
2026
  /**
2015
- * Removes nodes from a cluster. When you remove nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
2027
+ * Removes nodes from a cluster. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes.
2016
2028
  *
2017
2029
  * @remarks
2018
- * - When removing nodes, perform standard operations by calling this API operation or using the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
2019
- * - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
2020
- * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
2021
- * - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
2022
- * - When you remove nodes, ACK executes drain operations. Make sure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
2030
+ * - When removing nodes, perform standard operations by using this API operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
2031
+ * - Do not manually release nodes or remove instances in the ECS or Auto Scaling (ESS) console (or by calling related API operations), or passively release nodes when a subscription instance expires. In these cases, the nodes are directly stopped and automatically removed from the Container Service console.
2032
+ * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the configuration to maintain the expected number of nodes.
2033
+ * - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
2034
+ * - When removing nodes, ACK executes a drain operation. Ensure that other nodes in the cluster have sufficient resources to avoid application pod scheduling failures.
2023
2035
  * - Check the node affinity rules and scheduling policies of the pods on the nodes to be removed to ensure that the pods can be scheduled to other nodes after the nodes are removed.
2024
2036
  *
2025
2037
  * @param request - DeleteClusterNodesRequest
@@ -2709,7 +2721,7 @@ export default class Client extends OpenApi {
2709
2721
  }
2710
2722
 
2711
2723
  /**
2712
- * Retrieves the script used to add existing ECS instances to an ACK cluster as worker nodes, or to re-add removed worker nodes to a node pool. ACK supports manually adding existing nodes to a node pool. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
2724
+ * Queries the script for adding existing nodes to a cluster node pool. Container Service for Kubernetes (ACK) supports manually adding existing nodes to a node pool if you need to add existing ECS instances to an ACK cluster as worker nodes or re-add node instances to a node pool after removing worker nodes. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
2713
2725
  *
2714
2726
  * @param request - DescribeClusterAttachScriptsRequest
2715
2727
  * @param headers - map
@@ -2770,7 +2782,7 @@ export default class Client extends OpenApi {
2770
2782
  }
2771
2783
 
2772
2784
  /**
2773
- * Retrieves the script used to add existing ECS instances to an ACK cluster as worker nodes, or to re-add removed worker nodes to a node pool. ACK supports manually adding existing nodes to a node pool. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
2785
+ * Queries the script for adding existing nodes to a cluster node pool. Container Service for Kubernetes (ACK) supports manually adding existing nodes to a node pool if you need to add existing ECS instances to an ACK cluster as worker nodes or re-add node instances to a node pool after removing worker nodes. You can invoke the DescribeClusterAttachScripts operation to obtain the script for adding existing nodes.
2774
2786
  *
2775
2787
  * @param request - DescribeClusterAttachScriptsRequest
2776
2788
  * @returns DescribeClusterAttachScriptsResponse
@@ -2952,10 +2964,10 @@ export default class Client extends OpenApi {
2952
2964
  *
2953
2965
  * @remarks
2954
2966
  * - When you remove a node, perform standard operations by using this API operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
2955
- * - Do not release nodes or remove instances in the ECS or Auto Scaling console, or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
2956
- * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
2957
- * - Removing a node involves pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
2958
- * - When a node is removed, ACK drains the node. Make sure that other nodes in the cluster have sufficient resources to prevent application pods from failing to be scheduled.
2967
+ * - Do not proactively release nodes or remove instances in the ECS or Auto Scaling (ESS) console or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
2968
+ * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the configurations to maintain the expected number of nodes.
2969
+ * - Removing a node involves pod migration and may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
2970
+ * - When a node is removed, ACK performs a drain operation. Make sure that other nodes in the cluster have sufficient resources to prevent application pods from failing to be scheduled.
2959
2971
  * - Check the node affinity rules and scheduling policies of the pods on the node to be removed. Make sure that the pods can be scheduled to other nodes after the node is removed.
2960
2972
  *
2961
2973
  * @param request - DescribeClusterNodePoolsRequest
@@ -2993,10 +3005,10 @@ export default class Client extends OpenApi {
2993
3005
  *
2994
3006
  * @remarks
2995
3007
  * - When you remove a node, perform standard operations by using this API operation or the [Container Service console](https://cs.console.aliyun.com). Do not manually remove nodes by running the `kubectl delete node` command.
2996
- * - Do not release nodes or remove instances in the ECS or Auto Scaling console, or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
2997
- * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the corresponding configurations to maintain the expected number of nodes.
2998
- * - Removing a node involves pod migration, which may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
2999
- * - When a node is removed, ACK drains the node. Make sure that other nodes in the cluster have sufficient resources to prevent application pods from failing to be scheduled.
3008
+ * - Do not proactively release nodes or remove instances in the ECS or Auto Scaling (ESS) console or by calling related API operations, or passively release nodes when a subscription instance expires. In these cases, the nodes are directly shut down and automatically removed from the Container Service console.
3009
+ * - If the expected number of nodes is configured for a node pool, the node pool automatically scales out other instances based on the configurations to maintain the expected number of nodes.
3010
+ * - Removing a node involves pod migration and may affect your services. Perform this operation during off-peak hours. Unexpected risks may occur during the operation. Back up your data in advance.
3011
+ * - When a node is removed, ACK performs a drain operation. Make sure that other nodes in the cluster have sufficient resources to prevent application pods from failing to be scheduled.
3000
3012
  * - Check the node affinity rules and scheduling policies of the pods on the node to be removed. Make sure that the pods can be scheduled to other nodes after the node is removed.
3001
3013
  *
3002
3014
  * @param request - DescribeClusterNodePoolsRequest
@@ -3388,7 +3400,7 @@ export default class Client extends OpenApi {
3388
3400
  }
3389
3401
 
3390
3402
  /**
3391
- * Queries the list of all clusters in a specified region.
3403
+ * Queries all clusters in a specified region.
3392
3404
  *
3393
3405
  * @param request - DescribeClustersForRegionRequest
3394
3406
  * @param headers - map
@@ -3445,7 +3457,7 @@ export default class Client extends OpenApi {
3445
3457
  }
3446
3458
 
3447
3459
  /**
3448
- * Queries the list of all clusters in a specified region.
3460
+ * Queries all clusters in a specified region.
3449
3461
  *
3450
3462
  * @param request - DescribeClustersForRegionRequest
3451
3463
  * @returns DescribeClustersForRegionResponse
@@ -3716,7 +3728,7 @@ export default class Client extends OpenApi {
3716
3728
  }
3717
3729
 
3718
3730
  /**
3719
- * Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and supported runtimes.
3731
+ * Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and runtimes.
3720
3732
  *
3721
3733
  * @param request - DescribeKubernetesVersionMetadataRequest
3722
3734
  * @param headers - map
@@ -3750,6 +3762,10 @@ export default class Client extends OpenApi {
3750
3762
  query["Region"] = request.region;
3751
3763
  }
3752
3764
 
3765
+ if (!$dara.isNull(request.supportPolicy)) {
3766
+ query["SupportPolicy"] = request.supportPolicy;
3767
+ }
3768
+
3753
3769
  if (!$dara.isNull(request.runtime)) {
3754
3770
  query["runtime"] = request.runtime;
3755
3771
  }
@@ -3773,7 +3789,7 @@ export default class Client extends OpenApi {
3773
3789
  }
3774
3790
 
3775
3791
  /**
3776
- * Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and supported runtimes.
3792
+ * Queries the details of Kubernetes versions, including version information, release dates, expiration dates, compatible operating systems, and runtimes.
3777
3793
  *
3778
3794
  * @param request - DescribeKubernetesVersionMetadataRequest
3779
3795
  * @returns DescribeKubernetesVersionMetadataResponse
@@ -5787,10 +5803,10 @@ export default class Client extends OpenApi {
5787
5803
  }
5788
5804
 
5789
5805
  /**
5790
- * Queries the KubeConfig status list of all clusters for the current user.
5806
+ * Queries the KubeConfig status list for all clusters of the current user.
5791
5807
  *
5792
5808
  * @remarks
5793
- * > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
5809
+ * > To call this operation, you must have the AliyunCSFullAccess permission to manage Container Service for Kubernetes (CS).
5794
5810
  *
5795
5811
  * @param request - ListUserKubeConfigStatesRequest
5796
5812
  * @param headers - map
@@ -5827,10 +5843,10 @@ export default class Client extends OpenApi {
5827
5843
  }
5828
5844
 
5829
5845
  /**
5830
- * Queries the KubeConfig status list of all clusters for the current user.
5846
+ * Queries the KubeConfig status list for all clusters of the current user.
5831
5847
  *
5832
5848
  * @remarks
5833
- * > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
5849
+ * > To call this operation, you must have the AliyunCSFullAccess permission to manage Container Service for Kubernetes (CS).
5834
5850
  *
5835
5851
  * @param request - ListUserKubeConfigStatesRequest
5836
5852
  * @returns ListUserKubeConfigStatesResponse
@@ -5952,10 +5968,10 @@ export default class Client extends OpenApi {
5952
5968
  }
5953
5969
 
5954
5970
  /**
5955
- * Modifies the configuration of an ACK cluster.
5971
+ * Modifies the configurations of an ACK cluster.
5956
5972
  *
5957
5973
  * @remarks
5958
- * <notice>Starting from July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
5974
+ * <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to request and response parameters of ACK cluster management API operations and API operation deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
5959
5975
  *
5960
5976
  * @param request - ModifyClusterRequest
5961
5977
  * @param headers - map
@@ -6037,6 +6053,10 @@ export default class Client extends OpenApi {
6037
6053
  body["security_group_id"] = request.securityGroupId;
6038
6054
  }
6039
6055
 
6056
+ if (!$dara.isNull(request.supportPolicy)) {
6057
+ body["support_policy"] = request.supportPolicy;
6058
+ }
6059
+
6040
6060
  if (!$dara.isNull(request.systemEventsLogging)) {
6041
6061
  body["system_events_logging"] = request.systemEventsLogging;
6042
6062
  }
@@ -6068,10 +6088,10 @@ export default class Client extends OpenApi {
6068
6088
  }
6069
6089
 
6070
6090
  /**
6071
- * Modifies the configuration of an ACK cluster.
6091
+ * Modifies the configurations of an ACK cluster.
6072
6092
  *
6073
6093
  * @remarks
6074
- * <notice>Starting from July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to OpenAPI request and response parameters and OpenAPI deprecation for ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
6094
+ * <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to request and response parameters of ACK cluster management API operations and API operation deprecation](https://help.aliyun.com/document_detail/2932733.html).</notice>
6075
6095
  *
6076
6096
  * @param request - ModifyClusterRequest
6077
6097
  * @returns ModifyClusterResponse
@@ -6140,10 +6160,10 @@ export default class Client extends OpenApi {
6140
6160
  }
6141
6161
 
6142
6162
  /**
6143
- * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
6163
+ * Updates the configurations of a specified node pool.
6144
6164
  *
6145
6165
  * @remarks
6146
- * <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of ACK cluster management OpenAPI operations and deprecation of OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
6166
+ * <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to request and response parameters and deprecation of OpenAPI operations related to ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
6147
6167
  *
6148
6168
  * @param request - ModifyClusterNodePoolRequest
6149
6169
  * @param headers - map
@@ -6208,10 +6228,10 @@ export default class Client extends OpenApi {
6208
6228
  }
6209
6229
 
6210
6230
  /**
6211
- * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
6231
+ * Updates the configurations of a specified node pool.
6212
6232
  *
6213
6233
  * @remarks
6214
- * <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to input and output parameters of ACK cluster management OpenAPI operations and deprecation of OpenAPI operations](https://help.aliyun.com/document_detail/2932733.html).</notice>
6234
+ * <notice>Starting July 4, 2026, the request parameters instance_deletion_protection, ingress_loadbalancer_id, and access_control_list will no longer take effect. For more information about the changes, see [Announcement on changes to request and response parameters and deprecation of OpenAPI operations related to ACK cluster management](https://help.aliyun.com/document_detail/2932733.html).</notice>
6215
6235
  *
6216
6236
  * @param request - ModifyClusterNodePoolRequest
6217
6237
  * @returns ModifyClusterNodePoolResponse
@@ -6619,14 +6639,14 @@ export default class Client extends OpenApi {
6619
6639
  }
6620
6640
 
6621
6641
  /**
6622
- * Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes. Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours and back up your data in advance.
6642
+ * Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated Elastic Compute Service (ECS) instances and whether to automatically drain the nodes. Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours and back up your data in advance.
6623
6643
  *
6624
6644
  * @remarks
6625
- * - Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours.
6645
+ * - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
6626
6646
  * - Unexpected risks may occur during the operation. Back up your data in advance.
6627
- * - During the operation, the system sets the nodes to the unschedulable state.
6647
+ * - During the operation, the system sets the current nodes to the unschedulable state.
6628
6648
  * - Only worker nodes are removed. Master nodes are not removed.
6629
- * - Even if you choose to release nodes (by setting release_node to true), subscription nodes are not released. You must release them manually in the [ECS console](https://ecs.console.aliyun.com/) after removing them from the node pool.
6649
+ * - Even if you choose to release nodes (that is, set `release_node` to `true`), subscription nodes are not released. To release subscription nodes, you must remove them first and then release them in the [ECS console](https://ecs.console.aliyun.com/).
6630
6650
  *
6631
6651
  * @param tmpReq - RemoveNodePoolNodesRequest
6632
6652
  * @param headers - map
@@ -6654,6 +6674,10 @@ export default class Client extends OpenApi {
6654
6674
  query["drain_node"] = request.drainNode;
6655
6675
  }
6656
6676
 
6677
+ if (!$dara.isNull(request.drainTimeoutSeconds)) {
6678
+ query["drain_timeout_seconds"] = request.drainTimeoutSeconds;
6679
+ }
6680
+
6657
6681
  if (!$dara.isNull(request.instanceIdsShrink)) {
6658
6682
  query["instance_ids"] = request.instanceIdsShrink;
6659
6683
  }
@@ -6685,14 +6709,14 @@ export default class Client extends OpenApi {
6685
6709
  }
6686
6710
 
6687
6711
  /**
6688
- * Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated ECS instances and whether to automatically drain the nodes. Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours and back up your data in advance.
6712
+ * Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the associated Elastic Compute Service (ECS) instances and whether to automatically drain the nodes. Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours and back up your data in advance.
6689
6713
  *
6690
6714
  * @remarks
6691
- * - Node removal involves pod migration, which may affect your workloads. Perform this operation during off-peak hours.
6715
+ * - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
6692
6716
  * - Unexpected risks may occur during the operation. Back up your data in advance.
6693
- * - During the operation, the system sets the nodes to the unschedulable state.
6717
+ * - During the operation, the system sets the current nodes to the unschedulable state.
6694
6718
  * - Only worker nodes are removed. Master nodes are not removed.
6695
- * - Even if you choose to release nodes (by setting release_node to true), subscription nodes are not released. You must release them manually in the [ECS console](https://ecs.console.aliyun.com/) after removing them from the node pool.
6719
+ * - Even if you choose to release nodes (that is, set `release_node` to `true`), subscription nodes are not released. To release subscription nodes, you must remove them first and then release them in the [ECS console](https://ecs.console.aliyun.com/).
6696
6720
  *
6697
6721
  * @param request - RemoveNodePoolNodesRequest
6698
6722
  * @returns RemoveNodePoolNodesResponse
@@ -7560,7 +7584,7 @@ export default class Client extends OpenApi {
7560
7584
  }
7561
7585
 
7562
7586
  /**
7563
- * Enables or disables the audit log feature for a specified ACK cluster, or updates the audit log configurations to record requests to the Kubernetes API and the corresponding results for tracing cluster operation history and troubleshooting cluster faults.
7587
+ * Updates the audit log configuration of a specified ACK cluster. You can call this operation to enable or disable the audit log feature, or update the audit log configuration to record requests to the Kubernetes API and their results for tracing cluster operation history and troubleshooting cluster faults.
7564
7588
  *
7565
7589
  * @remarks
7566
7590
  * Before you call this operation, make sure that you fully understand the billing methods and pricing of <props="china">[Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls)<props="intl">[Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
@@ -7600,7 +7624,7 @@ export default class Client extends OpenApi {
7600
7624
  }
7601
7625
 
7602
7626
  /**
7603
- * Enables or disables the audit log feature for a specified ACK cluster, or updates the audit log configurations to record requests to the Kubernetes API and the corresponding results for tracing cluster operation history and troubleshooting cluster faults.
7627
+ * Updates the audit log configuration of a specified ACK cluster. You can call this operation to enable or disable the audit log feature, or update the audit log configuration to record requests to the Kubernetes API and their results for tracing cluster operation history and troubleshooting cluster faults.
7604
7628
  *
7605
7629
  * @remarks
7606
7630
  * Before you call this operation, make sure that you fully understand the billing methods and pricing of <props="china">[Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls)<props="intl">[Simple Log Service](https://www.alibabacloud.com/product/log-service/pricing).
@@ -8148,10 +8172,10 @@ export default class Client extends OpenApi {
8148
8172
  }
8149
8173
 
8150
8174
  /**
8151
- * Updates the Role-Based Access Control (RBAC) access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users, RAM roles, and users other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or RAM role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
8175
+ * Updates the RBAC access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users and RAM roles other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
8152
8176
  *
8153
8177
  * @remarks
8154
- * You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using a full update or an incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
8178
+ * You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using full update or incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
8155
8179
  *
8156
8180
  * @param request - UpdateUserPermissionsRequest
8157
8181
  * @param headers - map
@@ -8185,10 +8209,10 @@ export default class Client extends OpenApi {
8185
8209
  }
8186
8210
 
8187
8211
  /**
8188
- * Updates the Role-Based Access Control (RBAC) access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users, RAM roles, and users other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or RAM role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
8212
+ * Updates the RBAC access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users and RAM roles other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or role, including the accessible resources, the scope of the permissions, and the preset role types, to improve secure access control in cluster management.
8189
8213
  *
8190
8214
  * @remarks
8191
- * You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using a full update or an incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
8215
+ * You can update the cluster authorization information of a target Resource Access Management (RAM) user or RAM role by using full update or incremental update. A full update overwrites the existing cluster permissions of the target RAM user or RAM role. The request must include all permission configurations that you want to grant to the target RAM user or RAM role. An incremental update includes add and delete operations. It only modifies the permissions based on the cluster authorization information included in the request and does not affect other cluster permissions of the RAM user or RAM role.
8192
8216
  *
8193
8217
  * @param request - UpdateUserPermissionsRequest
8194
8218
  * @returns UpdateUserPermissionsResponse
@@ -5,20 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AttachInstancesToNodePoolRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to store container data and images on data cloud disks. Valid values:
8
+ * **[Deprecated]** Use `format_disk_option` instead.
9
9
  *
10
- * - `true`: Stores container data and images on data cloud disks.
11
- *
12
- * - `false`: Does not store container data and images on data cloud disks.
13
- *
14
- * Default value: `false`.
15
- *
16
- *
17
- * Data cloud disk mounting rules:
18
- *
19
- * - If the ECS instance has data cloud disks mounted and the file system of the last data cloud disk is not initialized, the system automatically formats the data cloud disk to EXT4 to store the /var/lib/docker and /var/lib/kubelet directories.
20
- * - If the ECS instance does not have data cloud disks mounted, no new data cloud disks are mounted.
21
- * > If you choose to store data on data cloud disks and the ECS instance already has data cloud disks mounted, the existing data on the data cloud disks will be lost. Back up your data in advance.
10
+ * - `true`: Equivalent to setting `format_disk_option` to `DataDisk`.
11
+ * - `false`: Equivalent to setting `format_disk_option` to `SystemDisk`.
22
12
  *
23
13
  * @example
24
14
  * false
@@ -6,7 +6,7 @@ export class CleanClusterUserPermissionsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * Specifies whether to force delete the specified KubeConfig. Valid values:
9
- * - false (default): Before deleting the KubeConfig, the system checks whether there are cluster access records within the last seven days. If such records exist or cannot be found, the deletion is not allowed.
9
+ * - false (default): Checks whether cluster access records exist within the last seven days before deleting the KubeConfig. If such records exist or cannot be found, the deletion is not allowed.
10
10
  * - true: Force deletes the KubeConfig without checking cluster access records.
11
11
  *
12
12
  * @example
@@ -5,13 +5,13 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CleanUserPermissionsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of cluster IDs. If you specify this list, only the KubeConfig credentials and RBAC permissions of the specified user in the listed clusters are cleared.
8
+ * The list of cluster IDs. If you specify this list, only the KubeConfig credentials and RBAC permissions of the user in the specified clusters are cleared.
9
9
  */
10
10
  clusterIds?: string[];
11
11
  /**
12
12
  * @remarks
13
13
  * Specifies whether to force delete the specified KubeConfig. Valid values:
14
- * - false (default): Checks whether there are cluster access records within the last seven days before deleting the KubeConfig. If such records exist or cannot be found, the deletion is not allowed.
14
+ * - false (default): Before deleting the KubeConfig, the system checks whether there are cluster access records within the last seven days. If such records exist or cannot be found, the deletion is not allowed.
15
15
  * - true: Force deletes the KubeConfig without checking cluster access records.
16
16
  *
17
17
  * @example
@@ -5,13 +5,13 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CleanUserPermissionsShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of cluster IDs. If you specify this list, only the KubeConfig credentials and RBAC permissions of the specified user in the listed clusters are cleared.
8
+ * The list of cluster IDs. If you specify this list, only the KubeConfig credentials and RBAC permissions of the user in the specified clusters are cleared.
9
9
  */
10
10
  clusterIdsShrink?: string;
11
11
  /**
12
12
  * @remarks
13
13
  * Specifies whether to force delete the specified KubeConfig. Valid values:
14
- * - false (default): Checks whether there are cluster access records within the last seven days before deleting the KubeConfig. If such records exist or cannot be found, the deletion is not allowed.
14
+ * - false (default): Before deleting the KubeConfig, the system checks whether there are cluster access records within the last seven days. If such records exist or cannot be found, the deletion is not allowed.
15
15
  * - true: Force deletes the KubeConfig without checking cluster access records.
16
16
  *
17
17
  * @example