@alicloud/cs20151215 7.0.1 → 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 (34) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +15 -12
  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/model.d.ts +1 -0
  22. package/dist/models/model.js +25 -23
  23. package/dist/models/model.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/client.ts +16 -12
  26. package/src/models/CreateClusterNodePoolRequest.ts +271 -267
  27. package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
  28. package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +238 -225
  29. package/src/models/DescribeClusterNodePoolsResponseBody.ts +180 -167
  30. package/src/models/KubeletConfig.ts +0 -6
  31. package/src/models/ModifyClusterNodePoolRequest.ts +243 -218
  32. package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
  33. package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
  34. package/src/models/model.ts +1 -0
package/dist/client.d.ts CHANGED
@@ -322,7 +322,7 @@ export default class Client extends OpenApi {
322
322
  */
323
323
  createClusterInspectConfig(clusterId: string, request: $_model.CreateClusterInspectConfigRequest): Promise<$_model.CreateClusterInspectConfigResponse>;
324
324
  /**
325
- * 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.
325
+ * 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.
326
326
  *
327
327
  * @param request - CreateClusterNodePoolRequest
328
328
  * @param headers - map
@@ -333,7 +333,7 @@ export default class Client extends OpenApi {
333
333
  [key: string]: string;
334
334
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateClusterNodePoolResponse>;
335
335
  /**
336
- * 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.
336
+ * 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.
337
337
  *
338
338
  * @param request - CreateClusterNodePoolRequest
339
339
  * @returns CreateClusterNodePoolResponse
@@ -875,7 +875,7 @@ export default class Client extends OpenApi {
875
875
  */
876
876
  describeClusterLogs(ClusterId: string): Promise<$_model.DescribeClusterLogsResponse>;
877
877
  /**
878
- * You can call the DescribeClusterNodePoolDetail operation to query the configuration of a specified node pool in a cluster by node pool ID.
878
+ * Queries the configuration of a specified node pool in a cluster by node pool ID.
879
879
  *
880
880
  * @param headers - map
881
881
  * @param runtime - runtime options for this request RuntimeOptions
@@ -885,12 +885,12 @@ export default class Client extends OpenApi {
885
885
  [key: string]: string;
886
886
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
887
887
  /**
888
- * You can call the DescribeClusterNodePoolDetail operation to query the configuration of a specified node pool in a cluster by node pool ID.
888
+ * Queries the configuration of a specified node pool in a cluster by node pool ID.
889
889
  * @returns DescribeClusterNodePoolDetailResponse
890
890
  */
891
891
  describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
892
892
  /**
893
- * Queries the list of all node pools in a cluster.
893
+ * Queries all node pools in a cluster.
894
894
  *
895
895
  * @param request - DescribeClusterNodePoolsRequest
896
896
  * @param headers - map
@@ -901,7 +901,7 @@ export default class Client extends OpenApi {
901
901
  [key: string]: string;
902
902
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolsResponse>;
903
903
  /**
904
- * Queries the list of all node pools in a cluster.
904
+ * Queries all node pools in a cluster.
905
905
  *
906
906
  * @param request - DescribeClusterNodePoolsRequest
907
907
  * @returns DescribeClusterNodePoolsResponse
@@ -1999,7 +1999,7 @@ export default class Client extends OpenApi {
1999
1999
  */
2000
2000
  modifyClusterAddon(clusterId: string, componentId: string, request: $_model.ModifyClusterAddonRequest): Promise<$_model.ModifyClusterAddonResponse>;
2001
2001
  /**
2002
- * You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
2002
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
2003
2003
  *
2004
2004
  * @param request - ModifyClusterNodePoolRequest
2005
2005
  * @param headers - map
@@ -2010,7 +2010,7 @@ export default class Client extends OpenApi {
2010
2010
  [key: string]: string;
2011
2011
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterNodePoolResponse>;
2012
2012
  /**
2013
- * You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
2013
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
2014
2014
  *
2015
2015
  * @param request - ModifyClusterNodePoolRequest
2016
2016
  * @returns ModifyClusterNodePoolResponse
@@ -2041,10 +2041,10 @@ export default class Client extends OpenApi {
2041
2041
  */
2042
2042
  modifyClusterTags(ClusterId: string, request: $_model.ModifyClusterTagsRequest): Promise<$_model.ModifyClusterTagsResponse>;
2043
2043
  /**
2044
- * 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.
2044
+ * 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.
2045
2045
  *
2046
2046
  * @remarks
2047
- * > 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.
2047
+ * > 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.
2048
2048
  *
2049
2049
  * @param request - ModifyNodePoolNodeConfigRequest
2050
2050
  * @param headers - map
@@ -2055,10 +2055,10 @@ export default class Client extends OpenApi {
2055
2055
  [key: string]: string;
2056
2056
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyNodePoolNodeConfigResponse>;
2057
2057
  /**
2058
- * 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.
2058
+ * 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.
2059
2059
  *
2060
2060
  * @remarks
2061
- * > 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.
2061
+ * > 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.
2062
2062
  *
2063
2063
  * @param request - ModifyNodePoolNodeConfigRequest
2064
2064
  * @returns ModifyNodePoolNodeConfigResponse
package/dist/client.js CHANGED
@@ -1199,7 +1199,7 @@ class Client extends openapi_core_1.default {
1199
1199
  return await this.createClusterInspectConfigWithOptions(clusterId, request, headers, runtime);
1200
1200
  }
1201
1201
  /**
1202
- * 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.
1202
+ * 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.
1203
1203
  *
1204
1204
  * @param request - CreateClusterNodePoolRequest
1205
1205
  * @param headers - map
@@ -1275,7 +1275,7 @@ class Client extends openapi_core_1.default {
1275
1275
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateClusterNodePoolResponse({}));
1276
1276
  }
1277
1277
  /**
1278
- * 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.
1278
+ * 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.
1279
1279
  *
1280
1280
  * @param request - CreateClusterNodePoolRequest
1281
1281
  * @returns CreateClusterNodePoolResponse
@@ -2548,7 +2548,7 @@ class Client extends openapi_core_1.default {
2548
2548
  return await this.describeClusterLogsWithOptions(ClusterId, headers, runtime);
2549
2549
  }
2550
2550
  /**
2551
- * You can call the DescribeClusterNodePoolDetail operation to query the configuration of a specified node pool in a cluster by node pool ID.
2551
+ * Queries the configuration of a specified node pool in a cluster by node pool ID.
2552
2552
  *
2553
2553
  * @param headers - map
2554
2554
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2572,7 +2572,7 @@ class Client extends openapi_core_1.default {
2572
2572
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodePoolDetailResponse({}));
2573
2573
  }
2574
2574
  /**
2575
- * You can call the DescribeClusterNodePoolDetail operation to query the configuration of a specified node pool in a cluster by node pool ID.
2575
+ * Queries the configuration of a specified node pool in a cluster by node pool ID.
2576
2576
  * @returns DescribeClusterNodePoolDetailResponse
2577
2577
  */
2578
2578
  async describeClusterNodePoolDetail(ClusterId, NodepoolId) {
@@ -2581,7 +2581,7 @@ class Client extends openapi_core_1.default {
2581
2581
  return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
2582
2582
  }
2583
2583
  /**
2584
- * Queries the list of all node pools in a cluster.
2584
+ * Queries all node pools in a cluster.
2585
2585
  *
2586
2586
  * @param request - DescribeClusterNodePoolsRequest
2587
2587
  * @param headers - map
@@ -2612,7 +2612,7 @@ class Client extends openapi_core_1.default {
2612
2612
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClusterNodePoolsResponse({}));
2613
2613
  }
2614
2614
  /**
2615
- * Queries the list of all node pools in a cluster.
2615
+ * Queries all node pools in a cluster.
2616
2616
  *
2617
2617
  * @param request - DescribeClusterNodePoolsRequest
2618
2618
  * @returns DescribeClusterNodePoolsResponse
@@ -5300,7 +5300,7 @@ class Client extends openapi_core_1.default {
5300
5300
  return await this.modifyClusterAddonWithOptions(clusterId, componentId, request, headers, runtime);
5301
5301
  }
5302
5302
  /**
5303
- * You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
5303
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5304
5304
  *
5305
5305
  * @param request - ModifyClusterNodePoolRequest
5306
5306
  * @param headers - map
@@ -5316,6 +5316,9 @@ class Client extends openapi_core_1.default {
5316
5316
  if (!$dara.isNull(request.concurrency)) {
5317
5317
  body["concurrency"] = request.concurrency;
5318
5318
  }
5319
+ if (!$dara.isNull(request.efloNodeGroup)) {
5320
+ body["eflo_node_group"] = request.efloNodeGroup;
5321
+ }
5319
5322
  if (!$dara.isNull(request.kubernetesConfig)) {
5320
5323
  body["kubernetes_config"] = request.kubernetesConfig;
5321
5324
  }
@@ -5352,7 +5355,7 @@ class Client extends openapi_core_1.default {
5352
5355
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyClusterNodePoolResponse({}));
5353
5356
  }
5354
5357
  /**
5355
- * You can call the ModifyClusterNodePool API to update the configuration of a target node pool by specifying its node pool ID.
5358
+ * Updates the configuration of a node pool based on the node pool ID by calling the ModifyClusterNodePool operation.
5356
5359
  *
5357
5360
  * @param request - ModifyClusterNodePoolRequest
5358
5361
  * @returns ModifyClusterNodePoolResponse
@@ -5407,10 +5410,10 @@ class Client extends openapi_core_1.default {
5407
5410
  return await this.modifyClusterTagsWithOptions(ClusterId, request, headers, runtime);
5408
5411
  }
5409
5412
  /**
5410
- * 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.
5413
+ * 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.
5411
5414
  *
5412
5415
  * @remarks
5413
- * > 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.
5416
+ * > 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.
5414
5417
  *
5415
5418
  * @param request - ModifyNodePoolNodeConfigRequest
5416
5419
  * @param headers - map
@@ -5453,10 +5456,10 @@ class Client extends openapi_core_1.default {
5453
5456
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyNodePoolNodeConfigResponse({}));
5454
5457
  }
5455
5458
  /**
5456
- * 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.
5459
+ * 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.
5457
5460
  *
5458
5461
  * @remarks
5459
- * > 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.
5462
+ * > 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.
5460
5463
  *
5461
5464
  * @param request - ModifyNodePoolNodeConfigRequest
5462
5465
  * @returns ModifyNodePoolNodeConfigResponse