@alicloud/cs20151215 6.7.1 → 7.0.1
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 +6 -6
- package/dist/client.js +9 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -263
- package/dist/models/CreateClusterNodePoolRequest.js +1 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +235 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +92 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +4 -1
- package/dist/models/InstallNodePoolComponentsRequest.js +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +8 -5
- package/dist/models/Nodepool.js +1 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +6 -3
- package/dist/models/UpdateNodePoolComponentRequest.js +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +4 -3
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -6
- package/src/models/CreateClusterNodePoolRequest.ts +268 -264
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +236 -233
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +93 -89
- package/src/models/InstallNodePoolComponentsRequest.ts +5 -2
- package/src/models/Nodepool.ts +9 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +7 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +6 -3
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 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.
|
|
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 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.
|
|
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
|
+
* You can call the DescribeClusterNodePoolDetail operation to query 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,7 +885,7 @@ export default class Client extends OpenApi {
|
|
|
885
885
|
[key: string]: string;
|
|
886
886
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClusterNodePoolDetailResponse>;
|
|
887
887
|
/**
|
|
888
|
-
*
|
|
888
|
+
* You can call the DescribeClusterNodePoolDetail operation to query 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>;
|
|
@@ -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 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.
|
|
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 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.
|
|
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
|
+
* You can call the DescribeClusterNodePoolDetail operation to query 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
|
+
* You can call the DescribeClusterNodePoolDetail operation to query 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) {
|
|
@@ -7228,7 +7228,7 @@ class Client extends openapi_core_1.default {
|
|
|
7228
7228
|
return await this.upgradeClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
7229
7229
|
}
|
|
7230
7230
|
/**
|
|
7231
|
-
* Upgrades the kubelet version (
|
|
7231
|
+
* 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
7232
|
*
|
|
7233
7233
|
* @remarks
|
|
7234
7234
|
* 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 +7245,9 @@ class Client extends openapi_core_1.default {
|
|
|
7245
7245
|
async upgradeClusterNodepoolWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
7246
7246
|
request.validate();
|
|
7247
7247
|
let body = {};
|
|
7248
|
+
if (!$dara.isNull(request.ignoreWarningCheck)) {
|
|
7249
|
+
body["ignore_warning_check"] = request.ignoreWarningCheck;
|
|
7250
|
+
}
|
|
7248
7251
|
if (!$dara.isNull(request.imageId)) {
|
|
7249
7252
|
body["image_id"] = request.imageId;
|
|
7250
7253
|
}
|
|
@@ -7284,7 +7287,7 @@ class Client extends openapi_core_1.default {
|
|
|
7284
7287
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterNodepoolResponse({}));
|
|
7285
7288
|
}
|
|
7286
7289
|
/**
|
|
7287
|
-
* Upgrades the kubelet version (
|
|
7290
|
+
* 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
7291
|
*
|
|
7289
7292
|
* @remarks
|
|
7290
7293
|
* 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:
|