@alicloud/cs20151215 4.7.4 → 4.7.6
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 +964 -668
- package/dist/client.js +112 -89
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +983 -669
package/dist/client.js
CHANGED
|
@@ -528,7 +528,7 @@ exports.CancelComponentUpgradeResponse = CancelComponentUpgradeResponse;
|
|
|
528
528
|
class CancelOperationPlanResponseBody extends $tea.Model {
|
|
529
529
|
static names() {
|
|
530
530
|
return {
|
|
531
|
-
requestId: '
|
|
531
|
+
requestId: 'request_id',
|
|
532
532
|
};
|
|
533
533
|
}
|
|
534
534
|
static types() {
|
|
@@ -881,6 +881,8 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
881
881
|
accessControlList: 'access_control_list',
|
|
882
882
|
addons: 'addons',
|
|
883
883
|
apiAudiences: 'api_audiences',
|
|
884
|
+
autoRenew: 'auto_renew',
|
|
885
|
+
autoRenewPeriod: 'auto_renew_period',
|
|
884
886
|
chargeType: 'charge_type',
|
|
885
887
|
cisEnabled: 'cis_enabled',
|
|
886
888
|
cloudMonitorFlags: 'cloud_monitor_flags',
|
|
@@ -970,6 +972,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
970
972
|
workerSystemDiskSnapshotPolicyId: 'worker_system_disk_snapshot_policy_id',
|
|
971
973
|
workerVswitchIds: 'worker_vswitch_ids',
|
|
972
974
|
zoneId: 'zone_id',
|
|
975
|
+
zoneIds: 'zone_ids',
|
|
973
976
|
};
|
|
974
977
|
}
|
|
975
978
|
static types() {
|
|
@@ -977,6 +980,8 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
977
980
|
accessControlList: { 'type': 'array', 'itemType': 'string' },
|
|
978
981
|
addons: { 'type': 'array', 'itemType': Addon },
|
|
979
982
|
apiAudiences: 'string',
|
|
983
|
+
autoRenew: 'boolean',
|
|
984
|
+
autoRenewPeriod: 'number',
|
|
980
985
|
chargeType: 'string',
|
|
981
986
|
cisEnabled: 'boolean',
|
|
982
987
|
cloudMonitorFlags: 'boolean',
|
|
@@ -1066,6 +1071,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
1066
1071
|
workerSystemDiskSnapshotPolicyId: 'string',
|
|
1067
1072
|
workerVswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
1068
1073
|
zoneId: 'string',
|
|
1074
|
+
zoneIds: { 'type': 'array', 'itemType': 'string' },
|
|
1069
1075
|
};
|
|
1070
1076
|
}
|
|
1071
1077
|
constructor(map) {
|
|
@@ -11481,7 +11487,7 @@ class Client extends openapi_client_1.default {
|
|
|
11481
11487
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
11482
11488
|
}
|
|
11483
11489
|
/**
|
|
11484
|
-
*
|
|
11490
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
11485
11491
|
*
|
|
11486
11492
|
* @param request - AttachInstancesRequest
|
|
11487
11493
|
* @param headers - map
|
|
@@ -11548,7 +11554,7 @@ class Client extends openapi_client_1.default {
|
|
|
11548
11554
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
11549
11555
|
}
|
|
11550
11556
|
/**
|
|
11551
|
-
*
|
|
11557
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
11552
11558
|
*
|
|
11553
11559
|
* @param request - AttachInstancesRequest
|
|
11554
11560
|
* @returns AttachInstancesResponse
|
|
@@ -11835,7 +11841,7 @@ class Client extends openapi_client_1.default {
|
|
|
11835
11841
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
11836
11842
|
}
|
|
11837
11843
|
/**
|
|
11838
|
-
*
|
|
11844
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
11839
11845
|
*
|
|
11840
11846
|
* @param request - CheckServiceRoleRequest
|
|
11841
11847
|
* @param headers - map
|
|
@@ -11866,7 +11872,7 @@ class Client extends openapi_client_1.default {
|
|
|
11866
11872
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckServiceRoleResponse({}));
|
|
11867
11873
|
}
|
|
11868
11874
|
/**
|
|
11869
|
-
*
|
|
11875
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
11870
11876
|
*
|
|
11871
11877
|
* @param request - CheckServiceRoleRequest
|
|
11872
11878
|
* @returns CheckServiceRoleResponse
|
|
@@ -11881,7 +11887,7 @@ class Client extends openapi_client_1.default {
|
|
|
11881
11887
|
*
|
|
11882
11888
|
* @remarks
|
|
11883
11889
|
* >
|
|
11884
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
11890
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
11885
11891
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
11886
11892
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
11887
11893
|
*
|
|
@@ -11918,7 +11924,7 @@ class Client extends openapi_client_1.default {
|
|
|
11918
11924
|
*
|
|
11919
11925
|
* @remarks
|
|
11920
11926
|
* >
|
|
11921
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
11927
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
11922
11928
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
11923
11929
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
11924
11930
|
*
|
|
@@ -12075,13 +12081,13 @@ class Client extends openapi_client_1.default {
|
|
|
12075
12081
|
* You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
12076
12082
|
*
|
|
12077
12083
|
* @remarks
|
|
12078
|
-
* This topic describes all parameters for creating
|
|
12079
|
-
* * [
|
|
12080
|
-
* * [
|
|
12081
|
-
* * [
|
|
12082
|
-
* * [
|
|
12083
|
-
* * [
|
|
12084
|
-
* * [
|
|
12084
|
+
* This topic describes all request parameters for creating a Container Service for Kubernetes (ACK) cluster. For more information about how to call the API to create each type of ACK cluster, refer to the following topics:
|
|
12085
|
+
* * [Call the API to create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
12086
|
+
* * [Call the API to create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
12087
|
+
* * [Call the API to create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
12088
|
+
* * [Call the API to create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
12089
|
+
* * [Call the API to create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
12090
|
+
* * [Call the API to create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
12085
12091
|
*
|
|
12086
12092
|
* @param request - CreateClusterRequest
|
|
12087
12093
|
* @param headers - map
|
|
@@ -12100,6 +12106,12 @@ class Client extends openapi_client_1.default {
|
|
|
12100
12106
|
if (!tea_util_1.default.isUnset(request.apiAudiences)) {
|
|
12101
12107
|
body["api_audiences"] = request.apiAudiences;
|
|
12102
12108
|
}
|
|
12109
|
+
if (!tea_util_1.default.isUnset(request.autoRenew)) {
|
|
12110
|
+
body["auto_renew"] = request.autoRenew;
|
|
12111
|
+
}
|
|
12112
|
+
if (!tea_util_1.default.isUnset(request.autoRenewPeriod)) {
|
|
12113
|
+
body["auto_renew_period"] = request.autoRenewPeriod;
|
|
12114
|
+
}
|
|
12103
12115
|
if (!tea_util_1.default.isUnset(request.chargeType)) {
|
|
12104
12116
|
body["charge_type"] = request.chargeType;
|
|
12105
12117
|
}
|
|
@@ -12367,6 +12379,9 @@ class Client extends openapi_client_1.default {
|
|
|
12367
12379
|
if (!tea_util_1.default.isUnset(request.zoneId)) {
|
|
12368
12380
|
body["zone_id"] = request.zoneId;
|
|
12369
12381
|
}
|
|
12382
|
+
if (!tea_util_1.default.isUnset(request.zoneIds)) {
|
|
12383
|
+
body["zone_ids"] = request.zoneIds;
|
|
12384
|
+
}
|
|
12370
12385
|
let req = new $OpenApi.OpenApiRequest({
|
|
12371
12386
|
headers: headers,
|
|
12372
12387
|
body: openapi_util_1.default.parseToMap(body),
|
|
@@ -12388,13 +12403,13 @@ class Client extends openapi_client_1.default {
|
|
|
12388
12403
|
* You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
12389
12404
|
*
|
|
12390
12405
|
* @remarks
|
|
12391
|
-
* This topic describes all parameters for creating
|
|
12392
|
-
* * [
|
|
12393
|
-
* * [
|
|
12394
|
-
* * [
|
|
12395
|
-
* * [
|
|
12396
|
-
* * [
|
|
12397
|
-
* * [
|
|
12406
|
+
* This topic describes all request parameters for creating a Container Service for Kubernetes (ACK) cluster. For more information about how to call the API to create each type of ACK cluster, refer to the following topics:
|
|
12407
|
+
* * [Call the API to create an ACK managed cluster](https://help.aliyun.com/document_detail/90776.html)
|
|
12408
|
+
* * [Call the API to create an ACK dedicated cluster](https://help.aliyun.com/document_detail/197620.html)
|
|
12409
|
+
* * [Call the API to create an ACK Serverless cluster](https://help.aliyun.com/document_detail/144246.html)
|
|
12410
|
+
* * [Call the API to create an ACK Edge cluster](https://help.aliyun.com/document_detail/128204.html)
|
|
12411
|
+
* * [Call the API to create an ACK Basic cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/196321.html)
|
|
12412
|
+
* * [Call the API to create an ACK Pro cluster that supports sandboxed containers](https://help.aliyun.com/document_detail/140623.html)
|
|
12398
12413
|
*
|
|
12399
12414
|
* @param request - CreateClusterRequest
|
|
12400
12415
|
* @returns CreateClusterResponse
|
|
@@ -12675,7 +12690,7 @@ class Client extends openapi_client_1.default {
|
|
|
12675
12690
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
12676
12691
|
}
|
|
12677
12692
|
/**
|
|
12678
|
-
*
|
|
12693
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
12679
12694
|
*
|
|
12680
12695
|
* @param request - CreateTriggerRequest
|
|
12681
12696
|
* @param headers - map
|
|
@@ -12715,7 +12730,7 @@ class Client extends openapi_client_1.default {
|
|
|
12715
12730
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
12716
12731
|
}
|
|
12717
12732
|
/**
|
|
12718
|
-
*
|
|
12733
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
12719
12734
|
*
|
|
12720
12735
|
* @param request - CreateTriggerRequest
|
|
12721
12736
|
* @returns CreateTriggerResponse
|
|
@@ -12924,8 +12939,10 @@ class Client extends openapi_client_1.default {
|
|
|
12924
12939
|
* Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
12925
12940
|
*
|
|
12926
12941
|
* @remarks
|
|
12927
|
-
*
|
|
12928
|
-
* *
|
|
12942
|
+
* When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
12943
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
12944
|
+
* * When the system removes a node, it sets the status of the node to Unschedulable.
|
|
12945
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
12929
12946
|
*
|
|
12930
12947
|
* @param request - DeleteClusterNodesRequest
|
|
12931
12948
|
* @param headers - map
|
|
@@ -12965,8 +12982,10 @@ class Client extends openapi_client_1.default {
|
|
|
12965
12982
|
* Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
12966
12983
|
*
|
|
12967
12984
|
* @remarks
|
|
12968
|
-
*
|
|
12969
|
-
* *
|
|
12985
|
+
* When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
12986
|
+
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
12987
|
+
* * When the system removes a node, it sets the status of the node to Unschedulable.
|
|
12988
|
+
* * The system removes only worker nodes. It does not remove master nodes.
|
|
12970
12989
|
*
|
|
12971
12990
|
* @param request - DeleteClusterNodesRequest
|
|
12972
12991
|
* @returns DeleteClusterNodesResponse
|
|
@@ -13127,7 +13146,7 @@ class Client extends openapi_client_1.default {
|
|
|
13127
13146
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
13128
13147
|
}
|
|
13129
13148
|
/**
|
|
13130
|
-
*
|
|
13149
|
+
* Deletes an application trigger.
|
|
13131
13150
|
*
|
|
13132
13151
|
* @param headers - map
|
|
13133
13152
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13151,7 +13170,7 @@ class Client extends openapi_client_1.default {
|
|
|
13151
13170
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
13152
13171
|
}
|
|
13153
13172
|
/**
|
|
13154
|
-
*
|
|
13173
|
+
* Deletes an application trigger.
|
|
13155
13174
|
* @returns DeleteTriggerResponse
|
|
13156
13175
|
*/
|
|
13157
13176
|
async deleteTrigger(clusterId, Id) {
|
|
@@ -13247,7 +13266,7 @@ class Client extends openapi_client_1.default {
|
|
|
13247
13266
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
13248
13267
|
}
|
|
13249
13268
|
/**
|
|
13250
|
-
*
|
|
13269
|
+
* Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
|
|
13251
13270
|
*
|
|
13252
13271
|
* @param request - DescribeAddonRequest
|
|
13253
13272
|
* @param headers - map
|
|
@@ -13296,7 +13315,7 @@ class Client extends openapi_client_1.default {
|
|
|
13296
13315
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
13297
13316
|
}
|
|
13298
13317
|
/**
|
|
13299
|
-
*
|
|
13318
|
+
* Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
|
|
13300
13319
|
*
|
|
13301
13320
|
* @param request - DescribeAddonRequest
|
|
13302
13321
|
* @returns DescribeAddonResponse
|
|
@@ -13585,7 +13604,7 @@ class Client extends openapi_client_1.default {
|
|
|
13585
13604
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
13586
13605
|
}
|
|
13587
13606
|
/**
|
|
13588
|
-
* Queries the
|
|
13607
|
+
* Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
|
|
13589
13608
|
*
|
|
13590
13609
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
13591
13610
|
* @param headers - map
|
|
@@ -13631,7 +13650,7 @@ class Client extends openapi_client_1.default {
|
|
|
13631
13650
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
13632
13651
|
}
|
|
13633
13652
|
/**
|
|
13634
|
-
* Queries the
|
|
13653
|
+
* Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
|
|
13635
13654
|
*
|
|
13636
13655
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
13637
13656
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -13975,8 +13994,7 @@ class Client extends openapi_client_1.default {
|
|
|
13975
13994
|
* Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
13976
13995
|
*
|
|
13977
13996
|
* @remarks
|
|
13978
|
-
*
|
|
13979
|
-
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
13997
|
+
* > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
13980
13998
|
*
|
|
13981
13999
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
13982
14000
|
* @param headers - map
|
|
@@ -14013,8 +14031,7 @@ class Client extends openapi_client_1.default {
|
|
|
14013
14031
|
* Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
14014
14032
|
*
|
|
14015
14033
|
* @remarks
|
|
14016
|
-
*
|
|
14017
|
-
* ****The default validity period of a kubeconfig file is 3 years. Two months before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the secret is valid for 3 years. The previous kubeconfig secret remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
14034
|
+
* > The default validity period of a kubeconfig file is 3 years. 180 days before a kubeconfig file expires, you can renew it in the Container Service for Kubernetes (ACK) console or by calling API operations. After a kubeconfig file is renewed, the kubeconfig file is valid for 3 years. The previous kubeconfig file still remains valid until expiration. We recommend that you renew your kubeconfig file at the earliest opportunity.
|
|
14018
14035
|
*
|
|
14019
14036
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
14020
14037
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -14106,7 +14123,7 @@ class Client extends openapi_client_1.default {
|
|
|
14106
14123
|
return await this.describeClusterVulsWithOptions(clusterId, headers, runtime);
|
|
14107
14124
|
}
|
|
14108
14125
|
/**
|
|
14109
|
-
*
|
|
14126
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
14110
14127
|
*
|
|
14111
14128
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
14112
14129
|
*
|
|
@@ -14146,7 +14163,7 @@ class Client extends openapi_client_1.default {
|
|
|
14146
14163
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
|
|
14147
14164
|
}
|
|
14148
14165
|
/**
|
|
14149
|
-
*
|
|
14166
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
14150
14167
|
*
|
|
14151
14168
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
14152
14169
|
*
|
|
@@ -14160,7 +14177,7 @@ class Client extends openapi_client_1.default {
|
|
|
14160
14177
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
14161
14178
|
}
|
|
14162
14179
|
/**
|
|
14163
|
-
*
|
|
14180
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
14164
14181
|
*
|
|
14165
14182
|
* @param request - DescribeClustersV1Request
|
|
14166
14183
|
* @param headers - map
|
|
@@ -14212,7 +14229,7 @@ class Client extends openapi_client_1.default {
|
|
|
14212
14229
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
14213
14230
|
}
|
|
14214
14231
|
/**
|
|
14215
|
-
*
|
|
14232
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
14216
14233
|
*
|
|
14217
14234
|
* @param request - DescribeClustersV1Request
|
|
14218
14235
|
* @returns DescribeClustersV1Response
|
|
@@ -14430,7 +14447,7 @@ class Client extends openapi_client_1.default {
|
|
|
14430
14447
|
return await this.describeEventsWithOptions(request, headers, runtime);
|
|
14431
14448
|
}
|
|
14432
14449
|
/**
|
|
14433
|
-
*
|
|
14450
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
14434
14451
|
*
|
|
14435
14452
|
* @remarks
|
|
14436
14453
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -14467,7 +14484,7 @@ class Client extends openapi_client_1.default {
|
|
|
14467
14484
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
14468
14485
|
}
|
|
14469
14486
|
/**
|
|
14470
|
-
*
|
|
14487
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
14471
14488
|
*
|
|
14472
14489
|
* @remarks
|
|
14473
14490
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -14616,7 +14633,7 @@ class Client extends openapi_client_1.default {
|
|
|
14616
14633
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
14617
14634
|
}
|
|
14618
14635
|
/**
|
|
14619
|
-
*
|
|
14636
|
+
* Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
|
|
14620
14637
|
*
|
|
14621
14638
|
* @param headers - map
|
|
14622
14639
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14640,7 +14657,7 @@ class Client extends openapi_client_1.default {
|
|
|
14640
14657
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
14641
14658
|
}
|
|
14642
14659
|
/**
|
|
14643
|
-
*
|
|
14660
|
+
* Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
|
|
14644
14661
|
* @returns DescribePolicyDetailsResponse
|
|
14645
14662
|
*/
|
|
14646
14663
|
async describePolicyDetails(policyName) {
|
|
@@ -14649,7 +14666,7 @@ class Client extends openapi_client_1.default {
|
|
|
14649
14666
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
14650
14667
|
}
|
|
14651
14668
|
/**
|
|
14652
|
-
*
|
|
14669
|
+
* Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
|
|
14653
14670
|
*
|
|
14654
14671
|
* @param headers - map
|
|
14655
14672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14673,7 +14690,7 @@ class Client extends openapi_client_1.default {
|
|
|
14673
14690
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
14674
14691
|
}
|
|
14675
14692
|
/**
|
|
14676
|
-
*
|
|
14693
|
+
* Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
|
|
14677
14694
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
14678
14695
|
*/
|
|
14679
14696
|
async describePolicyGovernanceInCluster(clusterId) {
|
|
@@ -14981,7 +14998,7 @@ class Client extends openapi_client_1.default {
|
|
|
14981
14998
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
14982
14999
|
}
|
|
14983
15000
|
/**
|
|
14984
|
-
*
|
|
15001
|
+
* Queries triggers that match specific conditions.
|
|
14985
15002
|
*
|
|
14986
15003
|
* @param request - DescribeTriggerRequest
|
|
14987
15004
|
* @param headers - map
|
|
@@ -15021,7 +15038,7 @@ class Client extends openapi_client_1.default {
|
|
|
15021
15038
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
15022
15039
|
}
|
|
15023
15040
|
/**
|
|
15024
|
-
*
|
|
15041
|
+
* Queries triggers that match specific conditions.
|
|
15025
15042
|
*
|
|
15026
15043
|
* @param request - DescribeTriggerRequest
|
|
15027
15044
|
* @returns DescribeTriggerResponse
|
|
@@ -15032,7 +15049,7 @@ class Client extends openapi_client_1.default {
|
|
|
15032
15049
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
15033
15050
|
}
|
|
15034
15051
|
/**
|
|
15035
|
-
*
|
|
15052
|
+
* You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
|
|
15036
15053
|
*
|
|
15037
15054
|
* @param headers - map
|
|
15038
15055
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15056,7 +15073,7 @@ class Client extends openapi_client_1.default {
|
|
|
15056
15073
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
15057
15074
|
}
|
|
15058
15075
|
/**
|
|
15059
|
-
*
|
|
15076
|
+
* You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
|
|
15060
15077
|
* @returns DescribeUserClusterNamespacesResponse
|
|
15061
15078
|
*/
|
|
15062
15079
|
async describeUserClusterNamespaces(ClusterId) {
|
|
@@ -15067,6 +15084,10 @@ class Client extends openapi_client_1.default {
|
|
|
15067
15084
|
/**
|
|
15068
15085
|
* In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
15069
15086
|
*
|
|
15087
|
+
* @remarks
|
|
15088
|
+
* *Precautions**:
|
|
15089
|
+
* * If you call this operation as a Resource Access Management (RAM) user or by assuming a RAM role, only the permissions granted on the clusters on which the current account has the role-based access control (RBAC) administrator permissions are returned. If you want to query the permissions on all clusters, you must use an account that has the RBAC administrator permissions on all clusters.
|
|
15090
|
+
*
|
|
15070
15091
|
* @param headers - map
|
|
15071
15092
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
15072
15093
|
* @returns DescribeUserPermissionResponse
|
|
@@ -15090,6 +15111,10 @@ class Client extends openapi_client_1.default {
|
|
|
15090
15111
|
}
|
|
15091
15112
|
/**
|
|
15092
15113
|
* In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
15114
|
+
*
|
|
15115
|
+
* @remarks
|
|
15116
|
+
* *Precautions**:
|
|
15117
|
+
* * If you call this operation as a Resource Access Management (RAM) user or by assuming a RAM role, only the permissions granted on the clusters on which the current account has the role-based access control (RBAC) administrator permissions are returned. If you want to query the permissions on all clusters, you must use an account that has the RBAC administrator permissions on all clusters.
|
|
15093
15118
|
* @returns DescribeUserPermissionResponse
|
|
15094
15119
|
*/
|
|
15095
15120
|
async describeUserPermission(uid) {
|
|
@@ -15621,7 +15646,7 @@ class Client extends openapi_client_1.default {
|
|
|
15621
15646
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
15622
15647
|
}
|
|
15623
15648
|
/**
|
|
15624
|
-
*
|
|
15649
|
+
* Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
|
|
15625
15650
|
*
|
|
15626
15651
|
* @param request - ListAddonsRequest
|
|
15627
15652
|
* @param headers - map
|
|
@@ -15667,7 +15692,7 @@ class Client extends openapi_client_1.default {
|
|
|
15667
15692
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
15668
15693
|
}
|
|
15669
15694
|
/**
|
|
15670
|
-
*
|
|
15695
|
+
* Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
|
|
15671
15696
|
*
|
|
15672
15697
|
* @param request - ListAddonsRequest
|
|
15673
15698
|
* @returns ListAddonsResponse
|
|
@@ -15678,7 +15703,7 @@ class Client extends openapi_client_1.default {
|
|
|
15678
15703
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
15679
15704
|
}
|
|
15680
15705
|
/**
|
|
15681
|
-
*
|
|
15706
|
+
* Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
|
|
15682
15707
|
*
|
|
15683
15708
|
* @param headers - map
|
|
15684
15709
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15702,7 +15727,7 @@ class Client extends openapi_client_1.default {
|
|
|
15702
15727
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
15703
15728
|
}
|
|
15704
15729
|
/**
|
|
15705
|
-
*
|
|
15730
|
+
* Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
|
|
15706
15731
|
* @returns ListClusterAddonInstancesResponse
|
|
15707
15732
|
*/
|
|
15708
15733
|
async listClusterAddonInstances(clusterId) {
|
|
@@ -15759,9 +15784,8 @@ class Client extends openapi_client_1.default {
|
|
|
15759
15784
|
* You can call the ListClusterKubeconfigStates operation to query the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
15760
15785
|
*
|
|
15761
15786
|
* @remarks
|
|
15762
|
-
* >
|
|
15763
|
-
*
|
|
15764
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
15787
|
+
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
15788
|
+
* > - To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
15765
15789
|
*
|
|
15766
15790
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
15767
15791
|
* @param headers - map
|
|
@@ -15798,9 +15822,8 @@ class Client extends openapi_client_1.default {
|
|
|
15798
15822
|
* You can call the ListClusterKubeconfigStates operation to query the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
15799
15823
|
*
|
|
15800
15824
|
* @remarks
|
|
15801
|
-
* >
|
|
15802
|
-
*
|
|
15803
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
15825
|
+
* > - To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
15826
|
+
* > - To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
15804
15827
|
*
|
|
15805
15828
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
15806
15829
|
* @returns ListClusterKubeconfigStatesResponse
|
|
@@ -15811,7 +15834,7 @@ class Client extends openapi_client_1.default {
|
|
|
15811
15834
|
return await this.listClusterKubeconfigStatesWithOptions(ClusterId, request, headers, runtime);
|
|
15812
15835
|
}
|
|
15813
15836
|
/**
|
|
15814
|
-
*
|
|
15837
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
15815
15838
|
*
|
|
15816
15839
|
* @param request - ListOperationPlansRequest
|
|
15817
15840
|
* @param headers - map
|
|
@@ -15845,7 +15868,7 @@ class Client extends openapi_client_1.default {
|
|
|
15845
15868
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
15846
15869
|
}
|
|
15847
15870
|
/**
|
|
15848
|
-
*
|
|
15871
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
15849
15872
|
*
|
|
15850
15873
|
* @param request - ListOperationPlansRequest
|
|
15851
15874
|
* @returns ListOperationPlansResponse
|
|
@@ -16099,8 +16122,8 @@ class Client extends openapi_client_1.default {
|
|
|
16099
16122
|
*
|
|
16100
16123
|
* @remarks
|
|
16101
16124
|
* You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
16102
|
-
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://
|
|
16103
|
-
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://
|
|
16125
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://help.aliyun.com/document_detail/2667944.html).
|
|
16126
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://help.aliyun.com/document_detail/199588.html).
|
|
16104
16127
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
16105
16128
|
*
|
|
16106
16129
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -16136,8 +16159,8 @@ class Client extends openapi_client_1.default {
|
|
|
16136
16159
|
*
|
|
16137
16160
|
* @remarks
|
|
16138
16161
|
* You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
16139
|
-
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://
|
|
16140
|
-
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://
|
|
16162
|
+
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://help.aliyun.com/document_detail/2667944.html).
|
|
16163
|
+
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://help.aliyun.com/document_detail/199588.html).
|
|
16141
16164
|
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
16142
16165
|
*
|
|
16143
16166
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -16254,7 +16277,7 @@ class Client extends openapi_client_1.default {
|
|
|
16254
16277
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
16255
16278
|
}
|
|
16256
16279
|
/**
|
|
16257
|
-
*
|
|
16280
|
+
* 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 ModifyClusterTags operation to modify the labels of a cluster.
|
|
16258
16281
|
*
|
|
16259
16282
|
* @param request - ModifyClusterTagsRequest
|
|
16260
16283
|
* @param headers - map
|
|
@@ -16281,7 +16304,7 @@ class Client extends openapi_client_1.default {
|
|
|
16281
16304
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
16282
16305
|
}
|
|
16283
16306
|
/**
|
|
16284
|
-
*
|
|
16307
|
+
* 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 ModifyClusterTags operation to modify the labels of a cluster.
|
|
16285
16308
|
*
|
|
16286
16309
|
* @param request - ModifyClusterTagsRequest
|
|
16287
16310
|
* @returns ModifyClusterTagsResponse
|
|
@@ -16397,7 +16420,7 @@ class Client extends openapi_client_1.default {
|
|
|
16397
16420
|
return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
16398
16421
|
}
|
|
16399
16422
|
/**
|
|
16400
|
-
*
|
|
16423
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
|
|
16401
16424
|
*
|
|
16402
16425
|
* @remarks
|
|
16403
16426
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -16432,7 +16455,7 @@ class Client extends openapi_client_1.default {
|
|
|
16432
16455
|
return $tea.cast(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
|
|
16433
16456
|
}
|
|
16434
16457
|
/**
|
|
16435
|
-
*
|
|
16458
|
+
* When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
|
|
16436
16459
|
*
|
|
16437
16460
|
* @remarks
|
|
16438
16461
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -16737,7 +16760,7 @@ class Client extends openapi_client_1.default {
|
|
|
16737
16760
|
return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
|
|
16738
16761
|
}
|
|
16739
16762
|
/**
|
|
16740
|
-
*
|
|
16763
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
16741
16764
|
*
|
|
16742
16765
|
* @param request - RepairClusterNodePoolRequest
|
|
16743
16766
|
* @param headers - map
|
|
@@ -16774,7 +16797,7 @@ class Client extends openapi_client_1.default {
|
|
|
16774
16797
|
return $tea.cast(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
16775
16798
|
}
|
|
16776
16799
|
/**
|
|
16777
|
-
*
|
|
16800
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
16778
16801
|
*
|
|
16779
16802
|
* @param request - RepairClusterNodePoolRequest
|
|
16780
16803
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -16896,7 +16919,7 @@ class Client extends openapi_client_1.default {
|
|
|
16896
16919
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
16897
16920
|
}
|
|
16898
16921
|
/**
|
|
16899
|
-
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file that the current
|
|
16922
|
+
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
|
|
16900
16923
|
*
|
|
16901
16924
|
* @param headers - map
|
|
16902
16925
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16920,7 +16943,7 @@ class Client extends openapi_client_1.default {
|
|
|
16920
16943
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
|
|
16921
16944
|
}
|
|
16922
16945
|
/**
|
|
16923
|
-
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file that the current
|
|
16946
|
+
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
|
|
16924
16947
|
* @returns RevokeK8sClusterKubeConfigResponse
|
|
16925
16948
|
*/
|
|
16926
16949
|
async revokeK8sClusterKubeConfig(ClusterId) {
|
|
@@ -16929,7 +16952,7 @@ class Client extends openapi_client_1.default {
|
|
|
16929
16952
|
return await this.revokeK8sClusterKubeConfigWithOptions(ClusterId, headers, runtime);
|
|
16930
16953
|
}
|
|
16931
16954
|
/**
|
|
16932
|
-
*
|
|
16955
|
+
* Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
|
|
16933
16956
|
*
|
|
16934
16957
|
* @param request - RunClusterCheckRequest
|
|
16935
16958
|
* @param headers - map
|
|
@@ -16966,7 +16989,7 @@ class Client extends openapi_client_1.default {
|
|
|
16966
16989
|
return $tea.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
16967
16990
|
}
|
|
16968
16991
|
/**
|
|
16969
|
-
*
|
|
16992
|
+
* Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
|
|
16970
16993
|
*
|
|
16971
16994
|
* @param request - RunClusterCheckRequest
|
|
16972
16995
|
* @returns RunClusterCheckResponse
|
|
@@ -17485,7 +17508,7 @@ class Client extends openapi_client_1.default {
|
|
|
17485
17508
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
17486
17509
|
}
|
|
17487
17510
|
/**
|
|
17488
|
-
*
|
|
17511
|
+
* 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.
|
|
17489
17512
|
*
|
|
17490
17513
|
* @param request - TagResourcesRequest
|
|
17491
17514
|
* @param headers - map
|
|
@@ -17525,7 +17548,7 @@ class Client extends openapi_client_1.default {
|
|
|
17525
17548
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
17526
17549
|
}
|
|
17527
17550
|
/**
|
|
17528
|
-
*
|
|
17551
|
+
* 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.
|
|
17529
17552
|
*
|
|
17530
17553
|
* @param request - TagResourcesRequest
|
|
17531
17554
|
* @returns TagResourcesResponse
|
|
@@ -17574,7 +17597,7 @@ class Client extends openapi_client_1.default {
|
|
|
17574
17597
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
17575
17598
|
}
|
|
17576
17599
|
/**
|
|
17577
|
-
*
|
|
17600
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
17578
17601
|
*
|
|
17579
17602
|
* @param tmpReq - UntagResourcesRequest
|
|
17580
17603
|
* @param headers - map
|
|
@@ -17625,7 +17648,7 @@ class Client extends openapi_client_1.default {
|
|
|
17625
17648
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
17626
17649
|
}
|
|
17627
17650
|
/**
|
|
17628
|
-
*
|
|
17651
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
17629
17652
|
*
|
|
17630
17653
|
* @param request - UntagResourcesRequest
|
|
17631
17654
|
* @returns UntagResourcesResponse
|
|
@@ -17687,7 +17710,7 @@ class Client extends openapi_client_1.default {
|
|
|
17687
17710
|
return await this.updateClusterAuditLogConfigWithOptions(clusterid, request, headers, runtime);
|
|
17688
17711
|
}
|
|
17689
17712
|
/**
|
|
17690
|
-
*
|
|
17713
|
+
* null
|
|
17691
17714
|
*
|
|
17692
17715
|
* @param request - UpdateContactGroupForAlertRequest
|
|
17693
17716
|
* @param headers - map
|
|
@@ -17727,7 +17750,7 @@ class Client extends openapi_client_1.default {
|
|
|
17727
17750
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
17728
17751
|
}
|
|
17729
17752
|
/**
|
|
17730
|
-
*
|
|
17753
|
+
* null
|
|
17731
17754
|
*
|
|
17732
17755
|
* @param request - UpdateContactGroupForAlertRequest
|
|
17733
17756
|
* @returns UpdateContactGroupForAlertResponse
|
|
@@ -17738,7 +17761,7 @@ class Client extends openapi_client_1.default {
|
|
|
17738
17761
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, request, headers, runtime);
|
|
17739
17762
|
}
|
|
17740
17763
|
/**
|
|
17741
|
-
*
|
|
17764
|
+
* Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
|
|
17742
17765
|
*
|
|
17743
17766
|
* @param request - UpdateControlPlaneLogRequest
|
|
17744
17767
|
* @param headers - map
|
|
@@ -17778,7 +17801,7 @@ class Client extends openapi_client_1.default {
|
|
|
17778
17801
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
17779
17802
|
}
|
|
17780
17803
|
/**
|
|
17781
|
-
*
|
|
17804
|
+
* Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
|
|
17782
17805
|
*
|
|
17783
17806
|
* @param request - UpdateControlPlaneLogRequest
|
|
17784
17807
|
* @returns UpdateControlPlaneLogResponse
|
|
@@ -17792,8 +17815,8 @@ class Client extends openapi_client_1.default {
|
|
|
17792
17815
|
* Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
17793
17816
|
*
|
|
17794
17817
|
* @remarks
|
|
17795
|
-
*
|
|
17796
|
-
*
|
|
17818
|
+
* You can call this operation only with an Alibaba Cloud account.
|
|
17819
|
+
* * If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
17797
17820
|
*
|
|
17798
17821
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
17799
17822
|
* @param headers - map
|
|
@@ -17830,8 +17853,8 @@ class Client extends openapi_client_1.default {
|
|
|
17830
17853
|
* Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
17831
17854
|
*
|
|
17832
17855
|
* @remarks
|
|
17833
|
-
*
|
|
17834
|
-
*
|
|
17856
|
+
* You can call this operation only with an Alibaba Cloud account.
|
|
17857
|
+
* * If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
17835
17858
|
*
|
|
17836
17859
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
17837
17860
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|