@alicloud/cs20151215 4.7.3 → 4.7.5
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 +979 -670
- package/dist/client.js +139 -95
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1012 -672
package/dist/client.js
CHANGED
|
@@ -33,10 +33,10 @@ exports.GetClusterDiagnosisCheckItemsResponse = exports.GetClusterDiagnosisCheck
|
|
|
33
33
|
exports.ModifyPolicyInstanceRequest = exports.ModifyNodePoolNodeConfigResponse = exports.ModifyNodePoolNodeConfigResponseBody = exports.ModifyNodePoolNodeConfigRequest = exports.ModifyClusterTagsResponse = exports.ModifyClusterTagsRequest = exports.ModifyClusterNodePoolResponse = exports.ModifyClusterNodePoolResponseBody = exports.ModifyClusterNodePoolRequest = exports.ModifyClusterConfigurationResponse = exports.ModifyClusterConfigurationRequest = exports.ModifyClusterAddonResponse = exports.ModifyClusterAddonRequest = exports.ModifyClusterResponse = exports.ModifyClusterResponseBody = exports.ModifyClusterRequest = exports.MigrateClusterResponse = exports.MigrateClusterResponseBody = exports.MigrateClusterRequest = exports.ListUserKubeConfigStatesResponse = exports.ListUserKubeConfigStatesResponseBody = exports.ListUserKubeConfigStatesRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesShrinkRequest = exports.ListTagResourcesRequest = exports.ListOperationPlansResponse = exports.ListOperationPlansResponseBody = exports.ListOperationPlansRequest = exports.ListClusterKubeconfigStatesResponse = exports.ListClusterKubeconfigStatesResponseBody = exports.ListClusterKubeconfigStatesRequest = exports.ListClusterChecksResponse = exports.ListClusterChecksResponseBody = exports.ListClusterChecksRequest = exports.ListClusterAddonInstancesResponse = exports.ListClusterAddonInstancesResponseBody = exports.ListAddonsResponse = exports.ListAddonsResponseBody = exports.ListAddonsRequest = exports.InstallClusterAddonsResponse = exports.InstallClusterAddonsRequest = exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusResponseBody = exports.GetKubernetesTriggerResponse = exports.GetKubernetesTriggerRequest = exports.GetClusterDiagnosisResultResponse = exports.GetClusterDiagnosisResultResponseBody = void 0;
|
|
34
34
|
exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SyncClusterNodePoolResponse = exports.SyncClusterNodePoolResponseBody = exports.StopAlertResponse = exports.StopAlertResponseBody = exports.StopAlertRequest = exports.StartWorkflowResponse = exports.StartWorkflowResponseBody = exports.StartWorkflowRequest = exports.StartAlertResponse = exports.StartAlertResponseBody = exports.StartAlertRequest = exports.ScanClusterVulsResponse = exports.ScanClusterVulsResponseBody = exports.ScaleOutClusterResponse = exports.ScaleOutClusterResponseBody = exports.ScaleOutClusterRequest = exports.ScaleClusterNodePoolResponse = exports.ScaleClusterNodePoolResponseBody = exports.ScaleClusterNodePoolRequest = exports.ScaleClusterResponse = exports.ScaleClusterResponseBody = exports.ScaleClusterRequest = exports.RunClusterCheckResponse = exports.RunClusterCheckResponseBody = exports.RunClusterCheckRequest = exports.RevokeK8sClusterKubeConfigResponse = exports.RevokeK8sClusterKubeConfigResponseBody = exports.ResumeUpgradeClusterResponse = exports.ResumeTaskResponse = exports.ResumeComponentUpgradeResponse = exports.RepairClusterNodePoolResponse = exports.RepairClusterNodePoolResponseBody = exports.RepairClusterNodePoolRequest = exports.RemoveWorkflowResponse = exports.RemoveNodePoolNodesResponse = exports.RemoveNodePoolNodesResponseBody = exports.RemoveNodePoolNodesShrinkRequest = exports.RemoveNodePoolNodesRequest = exports.RemoveClusterNodesResponse = exports.RemoveClusterNodesRequest = exports.PauseTaskResponse = exports.PauseComponentUpgradeResponse = exports.PauseClusterUpgradeResponse = exports.OpenAckServiceResponse = exports.OpenAckServiceResponseBody = exports.OpenAckServiceRequest = exports.ModifyPolicyInstanceResponse = exports.ModifyPolicyInstanceResponseBody = void 0;
|
|
35
35
|
exports.AttachInstancesResponseBodyList = exports.NodepoolTeeConfig = exports.NodepoolScalingGroup = exports.NodepoolScalingGroupTags = exports.NodepoolScalingGroupSpotPriceLimit = exports.NodepoolScalingGroupPrivatePoolOptions = exports.NodepoolNodepoolInfo = exports.NodepoolNodeConfig = exports.NodepoolManagement = exports.NodepoolManagementUpgradeConfig = exports.NodepoolManagementAutoVulFixPolicy = exports.NodepoolManagementAutoUpgradePolicy = exports.NodepoolManagementAutoRepairPolicy = exports.NodepoolKubernetesConfig = exports.NodepoolInterconnectConfig = exports.NodepoolAutoScaling = exports.UpgradeClusterNodepoolResponse = exports.UpgradeClusterNodepoolResponseBody = exports.UpgradeClusterNodepoolRequest = exports.UpgradeClusterAddonsResponse = exports.UpgradeClusterAddonsResponseBody = exports.UpgradeClusterAddonsRequest = exports.UpgradeClusterResponse = exports.UpgradeClusterResponseBody = exports.UpgradeClusterRequest = exports.UpdateUserPermissionsResponse = exports.UpdateUserPermissionsRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateResourcesDeleteProtectionResponse = exports.UpdateResourcesDeleteProtectionResponseBody = exports.UpdateResourcesDeleteProtectionRequest = exports.UpdateK8sClusterUserConfigExpireResponse = exports.UpdateK8sClusterUserConfigExpireRequest = exports.UpdateControlPlaneLogResponse = exports.UpdateControlPlaneLogResponseBody = exports.UpdateControlPlaneLogRequest = exports.UpdateContactGroupForAlertResponse = exports.UpdateContactGroupForAlertResponseBody = exports.UpdateContactGroupForAlertRequest = exports.UpdateClusterAuditLogConfigResponse = exports.UpdateClusterAuditLogConfigResponseBody = exports.UpdateClusterAuditLogConfigRequest = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesShrinkRequest = exports.UntagResourcesRequest = exports.UnInstallClusterAddonsResponse = exports.UnInstallClusterAddonsRequest = exports.TagResourcesResponse = void 0;
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpgradeClusterRequestRollingPolicy = exports.UpdateUserPermissionsRequestBody = void 0;
|
|
36
|
+
exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling = exports.DescribeClusterNodePoolDetailResponseBodyTeeConfig = exports.DescribeClusterNodePoolDetailResponseBodyStatus = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroup = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolDetailResponseBodyNodepoolInfo = exports.DescribeClusterNodePoolDetailResponseBodyNodeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagement = exports.DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy = exports.DescribeClusterNodePoolDetailResponseBodyKubernetesConfig = exports.DescribeClusterNodePoolDetailResponseBodyInterconnectConfig = exports.DescribeClusterNodePoolDetailResponseBodyAutoScaling = exports.DescribeClusterLogsResponseBody = exports.DescribeClusterEventsResponseBodyPageInfo = exports.DescribeClusterEventsResponseBodyEvents = exports.DescribeClusterEventsResponseBodyEventsData = exports.DescribeAddonsResponseBodyComponentGroups = exports.DescribeAddonsResponseBodyComponentGroupsItems = exports.DescribeAddonResponseBodyNewerVersions = exports.DeleteClusterRequestDeleteOptions = exports.DeleteAlertContactGroupResponseBody = exports.DeleteAlertContactResponseBody = exports.DeleteAlertContactResponseBodyResult = exports.CreateClusterNodePoolRequestTeeConfig = exports.CreateClusterNodePoolRequestScalingGroup = exports.CreateClusterNodePoolRequestScalingGroupTags = exports.CreateClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.CreateClusterNodePoolRequestNodepoolInfo = exports.CreateClusterNodePoolRequestNodeConfig = exports.CreateClusterNodePoolRequestManagement = exports.CreateClusterNodePoolRequestManagementUpgradeConfig = exports.CreateClusterNodePoolRequestManagementAutoVulFixPolicy = exports.CreateClusterNodePoolRequestManagementAutoUpgradePolicy = exports.CreateClusterNodePoolRequestManagementAutoRepairPolicy = exports.CreateClusterNodePoolRequestKubernetesConfig = exports.CreateClusterNodePoolRequestInterconnectConfig = exports.CreateClusterNodePoolRequestAutoScaling = exports.CreateClusterRequestWorkerDataDisks = exports.CheckServiceRoleResponseBodyRoles = exports.CheckServiceRoleRequestRoles = void 0;
|
|
37
|
+
exports.DescribeTaskInfoResponseBodyTarget = exports.DescribeTaskInfoResponseBodyStages = exports.DescribeTaskInfoResponseBodyEvents = exports.DescribeTaskInfoResponseBodyError = exports.DescribeResourcesDeleteProtectionResponseBody = exports.DescribePolicyInstancesStatusResponseBodyPolicyInstances = exports.DescribePolicyInstancesResponseBody = exports.DescribePolicyGovernanceInClusterResponseBodyViolations = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolations = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyOnState = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLog = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog = exports.DescribeNodePoolVulsResponseBodyVulRecords = exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = exports.DescribeKubernetesVersionMetadataResponseBody = exports.DescribeKubernetesVersionMetadataResponseBodyImages = exports.DescribeEventsResponseBodyPageInfo = exports.DescribeEventsResponseBodyEvents = exports.DescribeEventsResponseBodyEventsData = exports.DescribeEdgeMachinesResponseBodyPageInfo = exports.DescribeEdgeMachinesResponseBodyEdgeMachines = exports.DescribeEdgeMachineModelsResponseBodyModels = exports.DescribeClustersV1ResponseBodyPageInfo = exports.DescribeClustersV1ResponseBodyClusters = exports.DescribeClustersResponseBody = exports.DescribeClustersResponseBodyTags = exports.DescribeClusterVulsResponseBodyVulRecords = exports.DescribeClusterTasksResponseBodyTasks = exports.DescribeClusterTasksResponseBodyTasksError = exports.DescribeClusterTasksResponseBodyPageInfo = exports.DescribeClusterResourcesResponseBody = exports.DescribeClusterResourcesResponseBodyDeleteBehavior = exports.DescribeClusterResourcesResponseBodyAssociatedObject = exports.DescribeClusterResourcesResponseBodyDependencies = exports.DescribeClusterNodesResponseBodyPage = exports.DescribeClusterNodesResponseBodyNodes = exports.DescribeClusterNodePoolsResponseBodyNodepools = exports.DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsStatus = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagement = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig = void 0;
|
|
38
|
+
exports.ScaleOutClusterRequestWorkerDataDisks = exports.ScaleClusterRequestWorkerDataDisks = exports.ScaleClusterRequestTaints = exports.ScaleClusterRequestTags = exports.RepairClusterNodePoolRequestOperations = exports.ModifyNodePoolNodeConfigRequestRollingPolicy = exports.ModifyNodePoolNodeConfigRequestOsConfig = exports.ModifyClusterNodePoolRequestTeeConfig = exports.ModifyClusterNodePoolRequestScalingGroup = exports.ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.ModifyClusterNodePoolRequestNodepoolInfo = exports.ModifyClusterNodePoolRequestManagement = exports.ModifyClusterNodePoolRequestManagementUpgradeConfig = exports.ModifyClusterNodePoolRequestManagementAutoVulFixPolicy = exports.ModifyClusterNodePoolRequestManagementAutoUpgradePolicy = exports.ModifyClusterNodePoolRequestManagementAutoRepairPolicy = exports.ModifyClusterNodePoolRequestKubernetesConfig = exports.ModifyClusterNodePoolRequestAutoScaling = exports.ModifyClusterConfigurationRequestCustomizeConfig = exports.ModifyClusterConfigurationRequestCustomizeConfigConfigs = exports.ModifyClusterRequestSystemEventsLogging = exports.ModifyClusterRequestOperationPolicy = exports.ModifyClusterRequestOperationPolicyClusterAutoUpgrade = exports.ModifyClusterRequestApiServerCustomCertSans = exports.ListUserKubeConfigStatesResponseBodyStates = exports.ListUserKubeConfigStatesResponseBodyPage = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListOperationPlansResponseBodyPlans = exports.ListClusterKubeconfigStatesResponseBodyStates = exports.ListClusterKubeconfigStatesResponseBodyPage = exports.ListClusterChecksResponseBodyChecks = exports.ListClusterAddonInstancesResponseBodyAddons = exports.ListAddonsResponseBodyAddons = exports.InstallClusterAddonsRequestBody = exports.GrantPermissionsRequestBody = exports.GetUpgradeStatusResponseBodyUpgradeTask = exports.GetKubernetesTriggerResponseBody = exports.GetClusterDiagnosisCheckItemsResponseBodyCheckItems = exports.GetClusterAddonInstanceResponseBodyLogging = exports.FixNodePoolVulsRequestRolloutPolicy = exports.DescribeWorkflowsResponseBodyJobs = exports.DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota = exports.DescribeUserPermissionResponseBody = exports.DescribeTriggerResponseBody = exports.DescribeTemplatesResponseBodyTemplates = exports.DescribeTemplatesResponseBodyPageInfo = exports.DescribeTemplateAttributeResponseBody = exports.DescribeTaskInfoResponseBodyTaskResult = void 0;
|
|
39
|
+
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpgradeClusterRequestRollingPolicy = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = void 0;
|
|
40
40
|
// This file is auto-generated, don't edit it
|
|
41
41
|
/**
|
|
42
42
|
*/
|
|
@@ -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',
|
|
@@ -907,6 +909,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
907
909
|
keepInstanceName: 'keep_instance_name',
|
|
908
910
|
keyPair: 'key_pair',
|
|
909
911
|
kubernetesVersion: 'kubernetes_version',
|
|
912
|
+
loadBalancerId: 'load_balancer_id',
|
|
910
913
|
loadBalancerSpec: 'load_balancer_spec',
|
|
911
914
|
loggingType: 'logging_type',
|
|
912
915
|
loginPassword: 'login_password',
|
|
@@ -969,6 +972,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
969
972
|
workerSystemDiskSnapshotPolicyId: 'worker_system_disk_snapshot_policy_id',
|
|
970
973
|
workerVswitchIds: 'worker_vswitch_ids',
|
|
971
974
|
zoneId: 'zone_id',
|
|
975
|
+
zoneIds: 'zone_ids',
|
|
972
976
|
};
|
|
973
977
|
}
|
|
974
978
|
static types() {
|
|
@@ -976,6 +980,8 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
976
980
|
accessControlList: { 'type': 'array', 'itemType': 'string' },
|
|
977
981
|
addons: { 'type': 'array', 'itemType': Addon },
|
|
978
982
|
apiAudiences: 'string',
|
|
983
|
+
autoRenew: 'boolean',
|
|
984
|
+
autoRenewPeriod: 'number',
|
|
979
985
|
chargeType: 'string',
|
|
980
986
|
cisEnabled: 'boolean',
|
|
981
987
|
cloudMonitorFlags: 'boolean',
|
|
@@ -1002,6 +1008,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
1002
1008
|
keepInstanceName: 'boolean',
|
|
1003
1009
|
keyPair: 'string',
|
|
1004
1010
|
kubernetesVersion: 'string',
|
|
1011
|
+
loadBalancerId: 'string',
|
|
1005
1012
|
loadBalancerSpec: 'string',
|
|
1006
1013
|
loggingType: 'string',
|
|
1007
1014
|
loginPassword: 'string',
|
|
@@ -1064,6 +1071,7 @@ class CreateClusterRequest extends $tea.Model {
|
|
|
1064
1071
|
workerSystemDiskSnapshotPolicyId: 'string',
|
|
1065
1072
|
workerVswitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
1066
1073
|
zoneId: 'string',
|
|
1074
|
+
zoneIds: { 'type': 'array', 'itemType': 'string' },
|
|
1067
1075
|
};
|
|
1068
1076
|
}
|
|
1069
1077
|
constructor(map) {
|
|
@@ -1539,7 +1547,7 @@ class DeleteAlertContactResponse extends $tea.Model {
|
|
|
1539
1547
|
return {
|
|
1540
1548
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1541
1549
|
statusCode: 'number',
|
|
1542
|
-
body:
|
|
1550
|
+
body: DeleteAlertContactResponseBody,
|
|
1543
1551
|
};
|
|
1544
1552
|
}
|
|
1545
1553
|
constructor(map) {
|
|
@@ -8011,7 +8019,7 @@ class CreateClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
8011
8019
|
}
|
|
8012
8020
|
}
|
|
8013
8021
|
exports.CreateClusterNodePoolRequestTeeConfig = CreateClusterNodePoolRequestTeeConfig;
|
|
8014
|
-
class
|
|
8022
|
+
class DeleteAlertContactResponseBodyResult extends $tea.Model {
|
|
8015
8023
|
static names() {
|
|
8016
8024
|
return {
|
|
8017
8025
|
status: 'status',
|
|
@@ -8030,6 +8038,22 @@ class DeleteAlertContactResponseBody extends $tea.Model {
|
|
|
8030
8038
|
super(map);
|
|
8031
8039
|
}
|
|
8032
8040
|
}
|
|
8041
|
+
exports.DeleteAlertContactResponseBodyResult = DeleteAlertContactResponseBodyResult;
|
|
8042
|
+
class DeleteAlertContactResponseBody extends $tea.Model {
|
|
8043
|
+
static names() {
|
|
8044
|
+
return {
|
|
8045
|
+
result: 'result',
|
|
8046
|
+
};
|
|
8047
|
+
}
|
|
8048
|
+
static types() {
|
|
8049
|
+
return {
|
|
8050
|
+
result: { 'type': 'array', 'itemType': DeleteAlertContactResponseBodyResult },
|
|
8051
|
+
};
|
|
8052
|
+
}
|
|
8053
|
+
constructor(map) {
|
|
8054
|
+
super(map);
|
|
8055
|
+
}
|
|
8056
|
+
}
|
|
8033
8057
|
exports.DeleteAlertContactResponseBody = DeleteAlertContactResponseBody;
|
|
8034
8058
|
class DeleteAlertContactGroupResponseBody extends $tea.Model {
|
|
8035
8059
|
static names() {
|
|
@@ -11463,7 +11487,7 @@ class Client extends openapi_client_1.default {
|
|
|
11463
11487
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
11464
11488
|
}
|
|
11465
11489
|
/**
|
|
11466
|
-
*
|
|
11490
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
11467
11491
|
*
|
|
11468
11492
|
* @param request - AttachInstancesRequest
|
|
11469
11493
|
* @param headers - map
|
|
@@ -11530,7 +11554,7 @@ class Client extends openapi_client_1.default {
|
|
|
11530
11554
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
11531
11555
|
}
|
|
11532
11556
|
/**
|
|
11533
|
-
*
|
|
11557
|
+
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
11534
11558
|
*
|
|
11535
11559
|
* @param request - AttachInstancesRequest
|
|
11536
11560
|
* @returns AttachInstancesResponse
|
|
@@ -11817,7 +11841,7 @@ class Client extends openapi_client_1.default {
|
|
|
11817
11841
|
return await this.checkControlPlaneLogEnableWithOptions(ClusterId, headers, runtime);
|
|
11818
11842
|
}
|
|
11819
11843
|
/**
|
|
11820
|
-
*
|
|
11844
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
11821
11845
|
*
|
|
11822
11846
|
* @param request - CheckServiceRoleRequest
|
|
11823
11847
|
* @param headers - map
|
|
@@ -11848,7 +11872,7 @@ class Client extends openapi_client_1.default {
|
|
|
11848
11872
|
return $tea.cast(await this.callApi(params, req, runtime), new CheckServiceRoleResponse({}));
|
|
11849
11873
|
}
|
|
11850
11874
|
/**
|
|
11851
|
-
*
|
|
11875
|
+
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
11852
11876
|
*
|
|
11853
11877
|
* @param request - CheckServiceRoleRequest
|
|
11854
11878
|
* @returns CheckServiceRoleResponse
|
|
@@ -11863,7 +11887,7 @@ class Client extends openapi_client_1.default {
|
|
|
11863
11887
|
*
|
|
11864
11888
|
* @remarks
|
|
11865
11889
|
* >
|
|
11866
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
11890
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
11867
11891
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
11868
11892
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
11869
11893
|
*
|
|
@@ -11900,7 +11924,7 @@ class Client extends openapi_client_1.default {
|
|
|
11900
11924
|
*
|
|
11901
11925
|
* @remarks
|
|
11902
11926
|
* >
|
|
11903
|
-
* * To call this operation, make sure that you have the AliyunCSFullAccess
|
|
11927
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
11904
11928
|
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
11905
11929
|
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
11906
11930
|
*
|
|
@@ -12057,13 +12081,13 @@ class Client extends openapi_client_1.default {
|
|
|
12057
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.
|
|
12058
12082
|
*
|
|
12059
12083
|
* @remarks
|
|
12060
|
-
* This topic describes all parameters for creating
|
|
12061
|
-
* * [
|
|
12062
|
-
* * [
|
|
12063
|
-
* * [
|
|
12064
|
-
* * [
|
|
12065
|
-
* * [
|
|
12066
|
-
* * [
|
|
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)
|
|
12067
12091
|
*
|
|
12068
12092
|
* @param request - CreateClusterRequest
|
|
12069
12093
|
* @param headers - map
|
|
@@ -12082,6 +12106,12 @@ class Client extends openapi_client_1.default {
|
|
|
12082
12106
|
if (!tea_util_1.default.isUnset(request.apiAudiences)) {
|
|
12083
12107
|
body["api_audiences"] = request.apiAudiences;
|
|
12084
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
|
+
}
|
|
12085
12115
|
if (!tea_util_1.default.isUnset(request.chargeType)) {
|
|
12086
12116
|
body["charge_type"] = request.chargeType;
|
|
12087
12117
|
}
|
|
@@ -12160,6 +12190,9 @@ class Client extends openapi_client_1.default {
|
|
|
12160
12190
|
if (!tea_util_1.default.isUnset(request.kubernetesVersion)) {
|
|
12161
12191
|
body["kubernetes_version"] = request.kubernetesVersion;
|
|
12162
12192
|
}
|
|
12193
|
+
if (!tea_util_1.default.isUnset(request.loadBalancerId)) {
|
|
12194
|
+
body["load_balancer_id"] = request.loadBalancerId;
|
|
12195
|
+
}
|
|
12163
12196
|
if (!tea_util_1.default.isUnset(request.loadBalancerSpec)) {
|
|
12164
12197
|
body["load_balancer_spec"] = request.loadBalancerSpec;
|
|
12165
12198
|
}
|
|
@@ -12346,6 +12379,9 @@ class Client extends openapi_client_1.default {
|
|
|
12346
12379
|
if (!tea_util_1.default.isUnset(request.zoneId)) {
|
|
12347
12380
|
body["zone_id"] = request.zoneId;
|
|
12348
12381
|
}
|
|
12382
|
+
if (!tea_util_1.default.isUnset(request.zoneIds)) {
|
|
12383
|
+
body["zone_ids"] = request.zoneIds;
|
|
12384
|
+
}
|
|
12349
12385
|
let req = new $OpenApi.OpenApiRequest({
|
|
12350
12386
|
headers: headers,
|
|
12351
12387
|
body: openapi_util_1.default.parseToMap(body),
|
|
@@ -12367,13 +12403,13 @@ class Client extends openapi_client_1.default {
|
|
|
12367
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.
|
|
12368
12404
|
*
|
|
12369
12405
|
* @remarks
|
|
12370
|
-
* This topic describes all parameters for creating
|
|
12371
|
-
* * [
|
|
12372
|
-
* * [
|
|
12373
|
-
* * [
|
|
12374
|
-
* * [
|
|
12375
|
-
* * [
|
|
12376
|
-
* * [
|
|
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)
|
|
12377
12413
|
*
|
|
12378
12414
|
* @param request - CreateClusterRequest
|
|
12379
12415
|
* @returns CreateClusterResponse
|
|
@@ -12654,7 +12690,7 @@ class Client extends openapi_client_1.default {
|
|
|
12654
12690
|
return await this.createTemplateWithOptions(request, headers, runtime);
|
|
12655
12691
|
}
|
|
12656
12692
|
/**
|
|
12657
|
-
*
|
|
12693
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
12658
12694
|
*
|
|
12659
12695
|
* @param request - CreateTriggerRequest
|
|
12660
12696
|
* @param headers - map
|
|
@@ -12694,7 +12730,7 @@ class Client extends openapi_client_1.default {
|
|
|
12694
12730
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
12695
12731
|
}
|
|
12696
12732
|
/**
|
|
12697
|
-
*
|
|
12733
|
+
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
12698
12734
|
*
|
|
12699
12735
|
* @param request - CreateTriggerRequest
|
|
12700
12736
|
* @returns CreateTriggerResponse
|
|
@@ -12903,8 +12939,10 @@ class Client extends openapi_client_1.default {
|
|
|
12903
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.
|
|
12904
12940
|
*
|
|
12905
12941
|
* @remarks
|
|
12906
|
-
*
|
|
12907
|
-
* *
|
|
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.
|
|
12908
12946
|
*
|
|
12909
12947
|
* @param request - DeleteClusterNodesRequest
|
|
12910
12948
|
* @param headers - map
|
|
@@ -12944,8 +12982,10 @@ class Client extends openapi_client_1.default {
|
|
|
12944
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.
|
|
12945
12983
|
*
|
|
12946
12984
|
* @remarks
|
|
12947
|
-
*
|
|
12948
|
-
* *
|
|
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.
|
|
12949
12989
|
*
|
|
12950
12990
|
* @param request - DeleteClusterNodesRequest
|
|
12951
12991
|
* @returns DeleteClusterNodesResponse
|
|
@@ -13106,7 +13146,7 @@ class Client extends openapi_client_1.default {
|
|
|
13106
13146
|
return await this.deleteTemplateWithOptions(TemplateId, headers, runtime);
|
|
13107
13147
|
}
|
|
13108
13148
|
/**
|
|
13109
|
-
*
|
|
13149
|
+
* Deletes an application trigger.
|
|
13110
13150
|
*
|
|
13111
13151
|
* @param headers - map
|
|
13112
13152
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13130,7 +13170,7 @@ class Client extends openapi_client_1.default {
|
|
|
13130
13170
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
13131
13171
|
}
|
|
13132
13172
|
/**
|
|
13133
|
-
*
|
|
13173
|
+
* Deletes an application trigger.
|
|
13134
13174
|
* @returns DeleteTriggerResponse
|
|
13135
13175
|
*/
|
|
13136
13176
|
async deleteTrigger(clusterId, Id) {
|
|
@@ -13226,7 +13266,7 @@ class Client extends openapi_client_1.default {
|
|
|
13226
13266
|
return await this.descirbeWorkflowWithOptions(workflowName, headers, runtime);
|
|
13227
13267
|
}
|
|
13228
13268
|
/**
|
|
13229
|
-
*
|
|
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.
|
|
13230
13270
|
*
|
|
13231
13271
|
* @param request - DescribeAddonRequest
|
|
13232
13272
|
* @param headers - map
|
|
@@ -13275,7 +13315,7 @@ class Client extends openapi_client_1.default {
|
|
|
13275
13315
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
13276
13316
|
}
|
|
13277
13317
|
/**
|
|
13278
|
-
*
|
|
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.
|
|
13279
13319
|
*
|
|
13280
13320
|
* @param request - DescribeAddonRequest
|
|
13281
13321
|
* @returns DescribeAddonResponse
|
|
@@ -13564,7 +13604,7 @@ class Client extends openapi_client_1.default {
|
|
|
13564
13604
|
return await this.describeClusterAddonsVersionWithOptions(ClusterId, headers, runtime);
|
|
13565
13605
|
}
|
|
13566
13606
|
/**
|
|
13567
|
-
* 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.
|
|
13568
13608
|
*
|
|
13569
13609
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
13570
13610
|
* @param headers - map
|
|
@@ -13610,7 +13650,7 @@ class Client extends openapi_client_1.default {
|
|
|
13610
13650
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
13611
13651
|
}
|
|
13612
13652
|
/**
|
|
13613
|
-
* 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.
|
|
13614
13654
|
*
|
|
13615
13655
|
* @param request - DescribeClusterAttachScriptsRequest
|
|
13616
13656
|
* @returns DescribeClusterAttachScriptsResponse
|
|
@@ -13954,8 +13994,7 @@ class Client extends openapi_client_1.default {
|
|
|
13954
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.
|
|
13955
13995
|
*
|
|
13956
13996
|
* @remarks
|
|
13957
|
-
*
|
|
13958
|
-
* ****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.
|
|
13959
13998
|
*
|
|
13960
13999
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
13961
14000
|
* @param headers - map
|
|
@@ -13992,8 +14031,7 @@ class Client extends openapi_client_1.default {
|
|
|
13992
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.
|
|
13993
14032
|
*
|
|
13994
14033
|
* @remarks
|
|
13995
|
-
*
|
|
13996
|
-
* ****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.
|
|
13997
14035
|
*
|
|
13998
14036
|
* @param request - DescribeClusterUserKubeconfigRequest
|
|
13999
14037
|
* @returns DescribeClusterUserKubeconfigResponse
|
|
@@ -14085,7 +14123,7 @@ class Client extends openapi_client_1.default {
|
|
|
14085
14123
|
return await this.describeClusterVulsWithOptions(clusterId, headers, runtime);
|
|
14086
14124
|
}
|
|
14087
14125
|
/**
|
|
14088
|
-
*
|
|
14126
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
14089
14127
|
*
|
|
14090
14128
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
14091
14129
|
*
|
|
@@ -14125,7 +14163,7 @@ class Client extends openapi_client_1.default {
|
|
|
14125
14163
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
|
|
14126
14164
|
}
|
|
14127
14165
|
/**
|
|
14128
|
-
*
|
|
14166
|
+
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
14129
14167
|
*
|
|
14130
14168
|
* @deprecated OpenAPI DescribeClusters is deprecated
|
|
14131
14169
|
*
|
|
@@ -14139,7 +14177,7 @@ class Client extends openapi_client_1.default {
|
|
|
14139
14177
|
return await this.describeClustersWithOptions(request, headers, runtime);
|
|
14140
14178
|
}
|
|
14141
14179
|
/**
|
|
14142
|
-
*
|
|
14180
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
14143
14181
|
*
|
|
14144
14182
|
* @param request - DescribeClustersV1Request
|
|
14145
14183
|
* @param headers - map
|
|
@@ -14191,7 +14229,7 @@ class Client extends openapi_client_1.default {
|
|
|
14191
14229
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
14192
14230
|
}
|
|
14193
14231
|
/**
|
|
14194
|
-
*
|
|
14232
|
+
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
14195
14233
|
*
|
|
14196
14234
|
* @param request - DescribeClustersV1Request
|
|
14197
14235
|
* @returns DescribeClustersV1Response
|
|
@@ -14409,7 +14447,7 @@ class Client extends openapi_client_1.default {
|
|
|
14409
14447
|
return await this.describeEventsWithOptions(request, headers, runtime);
|
|
14410
14448
|
}
|
|
14411
14449
|
/**
|
|
14412
|
-
*
|
|
14450
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
14413
14451
|
*
|
|
14414
14452
|
* @remarks
|
|
14415
14453
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -14446,7 +14484,7 @@ class Client extends openapi_client_1.default {
|
|
|
14446
14484
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
14447
14485
|
}
|
|
14448
14486
|
/**
|
|
14449
|
-
*
|
|
14487
|
+
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
14450
14488
|
*
|
|
14451
14489
|
* @remarks
|
|
14452
14490
|
* For more information, see [Register an external Kubernetes cluster](https://help.aliyun.com/document_detail/121053.html).
|
|
@@ -14595,7 +14633,7 @@ class Client extends openapi_client_1.default {
|
|
|
14595
14633
|
return await this.describePoliciesWithOptions(headers, runtime);
|
|
14596
14634
|
}
|
|
14597
14635
|
/**
|
|
14598
|
-
*
|
|
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.
|
|
14599
14637
|
*
|
|
14600
14638
|
* @param headers - map
|
|
14601
14639
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14619,7 +14657,7 @@ class Client extends openapi_client_1.default {
|
|
|
14619
14657
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
14620
14658
|
}
|
|
14621
14659
|
/**
|
|
14622
|
-
*
|
|
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.
|
|
14623
14661
|
* @returns DescribePolicyDetailsResponse
|
|
14624
14662
|
*/
|
|
14625
14663
|
async describePolicyDetails(policyName) {
|
|
@@ -14628,7 +14666,7 @@ class Client extends openapi_client_1.default {
|
|
|
14628
14666
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
14629
14667
|
}
|
|
14630
14668
|
/**
|
|
14631
|
-
*
|
|
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.
|
|
14632
14670
|
*
|
|
14633
14671
|
* @param headers - map
|
|
14634
14672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14652,7 +14690,7 @@ class Client extends openapi_client_1.default {
|
|
|
14652
14690
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
14653
14691
|
}
|
|
14654
14692
|
/**
|
|
14655
|
-
*
|
|
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.
|
|
14656
14694
|
* @returns DescribePolicyGovernanceInClusterResponse
|
|
14657
14695
|
*/
|
|
14658
14696
|
async describePolicyGovernanceInCluster(clusterId) {
|
|
@@ -14960,7 +14998,7 @@ class Client extends openapi_client_1.default {
|
|
|
14960
14998
|
return await this.describeTemplatesWithOptions(request, headers, runtime);
|
|
14961
14999
|
}
|
|
14962
15000
|
/**
|
|
14963
|
-
*
|
|
15001
|
+
* Queries triggers that match specific conditions.
|
|
14964
15002
|
*
|
|
14965
15003
|
* @param request - DescribeTriggerRequest
|
|
14966
15004
|
* @param headers - map
|
|
@@ -15000,7 +15038,7 @@ class Client extends openapi_client_1.default {
|
|
|
15000
15038
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
15001
15039
|
}
|
|
15002
15040
|
/**
|
|
15003
|
-
*
|
|
15041
|
+
* Queries triggers that match specific conditions.
|
|
15004
15042
|
*
|
|
15005
15043
|
* @param request - DescribeTriggerRequest
|
|
15006
15044
|
* @returns DescribeTriggerResponse
|
|
@@ -15011,7 +15049,7 @@ class Client extends openapi_client_1.default {
|
|
|
15011
15049
|
return await this.describeTriggerWithOptions(clusterId, request, headers, runtime);
|
|
15012
15050
|
}
|
|
15013
15051
|
/**
|
|
15014
|
-
*
|
|
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.
|
|
15015
15053
|
*
|
|
15016
15054
|
* @param headers - map
|
|
15017
15055
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15035,7 +15073,7 @@ class Client extends openapi_client_1.default {
|
|
|
15035
15073
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
15036
15074
|
}
|
|
15037
15075
|
/**
|
|
15038
|
-
*
|
|
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.
|
|
15039
15077
|
* @returns DescribeUserClusterNamespacesResponse
|
|
15040
15078
|
*/
|
|
15041
15079
|
async describeUserClusterNamespaces(ClusterId) {
|
|
@@ -15046,6 +15084,10 @@ class Client extends openapi_client_1.default {
|
|
|
15046
15084
|
/**
|
|
15047
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.
|
|
15048
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
|
+
*
|
|
15049
15091
|
* @param headers - map
|
|
15050
15092
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
15051
15093
|
* @returns DescribeUserPermissionResponse
|
|
@@ -15069,6 +15111,10 @@ class Client extends openapi_client_1.default {
|
|
|
15069
15111
|
}
|
|
15070
15112
|
/**
|
|
15071
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.
|
|
15072
15118
|
* @returns DescribeUserPermissionResponse
|
|
15073
15119
|
*/
|
|
15074
15120
|
async describeUserPermission(uid) {
|
|
@@ -15600,7 +15646,7 @@ class Client extends openapi_client_1.default {
|
|
|
15600
15646
|
return await this.installClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
15601
15647
|
}
|
|
15602
15648
|
/**
|
|
15603
|
-
*
|
|
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.
|
|
15604
15650
|
*
|
|
15605
15651
|
* @param request - ListAddonsRequest
|
|
15606
15652
|
* @param headers - map
|
|
@@ -15646,7 +15692,7 @@ class Client extends openapi_client_1.default {
|
|
|
15646
15692
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
15647
15693
|
}
|
|
15648
15694
|
/**
|
|
15649
|
-
*
|
|
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.
|
|
15650
15696
|
*
|
|
15651
15697
|
* @param request - ListAddonsRequest
|
|
15652
15698
|
* @returns ListAddonsResponse
|
|
@@ -15657,7 +15703,7 @@ class Client extends openapi_client_1.default {
|
|
|
15657
15703
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
15658
15704
|
}
|
|
15659
15705
|
/**
|
|
15660
|
-
*
|
|
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.
|
|
15661
15707
|
*
|
|
15662
15708
|
* @param headers - map
|
|
15663
15709
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15681,7 +15727,7 @@ class Client extends openapi_client_1.default {
|
|
|
15681
15727
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
15682
15728
|
}
|
|
15683
15729
|
/**
|
|
15684
|
-
*
|
|
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.
|
|
15685
15731
|
* @returns ListClusterAddonInstancesResponse
|
|
15686
15732
|
*/
|
|
15687
15733
|
async listClusterAddonInstances(clusterId) {
|
|
@@ -15738,9 +15784,8 @@ class Client extends openapi_client_1.default {
|
|
|
15738
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.
|
|
15739
15785
|
*
|
|
15740
15786
|
* @remarks
|
|
15741
|
-
* >
|
|
15742
|
-
*
|
|
15743
|
-
* * 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.
|
|
15744
15789
|
*
|
|
15745
15790
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
15746
15791
|
* @param headers - map
|
|
@@ -15777,9 +15822,8 @@ class Client extends openapi_client_1.default {
|
|
|
15777
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.
|
|
15778
15823
|
*
|
|
15779
15824
|
* @remarks
|
|
15780
|
-
* >
|
|
15781
|
-
*
|
|
15782
|
-
* * 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.
|
|
15783
15827
|
*
|
|
15784
15828
|
* @param request - ListClusterKubeconfigStatesRequest
|
|
15785
15829
|
* @returns ListClusterKubeconfigStatesResponse
|
|
@@ -15790,7 +15834,7 @@ class Client extends openapi_client_1.default {
|
|
|
15790
15834
|
return await this.listClusterKubeconfigStatesWithOptions(ClusterId, request, headers, runtime);
|
|
15791
15835
|
}
|
|
15792
15836
|
/**
|
|
15793
|
-
*
|
|
15837
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
15794
15838
|
*
|
|
15795
15839
|
* @param request - ListOperationPlansRequest
|
|
15796
15840
|
* @param headers - map
|
|
@@ -15824,7 +15868,7 @@ class Client extends openapi_client_1.default {
|
|
|
15824
15868
|
return $tea.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
15825
15869
|
}
|
|
15826
15870
|
/**
|
|
15827
|
-
*
|
|
15871
|
+
* Queries the auto O\\&M schedules of a cluster.
|
|
15828
15872
|
*
|
|
15829
15873
|
* @param request - ListOperationPlansRequest
|
|
15830
15874
|
* @returns ListOperationPlansResponse
|
|
@@ -16078,8 +16122,8 @@ class Client extends openapi_client_1.default {
|
|
|
16078
16122
|
*
|
|
16079
16123
|
* @remarks
|
|
16080
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.
|
|
16081
|
-
* * 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://
|
|
16082
|
-
* * 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).
|
|
16083
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.
|
|
16084
16128
|
*
|
|
16085
16129
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -16115,8 +16159,8 @@ class Client extends openapi_client_1.default {
|
|
|
16115
16159
|
*
|
|
16116
16160
|
* @remarks
|
|
16117
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.
|
|
16118
|
-
* * 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://
|
|
16119
|
-
* * 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).
|
|
16120
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.
|
|
16121
16165
|
*
|
|
16122
16166
|
* @param request - ModifyClusterAddonRequest
|
|
@@ -16233,7 +16277,7 @@ class Client extends openapi_client_1.default {
|
|
|
16233
16277
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
16234
16278
|
}
|
|
16235
16279
|
/**
|
|
16236
|
-
*
|
|
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.
|
|
16237
16281
|
*
|
|
16238
16282
|
* @param request - ModifyClusterTagsRequest
|
|
16239
16283
|
* @param headers - map
|
|
@@ -16260,7 +16304,7 @@ class Client extends openapi_client_1.default {
|
|
|
16260
16304
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
16261
16305
|
}
|
|
16262
16306
|
/**
|
|
16263
|
-
*
|
|
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.
|
|
16264
16308
|
*
|
|
16265
16309
|
* @param request - ModifyClusterTagsRequest
|
|
16266
16310
|
* @returns ModifyClusterTagsResponse
|
|
@@ -16376,7 +16420,7 @@ class Client extends openapi_client_1.default {
|
|
|
16376
16420
|
return await this.modifyPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
16377
16421
|
}
|
|
16378
16422
|
/**
|
|
16379
|
-
*
|
|
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.
|
|
16380
16424
|
*
|
|
16381
16425
|
* @remarks
|
|
16382
16426
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -16411,7 +16455,7 @@ class Client extends openapi_client_1.default {
|
|
|
16411
16455
|
return $tea.cast(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
|
|
16412
16456
|
}
|
|
16413
16457
|
/**
|
|
16414
|
-
*
|
|
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.
|
|
16415
16459
|
*
|
|
16416
16460
|
* @remarks
|
|
16417
16461
|
* You can activate ACK by using Alibaba Cloud accounts.
|
|
@@ -16716,7 +16760,7 @@ class Client extends openapi_client_1.default {
|
|
|
16716
16760
|
return await this.removeWorkflowWithOptions(workflowName, headers, runtime);
|
|
16717
16761
|
}
|
|
16718
16762
|
/**
|
|
16719
|
-
*
|
|
16763
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
16720
16764
|
*
|
|
16721
16765
|
* @param request - RepairClusterNodePoolRequest
|
|
16722
16766
|
* @param headers - map
|
|
@@ -16753,7 +16797,7 @@ class Client extends openapi_client_1.default {
|
|
|
16753
16797
|
return $tea.cast(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
16754
16798
|
}
|
|
16755
16799
|
/**
|
|
16756
|
-
*
|
|
16800
|
+
* Fixes issues on abnormal nodes in a node pool to ensure that the nodes can run as normal.
|
|
16757
16801
|
*
|
|
16758
16802
|
* @param request - RepairClusterNodePoolRequest
|
|
16759
16803
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -16875,7 +16919,7 @@ class Client extends openapi_client_1.default {
|
|
|
16875
16919
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
16876
16920
|
}
|
|
16877
16921
|
/**
|
|
16878
|
-
* 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.
|
|
16879
16923
|
*
|
|
16880
16924
|
* @param headers - map
|
|
16881
16925
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16899,7 +16943,7 @@ class Client extends openapi_client_1.default {
|
|
|
16899
16943
|
return $tea.cast(await this.callApi(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
|
|
16900
16944
|
}
|
|
16901
16945
|
/**
|
|
16902
|
-
* 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.
|
|
16903
16947
|
* @returns RevokeK8sClusterKubeConfigResponse
|
|
16904
16948
|
*/
|
|
16905
16949
|
async revokeK8sClusterKubeConfig(ClusterId) {
|
|
@@ -16908,7 +16952,7 @@ class Client extends openapi_client_1.default {
|
|
|
16908
16952
|
return await this.revokeK8sClusterKubeConfigWithOptions(ClusterId, headers, runtime);
|
|
16909
16953
|
}
|
|
16910
16954
|
/**
|
|
16911
|
-
*
|
|
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.
|
|
16912
16956
|
*
|
|
16913
16957
|
* @param request - RunClusterCheckRequest
|
|
16914
16958
|
* @param headers - map
|
|
@@ -16945,7 +16989,7 @@ class Client extends openapi_client_1.default {
|
|
|
16945
16989
|
return $tea.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
16946
16990
|
}
|
|
16947
16991
|
/**
|
|
16948
|
-
*
|
|
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.
|
|
16949
16993
|
*
|
|
16950
16994
|
* @param request - RunClusterCheckRequest
|
|
16951
16995
|
* @returns RunClusterCheckResponse
|
|
@@ -17464,7 +17508,7 @@ class Client extends openapi_client_1.default {
|
|
|
17464
17508
|
return await this.syncClusterNodePoolWithOptions(ClusterId, headers, runtime);
|
|
17465
17509
|
}
|
|
17466
17510
|
/**
|
|
17467
|
-
*
|
|
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.
|
|
17468
17512
|
*
|
|
17469
17513
|
* @param request - TagResourcesRequest
|
|
17470
17514
|
* @param headers - map
|
|
@@ -17504,7 +17548,7 @@ class Client extends openapi_client_1.default {
|
|
|
17504
17548
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
17505
17549
|
}
|
|
17506
17550
|
/**
|
|
17507
|
-
*
|
|
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.
|
|
17508
17552
|
*
|
|
17509
17553
|
* @param request - TagResourcesRequest
|
|
17510
17554
|
* @returns TagResourcesResponse
|
|
@@ -17553,7 +17597,7 @@ class Client extends openapi_client_1.default {
|
|
|
17553
17597
|
return await this.unInstallClusterAddonsWithOptions(ClusterId, request, headers, runtime);
|
|
17554
17598
|
}
|
|
17555
17599
|
/**
|
|
17556
|
-
*
|
|
17600
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
17557
17601
|
*
|
|
17558
17602
|
* @param tmpReq - UntagResourcesRequest
|
|
17559
17603
|
* @param headers - map
|
|
@@ -17604,7 +17648,7 @@ class Client extends openapi_client_1.default {
|
|
|
17604
17648
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
17605
17649
|
}
|
|
17606
17650
|
/**
|
|
17607
|
-
*
|
|
17651
|
+
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
17608
17652
|
*
|
|
17609
17653
|
* @param request - UntagResourcesRequest
|
|
17610
17654
|
* @returns UntagResourcesResponse
|
|
@@ -17666,7 +17710,7 @@ class Client extends openapi_client_1.default {
|
|
|
17666
17710
|
return await this.updateClusterAuditLogConfigWithOptions(clusterid, request, headers, runtime);
|
|
17667
17711
|
}
|
|
17668
17712
|
/**
|
|
17669
|
-
*
|
|
17713
|
+
* null
|
|
17670
17714
|
*
|
|
17671
17715
|
* @param request - UpdateContactGroupForAlertRequest
|
|
17672
17716
|
* @param headers - map
|
|
@@ -17706,7 +17750,7 @@ class Client extends openapi_client_1.default {
|
|
|
17706
17750
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
17707
17751
|
}
|
|
17708
17752
|
/**
|
|
17709
|
-
*
|
|
17753
|
+
* null
|
|
17710
17754
|
*
|
|
17711
17755
|
* @param request - UpdateContactGroupForAlertRequest
|
|
17712
17756
|
* @returns UpdateContactGroupForAlertResponse
|
|
@@ -17717,7 +17761,7 @@ class Client extends openapi_client_1.default {
|
|
|
17717
17761
|
return await this.updateContactGroupForAlertWithOptions(ClusterId, request, headers, runtime);
|
|
17718
17762
|
}
|
|
17719
17763
|
/**
|
|
17720
|
-
*
|
|
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).
|
|
17721
17765
|
*
|
|
17722
17766
|
* @param request - UpdateControlPlaneLogRequest
|
|
17723
17767
|
* @param headers - map
|
|
@@ -17757,7 +17801,7 @@ class Client extends openapi_client_1.default {
|
|
|
17757
17801
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
17758
17802
|
}
|
|
17759
17803
|
/**
|
|
17760
|
-
*
|
|
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).
|
|
17761
17805
|
*
|
|
17762
17806
|
* @param request - UpdateControlPlaneLogRequest
|
|
17763
17807
|
* @returns UpdateControlPlaneLogResponse
|
|
@@ -17771,8 +17815,8 @@ class Client extends openapi_client_1.default {
|
|
|
17771
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.
|
|
17772
17816
|
*
|
|
17773
17817
|
* @remarks
|
|
17774
|
-
*
|
|
17775
|
-
*
|
|
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.
|
|
17776
17820
|
*
|
|
17777
17821
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
17778
17822
|
* @param headers - map
|
|
@@ -17809,8 +17853,8 @@ class Client extends openapi_client_1.default {
|
|
|
17809
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.
|
|
17810
17854
|
*
|
|
17811
17855
|
* @remarks
|
|
17812
|
-
*
|
|
17813
|
-
*
|
|
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.
|
|
17814
17858
|
*
|
|
17815
17859
|
* @param request - UpdateK8sClusterUserConfigExpireRequest
|
|
17816
17860
|
* @returns UpdateK8sClusterUserConfigExpireResponse
|