@alicloud/cs20151215 7.0.0 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/client.d.ts +14 -14
  2. package/dist/client.js +20 -14
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -267
  5. package/dist/models/CreateClusterNodePoolRequest.js +4 -0
  6. package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
  7. package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
  8. package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -225
  9. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +6 -0
  10. package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
  11. package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +174 -167
  12. package/dist/models/DescribeClusterNodePoolsResponseBody.js +6 -0
  13. package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
  14. package/dist/models/KubeletConfig.d.ts +0 -6
  15. package/dist/models/KubeletConfig.js.map +1 -1
  16. package/dist/models/ModifyClusterNodePoolRequest.d.ts +228 -218
  17. package/dist/models/ModifyClusterNodePoolRequest.js +25 -1
  18. package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
  19. package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
  20. package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +5 -5
  21. package/dist/models/UpgradeClusterNodepoolRequest.d.ts +4 -3
  22. package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
  23. package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
  24. package/dist/models/model.d.ts +1 -0
  25. package/dist/models/model.js +25 -23
  26. package/dist/models/model.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/client.ts +22 -14
  29. package/src/models/CreateClusterNodePoolRequest.ts +271 -267
  30. package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
  31. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +238 -225
  32. package/src/models/DescribeClusterNodePoolsResponseBody.ts +180 -167
  33. package/src/models/KubeletConfig.ts +0 -6
  34. package/src/models/ModifyClusterNodePoolRequest.ts +243 -218
  35. package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
  36. package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
  37. package/src/models/UpgradeClusterNodepoolRequest.ts +6 -3
  38. package/src/models/model.ts +1 -0
package/src/client.ts CHANGED
@@ -1347,7 +1347,7 @@ export default class Client extends OpenApi {
1347
1347
  }
1348
1348
 
1349
1349
  /**
1350
- * A node pool is a logical collection of nodes with the same attributes, allowing unified management and O&M of nodes, such as node upgrades and auto scaling. You can further leverage the automated O&M capabilities of node pools to use features such as automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, reducing O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
1350
+ * A node pool is a logical collection of nodes that share the same attributes, allowing unified management and operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
1351
1351
  *
1352
1352
  * @param request - CreateClusterNodePoolRequest
1353
1353
  * @param headers - map
@@ -1440,7 +1440,7 @@ export default class Client extends OpenApi {
1440
1440
  }
1441
1441
 
1442
1442
  /**
1443
- * A node pool is a logical collection of nodes with the same attributes, allowing unified management and O&M of nodes, such as node upgrades and auto scaling. You can further leverage the automated O&M capabilities of node pools to use features such as automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, reducing O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
1443
+ * A node pool is a logical collection of nodes that share the same attributes, allowing unified management and operations such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools, including automatic OS CVE vulnerability patching, automatic faulty node recovery, and automatic kubelet and containerd version upgrades, to reduce O&M costs. You can call CreateClusterNodePool to create a node pool for a cluster.
1444
1444
  *
1445
1445
  * @param request - CreateClusterNodePoolRequest
1446
1446
  * @returns CreateClusterNodePoolResponse
@@ -2827,7 +2827,7 @@ export default class Client extends OpenApi {
2827
2827
  }
2828
2828
 
2829
2829
  /**
2830
- * You can call the DescribeClusterNodePoolDetail operation to query the configuration of a specified node pool in a cluster by node pool ID.
2830
+ * Queries the configuration of a specified node pool in a cluster by node pool ID.
2831
2831
  *
2832
2832
  * @param headers - map
2833
2833
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2852,7 +2852,7 @@ export default class Client extends OpenApi {
2852
2852
  }
2853
2853
 
2854
2854
  /**
2855
- * You can call the DescribeClusterNodePoolDetail operation to query the configuration of a specified node pool in a cluster by node pool ID.
2855
+ * Queries the configuration of a specified node pool in a cluster by node pool ID.
2856
2856
  * @returns DescribeClusterNodePoolDetailResponse
2857
2857
  */
2858
2858
  async describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<$_model.DescribeClusterNodePoolDetailResponse> {
@@ -2862,7 +2862,7 @@ export default class Client extends OpenApi {
2862
2862
  }
2863
2863
 
2864
2864
  /**
2865
- * Queries the list of all node pools in a cluster.
2865
+ * Queries all node pools in a cluster.
2866
2866
  *
2867
2867
  * @param request - DescribeClusterNodePoolsRequest
2868
2868
  * @param headers - map
@@ -2895,7 +2895,7 @@ export default class Client extends OpenApi {
2895
2895
  }
2896
2896
 
2897
2897
  /**
2898
- * Queries the list of all node pools in a cluster.
2898
+ * Queries all node pools in a cluster.
2899
2899
  *
2900
2900
  * @param request - DescribeClusterNodePoolsRequest
2901
2901
  * @returns DescribeClusterNodePoolsResponse
@@ -5843,7 +5843,7 @@ export default class Client extends OpenApi {
5843
5843
  }
5844
5844
 
5845
5845
  /**
5846
- * You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
5846
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5847
5847
  *
5848
5848
  * @param request - ModifyClusterNodePoolRequest
5849
5849
  * @param headers - map
@@ -5861,6 +5861,10 @@ export default class Client extends OpenApi {
5861
5861
  body["concurrency"] = request.concurrency;
5862
5862
  }
5863
5863
 
5864
+ if (!$dara.isNull(request.efloNodeGroup)) {
5865
+ body["eflo_node_group"] = request.efloNodeGroup;
5866
+ }
5867
+
5864
5868
  if (!$dara.isNull(request.kubernetesConfig)) {
5865
5869
  body["kubernetes_config"] = request.kubernetesConfig;
5866
5870
  }
@@ -5904,7 +5908,7 @@ export default class Client extends OpenApi {
5904
5908
  }
5905
5909
 
5906
5910
  /**
5907
- * You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
5911
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5908
5912
  *
5909
5913
  * @param request - ModifyClusterNodePoolRequest
5910
5914
  * @returns ModifyClusterNodePoolResponse
@@ -5962,10 +5966,10 @@ export default class Client extends OpenApi {
5962
5966
  }
5963
5967
 
5964
5968
  /**
5965
- * You can call the ModifyNodePoolNodeConfig operation to modify the node configuration in a cluster node pool, such as kubelet configuration and node rolling update configuration. Modifying node configuration changes the node configuration in batches and restarts kubelet, which may affect node operations and workload operations. We recommend that you perform this operation during off-peak hours.
5969
+ * Modifies the node configurations in a cluster node pool, such as kubelet configurations and rolling update configurations. Modifying node configurations applies changes in batches and restarts kubelet, which may affect node operations and workload execution. Perform this operation during off-peak hours.
5966
5970
  *
5967
5971
  * @remarks
5968
- * > ACK allows you to modify the kubelet configuration of nodes in a node pool. After the modification is complete, the changes automatically take effect on the nodes in the node pool, and newly added nodes in the node pool also use the new configuration.
5972
+ * > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the new configurations automatically take effect on existing nodes in the node pool. New nodes added to the node pool also use the new configurations.
5969
5973
  *
5970
5974
  * @param request - ModifyNodePoolNodeConfigRequest
5971
5975
  * @param headers - map
@@ -6014,10 +6018,10 @@ export default class Client extends OpenApi {
6014
6018
  }
6015
6019
 
6016
6020
  /**
6017
- * You can call the ModifyNodePoolNodeConfig operation to modify the node configuration in a cluster node pool, such as kubelet configuration and node rolling update configuration. Modifying node configuration changes the node configuration in batches and restarts kubelet, which may affect node operations and workload operations. We recommend that you perform this operation during off-peak hours.
6021
+ * Modifies the node configurations in a cluster node pool, such as kubelet configurations and rolling update configurations. Modifying node configurations applies changes in batches and restarts kubelet, which may affect node operations and workload execution. Perform this operation during off-peak hours.
6018
6022
  *
6019
6023
  * @remarks
6020
- * > ACK allows you to modify the kubelet configuration of nodes in a node pool. After the modification is complete, the changes automatically take effect on the nodes in the node pool, and newly added nodes in the node pool also use the new configuration.
6024
+ * > ACK supports modifying the kubelet configurations of nodes in a node pool. After the modification, the new configurations automatically take effect on existing nodes in the node pool. New nodes added to the node pool also use the new configurations.
6021
6025
  *
6022
6026
  * @param request - ModifyNodePoolNodeConfigRequest
6023
6027
  * @returns ModifyNodePoolNodeConfigResponse
@@ -7961,7 +7965,7 @@ export default class Client extends OpenApi {
7961
7965
  }
7962
7966
 
7963
7967
  /**
7964
- * Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7968
+ * Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
7965
7969
  *
7966
7970
  * @remarks
7967
7971
  * Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations:
@@ -7978,6 +7982,10 @@ export default class Client extends OpenApi {
7978
7982
  async upgradeClusterNodepoolWithOptions(ClusterId: string, NodepoolId: string, request: $_model.UpgradeClusterNodepoolRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterNodepoolResponse> {
7979
7983
  request.validate();
7980
7984
  let body : {[key: string ]: any} = { };
7985
+ if (!$dara.isNull(request.ignoreWarningCheck)) {
7986
+ body["ignore_warning_check"] = request.ignoreWarningCheck;
7987
+ }
7988
+
7981
7989
  if (!$dara.isNull(request.imageId)) {
7982
7990
  body["image_id"] = request.imageId;
7983
7991
  }
@@ -8025,7 +8033,7 @@ export default class Client extends OpenApi {
8025
8033
  }
8026
8034
 
8027
8035
  /**
8028
- * Upgrades the kubelet version (recommended to match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
8036
+ * Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
8029
8037
  *
8030
8038
  * @remarks
8031
8039
  * Upgrades the Kubernetes version, operating system version, or container runtime version of nodes in a specified cluster node pool. After you call the UpgradeClusterNodepool operation, the API returns a task_id for the upgrade task. You can manage the task by calling the following task API operations: