@alicloud/cs20151215 7.2.5 → 7.3.0

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 (78) hide show
  1. package/dist/client.d.ts +110 -72
  2. package/dist/client.js +259 -72
  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/CreateClusterRequest.d.ts +305 -392
  10. package/dist/models/CreateClusterRequest.js.map +1 -1
  11. package/dist/models/DeleteClusterNodesRequest.d.ts +15 -7
  12. package/dist/models/DeleteClusterNodesRequest.js +2 -0
  13. package/dist/models/DeleteClusterNodesRequest.js.map +1 -1
  14. package/dist/models/DescribeClusterAttachScriptsRequest.d.ts +9 -17
  15. package/dist/models/DescribeClusterAttachScriptsRequest.js.map +1 -1
  16. package/dist/models/DescribeClusterDetailResponseBody.d.ts +80 -77
  17. package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
  18. package/dist/models/DescribeClustersForRegionRequest.d.ts +14 -14
  19. package/dist/models/DescribeClustersForRegionResponseBody.d.ts +18 -12
  20. package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
  21. package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +22 -15
  22. package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
  23. package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +23 -17
  24. package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +1 -1
  25. package/dist/models/InvokeAgentRequest.d.ts +296 -0
  26. package/dist/models/InvokeAgentRequest.js +279 -0
  27. package/dist/models/InvokeAgentRequest.js.map +1 -0
  28. package/dist/models/InvokeAgentResponse.d.ts +21 -0
  29. package/dist/models/InvokeAgentResponse.js +73 -0
  30. package/dist/models/InvokeAgentResponse.js.map +1 -0
  31. package/dist/models/InvokeAgentResponseBody.d.ts +178 -0
  32. package/dist/models/InvokeAgentResponseBody.js +152 -0
  33. package/dist/models/InvokeAgentResponseBody.js.map +1 -0
  34. package/dist/models/ListUserKubeConfigStatesRequest.d.ts +3 -3
  35. package/dist/models/ListUserKubeConfigStatesResponseBody.d.ts +4 -5
  36. package/dist/models/ListUserKubeConfigStatesResponseBody.js.map +1 -1
  37. package/dist/models/ModifyClusterRequest.d.ts +106 -99
  38. package/dist/models/ModifyClusterRequest.js.map +1 -1
  39. package/dist/models/ModifyClusterResponseBody.d.ts +2 -2
  40. package/dist/models/RemoveNodePoolNodesRequest.d.ts +18 -11
  41. package/dist/models/RemoveNodePoolNodesRequest.js +2 -0
  42. package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
  43. package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +18 -11
  44. package/dist/models/RemoveNodePoolNodesShrinkRequest.js +2 -0
  45. package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
  46. package/dist/models/UpdateClusterAuditLogConfigRequest.d.ts +4 -3
  47. package/dist/models/UpdateClusterAuditLogConfigRequest.js.map +1 -1
  48. package/dist/models/UpdateUserPermissionsRequest.d.ts +22 -22
  49. package/dist/models/UpdateUserPermissionsRequest.js.map +1 -1
  50. package/dist/models/model.d.ts +12 -0
  51. package/dist/models/model.js +34 -10
  52. package/dist/models/model.js.map +1 -1
  53. package/package.json +2 -1
  54. package/src/client.ts +249 -72
  55. package/src/models/AttachInstancesToNodePoolRequest.ts +3 -13
  56. package/src/models/CleanClusterUserPermissionsRequest.ts +1 -1
  57. package/src/models/CleanUserPermissionsRequest.ts +2 -2
  58. package/src/models/CleanUserPermissionsShrinkRequest.ts +2 -2
  59. package/src/models/CreateClusterRequest.ts +305 -392
  60. package/src/models/DeleteClusterNodesRequest.ts +17 -7
  61. package/src/models/DescribeClusterAttachScriptsRequest.ts +9 -17
  62. package/src/models/DescribeClusterDetailResponseBody.ts +80 -77
  63. package/src/models/DescribeClustersForRegionRequest.ts +14 -14
  64. package/src/models/DescribeClustersForRegionResponseBody.ts +18 -12
  65. package/src/models/DescribeKubernetesVersionMetadataRequest.ts +22 -15
  66. package/src/models/DescribeKubernetesVersionMetadataResponse.ts +23 -17
  67. package/src/models/InvokeAgentRequest.ts +461 -0
  68. package/src/models/InvokeAgentResponse.ts +46 -0
  69. package/src/models/InvokeAgentResponseBody.ts +263 -0
  70. package/src/models/ListUserKubeConfigStatesRequest.ts +3 -3
  71. package/src/models/ListUserKubeConfigStatesResponseBody.ts +4 -5
  72. package/src/models/ModifyClusterRequest.ts +106 -99
  73. package/src/models/ModifyClusterResponseBody.ts +2 -2
  74. package/src/models/RemoveNodePoolNodesRequest.ts +20 -11
  75. package/src/models/RemoveNodePoolNodesShrinkRequest.ts +20 -11
  76. package/src/models/UpdateClusterAuditLogConfigRequest.ts +4 -3
  77. package/src/models/UpdateUserPermissionsRequest.ts +22 -22
  78. package/src/models/model.ts +12 -0
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
@@ -1194,16 +1198,16 @@ export default class Client extends OpenApi {
1194
1198
  }
1195
1199
 
1196
1200
  /**
1197
- * 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.
1198
1202
  *
1199
1203
  * @remarks
1200
1204
  * ### Generate OpenAPI request parameters by using the console
1201
- * 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:
1202
- * 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.
1203
- * 1. On the **Clusters** page, click **Cluster Template**.
1204
- * 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.
1205
- * 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.
1206
- * >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>
1207
1211
  *
1208
1212
  * @param request - CreateClusterRequest
1209
1213
  * @returns CreateClusterResponse
@@ -1967,14 +1971,14 @@ export default class Client extends OpenApi {
1967
1971
  }
1968
1972
 
1969
1973
  /**
1970
- * 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.
1971
1975
  *
1972
1976
  * @remarks
1973
- * - 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.
1974
- * - 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.
1975
- * - 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.
1976
- * - 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.
1977
- * - 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.
1978
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.
1979
1983
  *
1980
1984
  * @param request - DeleteClusterNodesRequest
@@ -1989,6 +1993,10 @@ export default class Client extends OpenApi {
1989
1993
  body["drain_node"] = request.drainNode;
1990
1994
  }
1991
1995
 
1996
+ if (!$dara.isNull(request.drainTimeoutSeconds)) {
1997
+ body["drain_timeout_seconds"] = request.drainTimeoutSeconds;
1998
+ }
1999
+
1992
2000
  if (!$dara.isNull(request.nodes)) {
1993
2001
  body["nodes"] = request.nodes;
1994
2002
  }
@@ -2016,14 +2024,14 @@ export default class Client extends OpenApi {
2016
2024
  }
2017
2025
 
2018
2026
  /**
2019
- * 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.
2020
2028
  *
2021
2029
  * @remarks
2022
- * - 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.
2023
- * - 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.
2024
- * - 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.
2025
- * - 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.
2026
- * - 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.
2027
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.
2028
2036
  *
2029
2037
  * @param request - DeleteClusterNodesRequest
@@ -2713,7 +2721,7 @@ export default class Client extends OpenApi {
2713
2721
  }
2714
2722
 
2715
2723
  /**
2716
- * 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.
2717
2725
  *
2718
2726
  * @param request - DescribeClusterAttachScriptsRequest
2719
2727
  * @param headers - map
@@ -2774,7 +2782,7 @@ export default class Client extends OpenApi {
2774
2782
  }
2775
2783
 
2776
2784
  /**
2777
- * 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.
2778
2786
  *
2779
2787
  * @param request - DescribeClusterAttachScriptsRequest
2780
2788
  * @returns DescribeClusterAttachScriptsResponse
@@ -3392,7 +3400,7 @@ export default class Client extends OpenApi {
3392
3400
  }
3393
3401
 
3394
3402
  /**
3395
- * Queries the list of all clusters in a specified region.
3403
+ * Queries all clusters in a specified region.
3396
3404
  *
3397
3405
  * @param request - DescribeClustersForRegionRequest
3398
3406
  * @param headers - map
@@ -3449,7 +3457,7 @@ export default class Client extends OpenApi {
3449
3457
  }
3450
3458
 
3451
3459
  /**
3452
- * Queries the list of all clusters in a specified region.
3460
+ * Queries all clusters in a specified region.
3453
3461
  *
3454
3462
  * @param request - DescribeClustersForRegionRequest
3455
3463
  * @returns DescribeClustersForRegionResponse
@@ -3720,7 +3728,7 @@ export default class Client extends OpenApi {
3720
3728
  }
3721
3729
 
3722
3730
  /**
3723
- * 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.
3724
3732
  *
3725
3733
  * @param request - DescribeKubernetesVersionMetadataRequest
3726
3734
  * @param headers - map
@@ -3781,7 +3789,7 @@ export default class Client extends OpenApi {
3781
3789
  }
3782
3790
 
3783
3791
  /**
3784
- * 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.
3785
3793
  *
3786
3794
  * @param request - DescribeKubernetesVersionMetadataRequest
3787
3795
  * @returns DescribeKubernetesVersionMetadataResponse
@@ -5095,6 +5103,171 @@ export default class Client extends OpenApi {
5095
5103
  return await this.installNodePoolComponentsWithOptions(clusterId, nodePoolId, request, headers, runtime);
5096
5104
  }
5097
5105
 
5106
+ /**
5107
+ * 发起智能助手会话运行(AG-UI 协议)
5108
+ *
5109
+ * @remarks
5110
+ * 独立的原生 AG-UI 接口,成功建流后返回 text/event-stream。
5111
+ *
5112
+ * @param request - InvokeAgentRequest
5113
+ * @param headers - map
5114
+ * @param runtime - runtime options for this request RuntimeOptions
5115
+ * @returns InvokeAgentResponse
5116
+ */
5117
+ async *invokeAgentWithSSE(request: $_model.InvokeAgentRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): AsyncGenerator<$_model.InvokeAgentResponse, any, unknown> {
5118
+ request.validate();
5119
+ let body : {[key: string ]: any} = { };
5120
+ if (!$dara.isNull(request.context)) {
5121
+ body["context"] = request.context;
5122
+ }
5123
+
5124
+ if (!$dara.isNull(request.forwardedProps)) {
5125
+ body["forwardedProps"] = request.forwardedProps;
5126
+ }
5127
+
5128
+ if (!$dara.isNull(request.messages)) {
5129
+ body["messages"] = request.messages;
5130
+ }
5131
+
5132
+ if (!$dara.isNull(request.parentRunId)) {
5133
+ body["parentRunId"] = request.parentRunId;
5134
+ }
5135
+
5136
+ if (!$dara.isNull(request.resume)) {
5137
+ body["resume"] = request.resume;
5138
+ }
5139
+
5140
+ if (!$dara.isNull(request.runId)) {
5141
+ body["runId"] = request.runId;
5142
+ }
5143
+
5144
+ if (!$dara.isNull(request.state)) {
5145
+ body["state"] = request.state;
5146
+ }
5147
+
5148
+ if (!$dara.isNull(request.threadId)) {
5149
+ body["threadId"] = request.threadId;
5150
+ }
5151
+
5152
+ if (!$dara.isNull(request.tools)) {
5153
+ body["tools"] = request.tools;
5154
+ }
5155
+
5156
+ let req = new $OpenApiUtil.OpenApiRequest({
5157
+ headers: headers,
5158
+ body: OpenApiUtil.parseToMap(body),
5159
+ });
5160
+ let params = new $OpenApiUtil.Params({
5161
+ action: "InvokeAgent",
5162
+ version: "2015-12-15",
5163
+ protocol: "HTTPS",
5164
+ pathname: `/intelligence/invoke`,
5165
+ method: "POST",
5166
+ authType: "AK",
5167
+ style: "ROA",
5168
+ reqBodyType: "json",
5169
+ bodyType: "json",
5170
+ });
5171
+ let sseResp = await this.callSSEApi(params, req, runtime);
5172
+
5173
+ for await (let resp of sseResp) {
5174
+ if (!$dara.isNull(resp.event) && !$dara.isNull(resp.event.data)) {
5175
+ let data = JSON.parse(resp.event.data);
5176
+ yield $dara.cast<$_model.InvokeAgentResponse>({
5177
+ statusCode: resp.statusCode,
5178
+ headers: resp.headers,
5179
+ id: resp.event.id,
5180
+ event: resp.event.event,
5181
+ body: data,
5182
+ }, new $_model.InvokeAgentResponse({}));
5183
+ }
5184
+
5185
+ }
5186
+ }
5187
+
5188
+ /**
5189
+ * 发起智能助手会话运行(AG-UI 协议)
5190
+ *
5191
+ * @remarks
5192
+ * 独立的原生 AG-UI 接口,成功建流后返回 text/event-stream。
5193
+ *
5194
+ * @param request - InvokeAgentRequest
5195
+ * @param headers - map
5196
+ * @param runtime - runtime options for this request RuntimeOptions
5197
+ * @returns InvokeAgentResponse
5198
+ */
5199
+ async invokeAgentWithOptions(request: $_model.InvokeAgentRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.InvokeAgentResponse> {
5200
+ request.validate();
5201
+ let body : {[key: string ]: any} = { };
5202
+ if (!$dara.isNull(request.context)) {
5203
+ body["context"] = request.context;
5204
+ }
5205
+
5206
+ if (!$dara.isNull(request.forwardedProps)) {
5207
+ body["forwardedProps"] = request.forwardedProps;
5208
+ }
5209
+
5210
+ if (!$dara.isNull(request.messages)) {
5211
+ body["messages"] = request.messages;
5212
+ }
5213
+
5214
+ if (!$dara.isNull(request.parentRunId)) {
5215
+ body["parentRunId"] = request.parentRunId;
5216
+ }
5217
+
5218
+ if (!$dara.isNull(request.resume)) {
5219
+ body["resume"] = request.resume;
5220
+ }
5221
+
5222
+ if (!$dara.isNull(request.runId)) {
5223
+ body["runId"] = request.runId;
5224
+ }
5225
+
5226
+ if (!$dara.isNull(request.state)) {
5227
+ body["state"] = request.state;
5228
+ }
5229
+
5230
+ if (!$dara.isNull(request.threadId)) {
5231
+ body["threadId"] = request.threadId;
5232
+ }
5233
+
5234
+ if (!$dara.isNull(request.tools)) {
5235
+ body["tools"] = request.tools;
5236
+ }
5237
+
5238
+ let req = new $OpenApiUtil.OpenApiRequest({
5239
+ headers: headers,
5240
+ body: OpenApiUtil.parseToMap(body),
5241
+ });
5242
+ let params = new $OpenApiUtil.Params({
5243
+ action: "InvokeAgent",
5244
+ version: "2015-12-15",
5245
+ protocol: "HTTPS",
5246
+ pathname: `/intelligence/invoke`,
5247
+ method: "POST",
5248
+ authType: "AK",
5249
+ style: "ROA",
5250
+ reqBodyType: "json",
5251
+ bodyType: "json",
5252
+ });
5253
+ return $dara.cast<$_model.InvokeAgentResponse>(await this.callApi(params, req, runtime), new $_model.InvokeAgentResponse({}));
5254
+ }
5255
+
5256
+ /**
5257
+ * 发起智能助手会话运行(AG-UI 协议)
5258
+ *
5259
+ * @remarks
5260
+ * 独立的原生 AG-UI 接口,成功建流后返回 text/event-stream。
5261
+ *
5262
+ * @param request - InvokeAgentRequest
5263
+ * @returns InvokeAgentResponse
5264
+ */
5265
+ async invokeAgent(request: $_model.InvokeAgentRequest): Promise<$_model.InvokeAgentResponse> {
5266
+ let runtime = new $dara.RuntimeOptions({ });
5267
+ let headers : {[key: string ]: string} = { };
5268
+ return await this.invokeAgentWithOptions(request, headers, runtime);
5269
+ }
5270
+
5098
5271
  /**
5099
5272
  * Queries a list of available components and retrieves detailed component information based on parameters such as the region, cluster type, cluster profile, and cluster version. The detailed information includes whether the component is managed, the schema of supported custom parameters, and compatible operating system architectures.
5100
5273
  *
@@ -5795,10 +5968,10 @@ export default class Client extends OpenApi {
5795
5968
  }
5796
5969
 
5797
5970
  /**
5798
- * Queries the KubeConfig status list of all clusters for the current user.
5971
+ * Queries the KubeConfig status list for all clusters of the current user.
5799
5972
  *
5800
5973
  * @remarks
5801
- * > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
5974
+ * > To call this operation, you must have the AliyunCSFullAccess permission to manage Container Service for Kubernetes (CS).
5802
5975
  *
5803
5976
  * @param request - ListUserKubeConfigStatesRequest
5804
5977
  * @param headers - map
@@ -5835,10 +6008,10 @@ export default class Client extends OpenApi {
5835
6008
  }
5836
6009
 
5837
6010
  /**
5838
- * Queries the KubeConfig status list of all clusters for the current user.
6011
+ * Queries the KubeConfig status list for all clusters of the current user.
5839
6012
  *
5840
6013
  * @remarks
5841
- * > To call this operation, you must have the permissions to manage Container Service (CS) (AliyunCSFullAccess).
6014
+ * > To call this operation, you must have the AliyunCSFullAccess permission to manage Container Service for Kubernetes (CS).
5842
6015
  *
5843
6016
  * @param request - ListUserKubeConfigStatesRequest
5844
6017
  * @returns ListUserKubeConfigStatesResponse
@@ -5960,10 +6133,10 @@ export default class Client extends OpenApi {
5960
6133
  }
5961
6134
 
5962
6135
  /**
5963
- * Modifies the configuration of an ACK cluster.
6136
+ * Modifies the configurations of an ACK cluster.
5964
6137
  *
5965
6138
  * @remarks
5966
- * <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>
6139
+ * <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>
5967
6140
  *
5968
6141
  * @param request - ModifyClusterRequest
5969
6142
  * @param headers - map
@@ -6080,10 +6253,10 @@ export default class Client extends OpenApi {
6080
6253
  }
6081
6254
 
6082
6255
  /**
6083
- * Modifies the configuration of an ACK cluster.
6256
+ * Modifies the configurations of an ACK cluster.
6084
6257
  *
6085
6258
  * @remarks
6086
- * <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>
6259
+ * <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>
6087
6260
  *
6088
6261
  * @param request - ModifyClusterRequest
6089
6262
  * @returns ModifyClusterResponse
@@ -6631,14 +6804,14 @@ export default class Client extends OpenApi {
6631
6804
  }
6632
6805
 
6633
6806
  /**
6634
- * 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. Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours and back up your data in advance.
6807
+ * 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.
6635
6808
  *
6636
6809
  * @remarks
6637
- * - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours.
6810
+ * - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
6638
6811
  * - Unexpected risks may occur during the operation. Back up your data in advance.
6639
- * - During the operation, the system sets the nodes to the unschedulable state.
6812
+ * - During the operation, the system sets the current nodes to the unschedulable state.
6640
6813
  * - Only worker nodes are removed. Master nodes are not removed.
6641
- * - Even if you choose to release nodes (by setting `release_node` to `true`), subscription nodes are not released. To release subscription nodes, you must first [change their billing method to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then release them in the [ECS console](https://ecs.console.aliyun.com/).
6814
+ * - 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/).
6642
6815
  *
6643
6816
  * @param tmpReq - RemoveNodePoolNodesRequest
6644
6817
  * @param headers - map
@@ -6666,6 +6839,10 @@ export default class Client extends OpenApi {
6666
6839
  query["drain_node"] = request.drainNode;
6667
6840
  }
6668
6841
 
6842
+ if (!$dara.isNull(request.drainTimeoutSeconds)) {
6843
+ query["drain_timeout_seconds"] = request.drainTimeoutSeconds;
6844
+ }
6845
+
6669
6846
  if (!$dara.isNull(request.instanceIdsShrink)) {
6670
6847
  query["instance_ids"] = request.instanceIdsShrink;
6671
6848
  }
@@ -6697,14 +6874,14 @@ export default class Client extends OpenApi {
6697
6874
  }
6698
6875
 
6699
6876
  /**
6700
- * 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. Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours and back up your data in advance.
6877
+ * 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.
6701
6878
  *
6702
6879
  * @remarks
6703
- * - Removing nodes involves pod migration and may affect your services. Perform this operation during off-peak hours.
6880
+ * - Removing nodes involves pod migration, which may affect your services. Perform this operation during off-peak hours.
6704
6881
  * - Unexpected risks may occur during the operation. Back up your data in advance.
6705
- * - During the operation, the system sets the nodes to the unschedulable state.
6882
+ * - During the operation, the system sets the current nodes to the unschedulable state.
6706
6883
  * - Only worker nodes are removed. Master nodes are not removed.
6707
- * - Even if you choose to release nodes (by setting `release_node` to `true`), subscription nodes are not released. To release subscription nodes, you must first [change their billing method to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1) and then release them in the [ECS console](https://ecs.console.aliyun.com/).
6884
+ * - 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/).
6708
6885
  *
6709
6886
  * @param request - RemoveNodePoolNodesRequest
6710
6887
  * @returns RemoveNodePoolNodesResponse
@@ -7572,7 +7749,7 @@ export default class Client extends OpenApi {
7572
7749
  }
7573
7750
 
7574
7751
  /**
7575
- * 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.
7752
+ * 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.
7576
7753
  *
7577
7754
  * @remarks
7578
7755
  * 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).
@@ -7612,7 +7789,7 @@ export default class Client extends OpenApi {
7612
7789
  }
7613
7790
 
7614
7791
  /**
7615
- * 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.
7792
+ * 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.
7616
7793
  *
7617
7794
  * @remarks
7618
7795
  * 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).
@@ -8160,10 +8337,10 @@ export default class Client extends OpenApi {
8160
8337
  }
8161
8338
 
8162
8339
  /**
8163
- * 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.
8340
+ * 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.
8164
8341
  *
8165
8342
  * @remarks
8166
- * 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.
8343
+ * 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.
8167
8344
  *
8168
8345
  * @param request - UpdateUserPermissionsRequest
8169
8346
  * @param headers - map
@@ -8197,10 +8374,10 @@ export default class Client extends OpenApi {
8197
8374
  }
8198
8375
 
8199
8376
  /**
8200
- * 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.
8377
+ * 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.
8201
8378
  *
8202
8379
  * @remarks
8203
- * 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.
8380
+ * 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.
8204
8381
  *
8205
8382
  * @param request - UpdateUserPermissionsRequest
8206
8383
  * @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