@alicloud/cs20151215 6.6.0 → 6.6.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 +20 -20
- package/dist/client.js +44 -20
- package/dist/client.js.map +1 -1
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +2 -0
- package/dist/models/DescribeClusterEventsRequest.js +4 -0
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +1 -0
- package/dist/models/DescribeClusterEventsResponseBody.js +2 -0
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +2 -0
- package/dist/models/DescribeClusterTasksRequest.js +4 -0
- package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +1 -0
- package/dist/models/DescribeClusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -0
- package/dist/models/DescribeEventsForRegionRequest.js +4 -0
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +1 -0
- package/dist/models/DescribeEventsForRegionResponseBody.js +2 -0
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +2 -0
- package/dist/models/DescribeEventsRequest.js +4 -0
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +8 -4
- package/dist/models/DescribeEventsResponseBody.js +2 -0
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +27 -0
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +17 -0
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeTaskInfoResponseBody.d.ts +3 -0
- package/dist/models/DescribeTaskInfoResponseBody.js +5 -0
- package/dist/models/DescribeTaskInfoResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +34 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +9 -0
- package/dist/models/InstallNodePoolComponentsResponseBody.js.map +1 -1
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +35 -0
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +3 -3
- package/dist/models/TagResourcesResponseBody.d.ts +1 -1
- package/dist/models/UntagResourcesResponseBody.d.ts +1 -1
- package/dist/models/UpdateKmsencryptionRequest.d.ts +16 -0
- package/dist/models/UpdateKmsencryptionRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +35 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +6 -0
- package/dist/models/UpdateNodePoolComponentResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +52 -20
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/DescribeClusterEventsRequest.ts +6 -0
- package/src/models/DescribeClusterEventsResponseBody.ts +3 -0
- package/src/models/DescribeClusterTasksRequest.ts +6 -0
- package/src/models/DescribeClusterTasksResponseBody.ts +3 -0
- package/src/models/DescribeEventsForRegionRequest.ts +6 -0
- package/src/models/DescribeEventsForRegionResponseBody.ts +3 -0
- package/src/models/DescribeEventsRequest.ts +6 -0
- package/src/models/DescribeEventsResponseBody.ts +10 -4
- package/src/models/DescribeRegionsRequest.ts +27 -0
- package/src/models/DescribeRegionsResponseBody.ts +17 -0
- package/src/models/DescribeTaskInfoResponseBody.ts +6 -0
- package/src/models/InstallNodePoolComponentsRequest.ts +34 -0
- package/src/models/InstallNodePoolComponentsResponseBody.ts +9 -0
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +35 -0
- package/src/models/ListTagResourcesResponseBody.ts +3 -3
- package/src/models/TagResourcesResponseBody.ts +1 -1
- package/src/models/UntagResourcesResponseBody.ts +1 -1
- package/src/models/UpdateKmsencryptionRequest.ts +16 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +35 -0
- package/src/models/UpdateNodePoolComponentResponseBody.ts +6 -0
package/dist/client.d.ts
CHANGED
|
@@ -204,7 +204,7 @@ export default class Client extends OpenApi {
|
|
|
204
204
|
*/
|
|
205
205
|
cleanUserPermissions(Uid: string, request: $_model.CleanUserPermissionsRequest): Promise<$_model.CleanUserPermissionsResponse>;
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* Creates an auto-repair policy.
|
|
208
208
|
*
|
|
209
209
|
* @param request - CreateAutoRepairPolicyRequest
|
|
210
210
|
* @param headers - map
|
|
@@ -215,7 +215,7 @@ export default class Client extends OpenApi {
|
|
|
215
215
|
[key: string]: string;
|
|
216
216
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAutoRepairPolicyResponse>;
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Creates an auto-repair policy.
|
|
219
219
|
*
|
|
220
220
|
* @param request - CreateAutoRepairPolicyRequest
|
|
221
221
|
* @returns CreateAutoRepairPolicyResponse
|
|
@@ -997,7 +997,7 @@ export default class Client extends OpenApi {
|
|
|
997
997
|
*/
|
|
998
998
|
describeClusterVuls(clusterId: string): Promise<$_model.DescribeClusterVulsResponse>;
|
|
999
999
|
/**
|
|
1000
|
-
* Queries all
|
|
1000
|
+
* Queries all existing clusters in ACK, including Kubernetes clusters and Swarm clusters.
|
|
1001
1001
|
*
|
|
1002
1002
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
1003
1003
|
*
|
|
@@ -1010,7 +1010,7 @@ export default class Client extends OpenApi {
|
|
|
1010
1010
|
[key: string]: string;
|
|
1011
1011
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeClustersResponse>;
|
|
1012
1012
|
/**
|
|
1013
|
-
* Queries all
|
|
1013
|
+
* Queries all existing clusters in ACK, including Kubernetes clusters and Swarm clusters.
|
|
1014
1014
|
*
|
|
1015
1015
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
1016
1016
|
*
|
|
@@ -1233,7 +1233,7 @@ export default class Client extends OpenApi {
|
|
|
1233
1233
|
*/
|
|
1234
1234
|
describePolicyInstancesStatus(clusterId: string): Promise<$_model.DescribePolicyInstancesStatusResponse>;
|
|
1235
1235
|
/**
|
|
1236
|
-
*
|
|
1236
|
+
* Queries the list of available regions.
|
|
1237
1237
|
*
|
|
1238
1238
|
* @param request - DescribeRegionsRequest
|
|
1239
1239
|
* @param headers - map
|
|
@@ -1244,7 +1244,7 @@ export default class Client extends OpenApi {
|
|
|
1244
1244
|
[key: string]: string;
|
|
1245
1245
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRegionsResponse>;
|
|
1246
1246
|
/**
|
|
1247
|
-
*
|
|
1247
|
+
* Queries the list of available regions.
|
|
1248
1248
|
*
|
|
1249
1249
|
* @param request - DescribeRegionsRequest
|
|
1250
1250
|
* @returns DescribeRegionsResponse
|
|
@@ -1644,7 +1644,7 @@ export default class Client extends OpenApi {
|
|
|
1644
1644
|
*/
|
|
1645
1645
|
installClusterAddons(ClusterId: string, request: $_model.InstallClusterAddonsRequest): Promise<$_model.InstallClusterAddonsResponse>;
|
|
1646
1646
|
/**
|
|
1647
|
-
*
|
|
1647
|
+
* Installs components onto the nodes within a specified node pool. This API supports custom configurations and allows you to target specific nodes for the installation.
|
|
1648
1648
|
*
|
|
1649
1649
|
* @param request - InstallNodePoolComponentsRequest
|
|
1650
1650
|
* @param headers - map
|
|
@@ -1655,7 +1655,7 @@ export default class Client extends OpenApi {
|
|
|
1655
1655
|
[key: string]: string;
|
|
1656
1656
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.InstallNodePoolComponentsResponse>;
|
|
1657
1657
|
/**
|
|
1658
|
-
*
|
|
1658
|
+
* Installs components onto the nodes within a specified node pool. This API supports custom configurations and allows you to target specific nodes for the installation.
|
|
1659
1659
|
*
|
|
1660
1660
|
* @param request - InstallNodePoolComponentsRequest
|
|
1661
1661
|
* @returns InstallNodePoolComponentsResponse
|
|
@@ -1680,7 +1680,7 @@ export default class Client extends OpenApi {
|
|
|
1680
1680
|
*/
|
|
1681
1681
|
listAddons(request: $_model.ListAddonsRequest): Promise<$_model.ListAddonsResponse>;
|
|
1682
1682
|
/**
|
|
1683
|
-
*
|
|
1683
|
+
* List auto-repair policies.
|
|
1684
1684
|
*
|
|
1685
1685
|
* @param headers - map
|
|
1686
1686
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1690,12 +1690,12 @@ export default class Client extends OpenApi {
|
|
|
1690
1690
|
[key: string]: string;
|
|
1691
1691
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAutoRepairPoliciesResponse>;
|
|
1692
1692
|
/**
|
|
1693
|
-
*
|
|
1693
|
+
* List auto-repair policies.
|
|
1694
1694
|
* @returns ListAutoRepairPoliciesResponse
|
|
1695
1695
|
*/
|
|
1696
1696
|
listAutoRepairPolicies(clusterId: string): Promise<$_model.ListAutoRepairPoliciesResponse>;
|
|
1697
1697
|
/**
|
|
1698
|
-
*
|
|
1698
|
+
* Queries the list of resources associated with installed cluster add-ons, including Kubernetes resources and Helm release information.
|
|
1699
1699
|
*
|
|
1700
1700
|
* @param headers - map
|
|
1701
1701
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1705,7 +1705,7 @@ export default class Client extends OpenApi {
|
|
|
1705
1705
|
[key: string]: string;
|
|
1706
1706
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListClusterAddonInstanceResourcesResponse>;
|
|
1707
1707
|
/**
|
|
1708
|
-
*
|
|
1708
|
+
* Queries the list of resources associated with installed cluster add-ons, including Kubernetes resources and Helm release information.
|
|
1709
1709
|
* @returns ListClusterAddonInstanceResourcesResponse
|
|
1710
1710
|
*/
|
|
1711
1711
|
listClusterAddonInstanceResources(clusterId: string, instanceName: string): Promise<$_model.ListClusterAddonInstanceResourcesResponse>;
|
|
@@ -2406,7 +2406,7 @@ export default class Client extends OpenApi {
|
|
|
2406
2406
|
*/
|
|
2407
2407
|
syncClusterNodePool(ClusterId: string): Promise<$_model.SyncClusterNodePoolResponse>;
|
|
2408
2408
|
/**
|
|
2409
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
2409
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
2410
2410
|
*
|
|
2411
2411
|
* @param request - TagResourcesRequest
|
|
2412
2412
|
* @param headers - map
|
|
@@ -2417,7 +2417,7 @@ export default class Client extends OpenApi {
|
|
|
2417
2417
|
[key: string]: string;
|
|
2418
2418
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.TagResourcesResponse>;
|
|
2419
2419
|
/**
|
|
2420
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
2420
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
2421
2421
|
*
|
|
2422
2422
|
* @param request - TagResourcesRequest
|
|
2423
2423
|
* @returns TagResourcesResponse
|
|
@@ -2564,7 +2564,7 @@ export default class Client extends OpenApi {
|
|
|
2564
2564
|
*/
|
|
2565
2565
|
updateK8sClusterUserConfigExpire(ClusterId: string, request: $_model.UpdateK8sClusterUserConfigExpireRequest): Promise<$_model.UpdateK8sClusterUserConfigExpireResponse>;
|
|
2566
2566
|
/**
|
|
2567
|
-
*
|
|
2567
|
+
* Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
|
|
2568
2568
|
*
|
|
2569
2569
|
* @param request - UpdateKMSEncryptionRequest
|
|
2570
2570
|
* @param headers - map
|
|
@@ -2575,14 +2575,14 @@ export default class Client extends OpenApi {
|
|
|
2575
2575
|
[key: string]: string;
|
|
2576
2576
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateKMSEncryptionResponse>;
|
|
2577
2577
|
/**
|
|
2578
|
-
*
|
|
2578
|
+
* Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
|
|
2579
2579
|
*
|
|
2580
2580
|
* @param request - UpdateKMSEncryptionRequest
|
|
2581
2581
|
* @returns UpdateKMSEncryptionResponse
|
|
2582
2582
|
*/
|
|
2583
2583
|
updateKMSEncryption(ClusterId: string, request: $_model.UpdateKMSEncryptionRequest): Promise<$_model.UpdateKMSEncryptionResponse>;
|
|
2584
2584
|
/**
|
|
2585
|
-
*
|
|
2585
|
+
* Updates a specific component within a node pool, such as the kubelet.
|
|
2586
2586
|
*
|
|
2587
2587
|
* @param request - UpdateNodePoolComponentRequest
|
|
2588
2588
|
* @param headers - map
|
|
@@ -2593,7 +2593,7 @@ export default class Client extends OpenApi {
|
|
|
2593
2593
|
[key: string]: string;
|
|
2594
2594
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateNodePoolComponentResponse>;
|
|
2595
2595
|
/**
|
|
2596
|
-
*
|
|
2596
|
+
* Updates a specific component within a node pool, such as the kubelet.
|
|
2597
2597
|
*
|
|
2598
2598
|
* @param request - UpdateNodePoolComponentRequest
|
|
2599
2599
|
* @returns UpdateNodePoolComponentResponse
|
|
@@ -2694,7 +2694,7 @@ export default class Client extends OpenApi {
|
|
|
2694
2694
|
*/
|
|
2695
2695
|
upgradeCluster(ClusterId: string, request: $_model.UpgradeClusterRequest): Promise<$_model.UpgradeClusterResponse>;
|
|
2696
2696
|
/**
|
|
2697
|
-
* Updates cluster
|
|
2697
|
+
* Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
2698
2698
|
*
|
|
2699
2699
|
* @param request - UpgradeClusterAddonsRequest
|
|
2700
2700
|
* @param headers - map
|
|
@@ -2705,7 +2705,7 @@ export default class Client extends OpenApi {
|
|
|
2705
2705
|
[key: string]: string;
|
|
2706
2706
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeClusterAddonsResponse>;
|
|
2707
2707
|
/**
|
|
2708
|
-
* Updates cluster
|
|
2708
|
+
* Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
2709
2709
|
*
|
|
2710
2710
|
* @param request - UpgradeClusterAddonsRequest
|
|
2711
2711
|
* @returns UpgradeClusterAddonsResponse
|
package/dist/client.js
CHANGED
|
@@ -554,7 +554,7 @@ class Client extends openapi_core_1.default {
|
|
|
554
554
|
return await this.cleanUserPermissionsWithOptions(Uid, request, headers, runtime);
|
|
555
555
|
}
|
|
556
556
|
/**
|
|
557
|
-
*
|
|
557
|
+
* Creates an auto-repair policy.
|
|
558
558
|
*
|
|
559
559
|
* @param request - CreateAutoRepairPolicyRequest
|
|
560
560
|
* @param headers - map
|
|
@@ -594,7 +594,7 @@ class Client extends openapi_core_1.default {
|
|
|
594
594
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAutoRepairPolicyResponse({}));
|
|
595
595
|
}
|
|
596
596
|
/**
|
|
597
|
-
*
|
|
597
|
+
* Creates an auto-repair policy.
|
|
598
598
|
*
|
|
599
599
|
* @param request - CreateAutoRepairPolicyRequest
|
|
600
600
|
* @returns CreateAutoRepairPolicyResponse
|
|
@@ -2405,6 +2405,12 @@ class Client extends openapi_core_1.default {
|
|
|
2405
2405
|
async describeClusterEventsWithOptions(ClusterId, request, headers, runtime) {
|
|
2406
2406
|
request.validate();
|
|
2407
2407
|
let query = {};
|
|
2408
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2409
|
+
query["max_results"] = request.maxResults;
|
|
2410
|
+
}
|
|
2411
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2412
|
+
query["next_token"] = request.nextToken;
|
|
2413
|
+
}
|
|
2408
2414
|
if (!$dara.isNull(request.pageNumber)) {
|
|
2409
2415
|
query["page_number"] = request.pageNumber;
|
|
2410
2416
|
}
|
|
@@ -2657,6 +2663,12 @@ class Client extends openapi_core_1.default {
|
|
|
2657
2663
|
async describeClusterTasksWithOptions(clusterId, request, headers, runtime) {
|
|
2658
2664
|
request.validate();
|
|
2659
2665
|
let query = {};
|
|
2666
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2667
|
+
query["max_results"] = request.maxResults;
|
|
2668
|
+
}
|
|
2669
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2670
|
+
query["next_token"] = request.nextToken;
|
|
2671
|
+
}
|
|
2660
2672
|
if (!$dara.isNull(request.pageNumber)) {
|
|
2661
2673
|
query["page_number"] = request.pageNumber;
|
|
2662
2674
|
}
|
|
@@ -2828,7 +2840,7 @@ class Client extends openapi_core_1.default {
|
|
|
2828
2840
|
return await this.describeClusterVulsWithOptions(clusterId, headers, runtime);
|
|
2829
2841
|
}
|
|
2830
2842
|
/**
|
|
2831
|
-
* Queries all
|
|
2843
|
+
* Queries all existing clusters in ACK, including Kubernetes clusters and Swarm clusters.
|
|
2832
2844
|
*
|
|
2833
2845
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
2834
2846
|
*
|
|
@@ -2867,7 +2879,7 @@ class Client extends openapi_core_1.default {
|
|
|
2867
2879
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeClustersResponse({}));
|
|
2868
2880
|
}
|
|
2869
2881
|
/**
|
|
2870
|
-
* Queries all
|
|
2882
|
+
* Queries all existing clusters in ACK, including Kubernetes clusters and Swarm clusters.
|
|
2871
2883
|
*
|
|
2872
2884
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
2873
2885
|
*
|
|
@@ -3017,6 +3029,12 @@ class Client extends openapi_core_1.default {
|
|
|
3017
3029
|
if (!$dara.isNull(request.clusterId)) {
|
|
3018
3030
|
query["cluster_id"] = request.clusterId;
|
|
3019
3031
|
}
|
|
3032
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3033
|
+
query["max_results"] = request.maxResults;
|
|
3034
|
+
}
|
|
3035
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3036
|
+
query["next_token"] = request.nextToken;
|
|
3037
|
+
}
|
|
3020
3038
|
if (!$dara.isNull(request.pageNumber)) {
|
|
3021
3039
|
query["page_number"] = request.pageNumber;
|
|
3022
3040
|
}
|
|
@@ -3068,6 +3086,12 @@ class Client extends openapi_core_1.default {
|
|
|
3068
3086
|
if (!$dara.isNull(request.clusterId)) {
|
|
3069
3087
|
query["cluster_id"] = request.clusterId;
|
|
3070
3088
|
}
|
|
3089
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3090
|
+
query["max_results"] = request.maxResults;
|
|
3091
|
+
}
|
|
3092
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3093
|
+
query["next_token"] = request.nextToken;
|
|
3094
|
+
}
|
|
3071
3095
|
if (!$dara.isNull(request.pageNumber)) {
|
|
3072
3096
|
query["page_number"] = request.pageNumber;
|
|
3073
3097
|
}
|
|
@@ -3438,7 +3462,7 @@ class Client extends openapi_core_1.default {
|
|
|
3438
3462
|
return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
|
|
3439
3463
|
}
|
|
3440
3464
|
/**
|
|
3441
|
-
*
|
|
3465
|
+
* Queries the list of available regions.
|
|
3442
3466
|
*
|
|
3443
3467
|
* @param request - DescribeRegionsRequest
|
|
3444
3468
|
* @param headers - map
|
|
@@ -3475,7 +3499,7 @@ class Client extends openapi_core_1.default {
|
|
|
3475
3499
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRegionsResponse({}));
|
|
3476
3500
|
}
|
|
3477
3501
|
/**
|
|
3478
|
-
*
|
|
3502
|
+
* Queries the list of available regions.
|
|
3479
3503
|
*
|
|
3480
3504
|
* @param request - DescribeRegionsRequest
|
|
3481
3505
|
* @returns DescribeRegionsResponse
|
|
@@ -4380,7 +4404,7 @@ class Client extends openapi_core_1.default {
|
|
|
4380
4404
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
4381
4405
|
}
|
|
4382
4406
|
/**
|
|
4383
|
-
*
|
|
4407
|
+
* Installs components onto the nodes within a specified node pool. This API supports custom configurations and allows you to target specific nodes for the installation.
|
|
4384
4408
|
*
|
|
4385
4409
|
* @param request - InstallNodePoolComponentsRequest
|
|
4386
4410
|
* @param headers - map
|
|
@@ -4417,7 +4441,7 @@ class Client extends openapi_core_1.default {
|
|
|
4417
4441
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallNodePoolComponentsResponse({}));
|
|
4418
4442
|
}
|
|
4419
4443
|
/**
|
|
4420
|
-
*
|
|
4444
|
+
* Installs components onto the nodes within a specified node pool. This API supports custom configurations and allows you to target specific nodes for the installation.
|
|
4421
4445
|
*
|
|
4422
4446
|
* @param request - InstallNodePoolComponentsRequest
|
|
4423
4447
|
* @returns InstallNodePoolComponentsResponse
|
|
@@ -4485,7 +4509,7 @@ class Client extends openapi_core_1.default {
|
|
|
4485
4509
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
4486
4510
|
}
|
|
4487
4511
|
/**
|
|
4488
|
-
*
|
|
4512
|
+
* List auto-repair policies.
|
|
4489
4513
|
*
|
|
4490
4514
|
* @param headers - map
|
|
4491
4515
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4509,7 +4533,7 @@ class Client extends openapi_core_1.default {
|
|
|
4509
4533
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAutoRepairPoliciesResponse({}));
|
|
4510
4534
|
}
|
|
4511
4535
|
/**
|
|
4512
|
-
*
|
|
4536
|
+
* List auto-repair policies.
|
|
4513
4537
|
* @returns ListAutoRepairPoliciesResponse
|
|
4514
4538
|
*/
|
|
4515
4539
|
async listAutoRepairPolicies(clusterId) {
|
|
@@ -4518,7 +4542,7 @@ class Client extends openapi_core_1.default {
|
|
|
4518
4542
|
return await this.listAutoRepairPoliciesWithOptions(clusterId, headers, runtime);
|
|
4519
4543
|
}
|
|
4520
4544
|
/**
|
|
4521
|
-
*
|
|
4545
|
+
* Queries the list of resources associated with installed cluster add-ons, including Kubernetes resources and Helm release information.
|
|
4522
4546
|
*
|
|
4523
4547
|
* @param headers - map
|
|
4524
4548
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4542,7 +4566,7 @@ class Client extends openapi_core_1.default {
|
|
|
4542
4566
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListClusterAddonInstanceResourcesResponse({}));
|
|
4543
4567
|
}
|
|
4544
4568
|
/**
|
|
4545
|
-
*
|
|
4569
|
+
* Queries the list of resources associated with installed cluster add-ons, including Kubernetes resources and Helm release information.
|
|
4546
4570
|
* @returns ListClusterAddonInstanceResourcesResponse
|
|
4547
4571
|
*/
|
|
4548
4572
|
async listClusterAddonInstanceResources(clusterId, instanceName) {
|
|
@@ -6278,7 +6302,7 @@ class Client extends openapi_core_1.default {
|
|
|
6278
6302
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
6279
6303
|
}
|
|
6280
6304
|
/**
|
|
6281
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
6305
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
6282
6306
|
*
|
|
6283
6307
|
* @param request - TagResourcesRequest
|
|
6284
6308
|
* @param headers - map
|
|
@@ -6318,7 +6342,7 @@ class Client extends openapi_core_1.default {
|
|
|
6318
6342
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
|
|
6319
6343
|
}
|
|
6320
6344
|
/**
|
|
6321
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
6345
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
6322
6346
|
*
|
|
6323
6347
|
* @param request - TagResourcesRequest
|
|
6324
6348
|
* @returns TagResourcesResponse
|
|
@@ -6683,7 +6707,7 @@ class Client extends openapi_core_1.default {
|
|
|
6683
6707
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
6684
6708
|
}
|
|
6685
6709
|
/**
|
|
6686
|
-
*
|
|
6710
|
+
* Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
|
|
6687
6711
|
*
|
|
6688
6712
|
* @param request - UpdateKMSEncryptionRequest
|
|
6689
6713
|
* @param headers - map
|
|
@@ -6717,7 +6741,7 @@ class Client extends openapi_core_1.default {
|
|
|
6717
6741
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateKMSEncryptionResponse({}));
|
|
6718
6742
|
}
|
|
6719
6743
|
/**
|
|
6720
|
-
*
|
|
6744
|
+
* Updates the Secret encryption at rest configuration for a specified cluster by cluster ID.
|
|
6721
6745
|
*
|
|
6722
6746
|
* @param request - UpdateKMSEncryptionRequest
|
|
6723
6747
|
* @returns UpdateKMSEncryptionResponse
|
|
@@ -6728,7 +6752,7 @@ class Client extends openapi_core_1.default {
|
|
|
6728
6752
|
return await this.updateKMSEncryptionWithOptions(ClusterId, request, headers, runtime);
|
|
6729
6753
|
}
|
|
6730
6754
|
/**
|
|
6731
|
-
*
|
|
6755
|
+
* Updates a specific component within a node pool, such as the kubelet.
|
|
6732
6756
|
*
|
|
6733
6757
|
* @param request - UpdateNodePoolComponentRequest
|
|
6734
6758
|
* @param headers - map
|
|
@@ -6774,7 +6798,7 @@ class Client extends openapi_core_1.default {
|
|
|
6774
6798
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateNodePoolComponentResponse({}));
|
|
6775
6799
|
}
|
|
6776
6800
|
/**
|
|
6777
|
-
*
|
|
6801
|
+
* Updates a specific component within a node pool, such as the kubelet.
|
|
6778
6802
|
*
|
|
6779
6803
|
* @param request - UpdateNodePoolComponentRequest
|
|
6780
6804
|
* @returns UpdateNodePoolComponentResponse
|
|
@@ -7009,7 +7033,7 @@ class Client extends openapi_core_1.default {
|
|
|
7009
7033
|
return await this.upgradeClusterWithOptions(ClusterId, request, headers, runtime);
|
|
7010
7034
|
}
|
|
7011
7035
|
/**
|
|
7012
|
-
* Updates cluster
|
|
7036
|
+
* Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
7013
7037
|
*
|
|
7014
7038
|
* @param request - UpgradeClusterAddonsRequest
|
|
7015
7039
|
* @param headers - map
|
|
@@ -7036,7 +7060,7 @@ class Client extends openapi_core_1.default {
|
|
|
7036
7060
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeClusterAddonsResponse({}));
|
|
7037
7061
|
}
|
|
7038
7062
|
/**
|
|
7039
|
-
* Updates cluster
|
|
7063
|
+
* Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
7040
7064
|
*
|
|
7041
7065
|
* @param request - UpgradeClusterAddonsRequest
|
|
7042
7066
|
* @returns UpgradeClusterAddonsResponse
|