@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.
- package/dist/client.d.ts +14 -14
- package/dist/client.js +20 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -267
- package/dist/models/CreateClusterNodePoolRequest.js +4 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -225
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +174 -167
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +0 -6
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +228 -218
- package/dist/models/ModifyClusterNodePoolRequest.js +25 -1
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +5 -5
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +4 -3
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +25 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +22 -14
- package/src/models/CreateClusterNodePoolRequest.ts +271 -267
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +238 -225
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +180 -167
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +243 -218
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- package/src/models/UpgradeClusterNodepoolRequest.ts +6 -3
- 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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
@@ -2792,7 +2792,7 @@ export default class Client extends OpenApi {
|
|
|
2792
2792
|
*/
|
|
2793
2793
|
upgradeClusterAddons(ClusterId: string, request: $_model.UpgradeClusterAddonsRequest): Promise<$_model.UpgradeClusterAddonsResponse>;
|
|
2794
2794
|
/**
|
|
2795
|
-
* Upgrades the kubelet version (
|
|
2795
|
+
* Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
2796
2796
|
*
|
|
2797
2797
|
* @remarks
|
|
2798
2798
|
* 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:
|
|
@@ -2810,7 +2810,7 @@ export default class Client extends OpenApi {
|
|
|
2810
2810
|
[key: string]: string;
|
|
2811
2811
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterNodepoolResponse>;
|
|
2812
2812
|
/**
|
|
2813
|
-
* Upgrades the kubelet version (
|
|
2813
|
+
* Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
2814
2814
|
*
|
|
2815
2815
|
* @remarks
|
|
2816
2816
|
* 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:
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
@@ -7228,7 +7231,7 @@ class Client extends openapi_core_1.default {
|
|
|
7228
7231
|
return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
7229
7232
|
}
|
|
7230
7233
|
/**
|
|
7231
|
-
* Upgrades the kubelet version (
|
|
7234
|
+
* Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7232
7235
|
*
|
|
7233
7236
|
* @remarks
|
|
7234
7237
|
* 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:
|
|
@@ -7245,6 +7248,9 @@ class Client extends openapi_core_1.default {
|
|
|
7245
7248
|
async upgradeClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
7246
7249
|
request.validate();
|
|
7247
7250
|
let body = {};
|
|
7251
|
+
if (!$dara.isNull(request.ignoreWarningCheck)) {
|
|
7252
|
+
body["ignore_warning_check"] = request.ignoreWarningCheck;
|
|
7253
|
+
}
|
|
7248
7254
|
if (!$dara.isNull(request.imageId)) {
|
|
7249
7255
|
body["image_id"] = request.imageId;
|
|
7250
7256
|
}
|
|
@@ -7284,7 +7290,7 @@ class Client extends openapi_core_1.default {
|
|
|
7284
7290
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterNodepoolResponse({}));
|
|
7285
7291
|
}
|
|
7286
7292
|
/**
|
|
7287
|
-
* Upgrades the kubelet version (
|
|
7293
|
+
* Upgrades the kubelet version (which should match the control plane version), operating system version, or container runtime version of a specified cluster node pool.
|
|
7288
7294
|
*
|
|
7289
7295
|
* @remarks
|
|
7290
7296
|
* 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:
|