@alicloud/cs20151215 4.5.1 → 4.6.0
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 +99 -10
- package/dist/client.js +140 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +149 -11
package/dist/client.d.ts
CHANGED
|
@@ -3090,6 +3090,34 @@ export declare class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
3090
3090
|
[key: string]: any;
|
|
3091
3091
|
});
|
|
3092
3092
|
}
|
|
3093
|
+
export declare class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
3094
|
+
slsProjectName?: string;
|
|
3095
|
+
static names(): {
|
|
3096
|
+
[key: string]: string;
|
|
3097
|
+
};
|
|
3098
|
+
static types(): {
|
|
3099
|
+
[key: string]: any;
|
|
3100
|
+
};
|
|
3101
|
+
constructor(map?: {
|
|
3102
|
+
[key: string]: any;
|
|
3103
|
+
});
|
|
3104
|
+
}
|
|
3105
|
+
export declare class GetClusterAuditProjectResponse extends $tea.Model {
|
|
3106
|
+
headers?: {
|
|
3107
|
+
[key: string]: string;
|
|
3108
|
+
};
|
|
3109
|
+
statusCode?: number;
|
|
3110
|
+
body?: GetClusterAuditProjectResponseBody;
|
|
3111
|
+
static names(): {
|
|
3112
|
+
[key: string]: string;
|
|
3113
|
+
};
|
|
3114
|
+
static types(): {
|
|
3115
|
+
[key: string]: any;
|
|
3116
|
+
};
|
|
3117
|
+
constructor(map?: {
|
|
3118
|
+
[key: string]: any;
|
|
3119
|
+
});
|
|
3120
|
+
}
|
|
3093
3121
|
export declare class GetClusterCheckResponseBody extends $tea.Model {
|
|
3094
3122
|
checkId?: string;
|
|
3095
3123
|
checkItems?: {
|
|
@@ -5039,11 +5067,26 @@ export declare class UpgradeClusterAddonsRequest extends $tea.Model {
|
|
|
5039
5067
|
[key: string]: any;
|
|
5040
5068
|
});
|
|
5041
5069
|
}
|
|
5070
|
+
export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
5071
|
+
clusterId?: string;
|
|
5072
|
+
requestId?: string;
|
|
5073
|
+
taskId?: string;
|
|
5074
|
+
static names(): {
|
|
5075
|
+
[key: string]: string;
|
|
5076
|
+
};
|
|
5077
|
+
static types(): {
|
|
5078
|
+
[key: string]: any;
|
|
5079
|
+
};
|
|
5080
|
+
constructor(map?: {
|
|
5081
|
+
[key: string]: any;
|
|
5082
|
+
});
|
|
5083
|
+
}
|
|
5042
5084
|
export declare class UpgradeClusterAddonsResponse extends $tea.Model {
|
|
5043
5085
|
headers?: {
|
|
5044
5086
|
[key: string]: string;
|
|
5045
5087
|
};
|
|
5046
5088
|
statusCode?: number;
|
|
5089
|
+
body?: UpgradeClusterAddonsResponseBody;
|
|
5047
5090
|
static names(): {
|
|
5048
5091
|
[key: string]: string;
|
|
5049
5092
|
};
|
|
@@ -8096,7 +8139,12 @@ export default class Client extends OpenApi {
|
|
|
8096
8139
|
*/
|
|
8097
8140
|
checkServiceRole(request: CheckServiceRoleRequest): Promise<CheckServiceRoleResponse>;
|
|
8098
8141
|
/**
|
|
8099
|
-
* @summary
|
|
8142
|
+
* @summary You can call the CleanClusterUserPermissions operation to delete kubeconfig files that may pose potential risks from a user and revoke Role-Based Access Control (RBAC) permissions on a cluster.
|
|
8143
|
+
*
|
|
8144
|
+
* @description >
|
|
8145
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
8146
|
+
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
8147
|
+
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
8100
8148
|
*
|
|
8101
8149
|
* @param request CleanClusterUserPermissionsRequest
|
|
8102
8150
|
* @param headers map
|
|
@@ -8107,14 +8155,23 @@ export default class Client extends OpenApi {
|
|
|
8107
8155
|
[key: string]: string;
|
|
8108
8156
|
}, runtime: $Util.RuntimeOptions): Promise<CleanClusterUserPermissionsResponse>;
|
|
8109
8157
|
/**
|
|
8110
|
-
* @summary
|
|
8158
|
+
* @summary You can call the CleanClusterUserPermissions operation to delete kubeconfig files that may pose potential risks from a user and revoke Role-Based Access Control (RBAC) permissions on a cluster.
|
|
8159
|
+
*
|
|
8160
|
+
* @description >
|
|
8161
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
8162
|
+
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
8163
|
+
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
8111
8164
|
*
|
|
8112
8165
|
* @param request CleanClusterUserPermissionsRequest
|
|
8113
8166
|
* @return CleanClusterUserPermissionsResponse
|
|
8114
8167
|
*/
|
|
8115
8168
|
cleanClusterUserPermissions(ClusterId: string, Uid: string, request: CleanClusterUserPermissionsRequest): Promise<CleanClusterUserPermissionsResponse>;
|
|
8116
8169
|
/**
|
|
8117
|
-
* @summary
|
|
8170
|
+
* @summary You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
|
|
8171
|
+
*
|
|
8172
|
+
* @description >- To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
8173
|
+
* >- You cannot revoke the permissions of an Alibaba Cloud account.
|
|
8174
|
+
* >- You cannot revoke the permissions of the account that you use to call this operation.
|
|
8118
8175
|
*
|
|
8119
8176
|
* @param tmpReq CleanUserPermissionsRequest
|
|
8120
8177
|
* @param headers map
|
|
@@ -8125,7 +8182,11 @@ export default class Client extends OpenApi {
|
|
|
8125
8182
|
[key: string]: string;
|
|
8126
8183
|
}, runtime: $Util.RuntimeOptions): Promise<CleanUserPermissionsResponse>;
|
|
8127
8184
|
/**
|
|
8128
|
-
* @summary
|
|
8185
|
+
* @summary You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
|
|
8186
|
+
*
|
|
8187
|
+
* @description >- To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
8188
|
+
* >- You cannot revoke the permissions of an Alibaba Cloud account.
|
|
8189
|
+
* >- You cannot revoke the permissions of the account that you use to call this operation.
|
|
8129
8190
|
*
|
|
8130
8191
|
* @param request CleanUserPermissionsRequest
|
|
8131
8192
|
* @return CleanUserPermissionsResponse
|
|
@@ -9369,6 +9430,18 @@ export default class Client extends OpenApi {
|
|
|
9369
9430
|
* @return GetClusterAddonInstanceResponse
|
|
9370
9431
|
*/
|
|
9371
9432
|
getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse>;
|
|
9433
|
+
/**
|
|
9434
|
+
* @param headers map
|
|
9435
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9436
|
+
* @return GetClusterAuditProjectResponse
|
|
9437
|
+
*/
|
|
9438
|
+
getClusterAuditProjectWithOptions(clusterid: string, headers: {
|
|
9439
|
+
[key: string]: string;
|
|
9440
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetClusterAuditProjectResponse>;
|
|
9441
|
+
/**
|
|
9442
|
+
* @return GetClusterAuditProjectResponse
|
|
9443
|
+
*/
|
|
9444
|
+
getClusterAuditProject(clusterid: string): Promise<GetClusterAuditProjectResponse>;
|
|
9372
9445
|
/**
|
|
9373
9446
|
* @summary Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
|
|
9374
9447
|
*
|
|
@@ -9554,7 +9627,11 @@ export default class Client extends OpenApi {
|
|
|
9554
9627
|
*/
|
|
9555
9628
|
listClusterChecks(clusterId: string, request: ListClusterChecksRequest): Promise<ListClusterChecksResponse>;
|
|
9556
9629
|
/**
|
|
9557
|
-
* @summary
|
|
9630
|
+
* @summary 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.
|
|
9631
|
+
*
|
|
9632
|
+
* @description >
|
|
9633
|
+
* * To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
9634
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
9558
9635
|
*
|
|
9559
9636
|
* @param request ListClusterKubeconfigStatesRequest
|
|
9560
9637
|
* @param headers map
|
|
@@ -9565,7 +9642,11 @@ export default class Client extends OpenApi {
|
|
|
9565
9642
|
[key: string]: string;
|
|
9566
9643
|
}, runtime: $Util.RuntimeOptions): Promise<ListClusterKubeconfigStatesResponse>;
|
|
9567
9644
|
/**
|
|
9568
|
-
* @summary
|
|
9645
|
+
* @summary 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.
|
|
9646
|
+
*
|
|
9647
|
+
* @description >
|
|
9648
|
+
* * To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
9649
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
9569
9650
|
*
|
|
9570
9651
|
* @param request ListClusterKubeconfigStatesRequest
|
|
9571
9652
|
* @return ListClusterKubeconfigStatesResponse
|
|
@@ -9608,7 +9689,9 @@ export default class Client extends OpenApi {
|
|
|
9608
9689
|
*/
|
|
9609
9690
|
listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse>;
|
|
9610
9691
|
/**
|
|
9611
|
-
* @summary
|
|
9692
|
+
* @summary You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
|
|
9693
|
+
*
|
|
9694
|
+
* @description > To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
9612
9695
|
*
|
|
9613
9696
|
* @param request ListUserKubeConfigStatesRequest
|
|
9614
9697
|
* @param headers map
|
|
@@ -9619,7 +9702,9 @@ export default class Client extends OpenApi {
|
|
|
9619
9702
|
[key: string]: string;
|
|
9620
9703
|
}, runtime: $Util.RuntimeOptions): Promise<ListUserKubeConfigStatesResponse>;
|
|
9621
9704
|
/**
|
|
9622
|
-
* @summary
|
|
9705
|
+
* @summary You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
|
|
9706
|
+
*
|
|
9707
|
+
* @description > To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
9623
9708
|
*
|
|
9624
9709
|
* @param request ListUserKubeConfigStatesRequest
|
|
9625
9710
|
* @return ListUserKubeConfigStatesResponse
|
|
@@ -10240,7 +10325,9 @@ export default class Client extends OpenApi {
|
|
|
10240
10325
|
*/
|
|
10241
10326
|
untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse>;
|
|
10242
10327
|
/**
|
|
10243
|
-
* @summary
|
|
10328
|
+
* @summary You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
10329
|
+
*
|
|
10330
|
+
* @description Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
|
|
10244
10331
|
*
|
|
10245
10332
|
* @param request UpdateClusterAuditLogConfigRequest
|
|
10246
10333
|
* @param headers map
|
|
@@ -10251,7 +10338,9 @@ export default class Client extends OpenApi {
|
|
|
10251
10338
|
[key: string]: string;
|
|
10252
10339
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateClusterAuditLogConfigResponse>;
|
|
10253
10340
|
/**
|
|
10254
|
-
* @summary
|
|
10341
|
+
* @summary You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
10342
|
+
*
|
|
10343
|
+
* @description Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
|
|
10255
10344
|
*
|
|
10256
10345
|
* @param request UpdateClusterAuditLogConfigRequest
|
|
10257
10346
|
* @return UpdateClusterAuditLogConfigResponse
|
package/dist/client.js
CHANGED
|
@@ -29,13 +29,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.CreateKubernetesTriggerRequest = exports.CreateEdgeMachineResponse = exports.CreateEdgeMachineResponseBody = exports.CreateEdgeMachineRequest = exports.CreateClusterNodePoolResponse = exports.CreateClusterNodePoolResponseBody = exports.CreateClusterNodePoolRequest = exports.CreateClusterDiagnosisResponse = exports.CreateClusterDiagnosisResponseBody = exports.CreateClusterDiagnosisRequest = exports.CreateClusterResponse = exports.CreateClusterResponseBody = exports.CreateClusterRequest = exports.CreateAutoscalingConfigResponse = exports.CreateAutoscalingConfigRequest = exports.CleanUserPermissionsResponse = exports.CleanUserPermissionsResponseBody = exports.CleanUserPermissionsShrinkRequest = exports.CleanUserPermissionsRequest = exports.CleanClusterUserPermissionsResponse = exports.CleanClusterUserPermissionsRequest = exports.CheckServiceRoleResponse = exports.CheckServiceRoleResponseBody = exports.CheckServiceRoleRequest = exports.CheckControlPlaneLogEnableResponse = exports.CheckControlPlaneLogEnableResponseBody = exports.CancelWorkflowResponse = exports.CancelWorkflowRequest = exports.CancelTaskResponse = exports.CancelOperationPlanResponse = exports.CancelOperationPlanResponseBody = exports.CancelComponentUpgradeResponse = exports.CancelClusterUpgradeResponse = exports.AttachInstancesToNodePoolResponse = exports.AttachInstancesToNodePoolResponseBody = exports.AttachInstancesToNodePoolRequest = exports.AttachInstancesResponse = exports.AttachInstancesResponseBody = exports.AttachInstancesRequest = exports.QuotasValue = exports.StandardComponentsValue = exports.Taint = exports.Tag = exports.Runtime = exports.Nodepool = exports.MaintenanceWindow = exports.KubeletConfig = exports.InstancePatterns = exports.DataDisk = exports.Addon = void 0;
|
|
30
30
|
exports.DescribeClusterAddonsUpgradeStatusRequest = exports.DescribeClusterAddonUpgradeStatusResponse = exports.DescribeClusterAddonMetadataResponse = exports.DescribeClusterAddonMetadataResponseBody = exports.DescribeClusterAddonMetadataRequest = exports.DescribeClusterAddonInstanceResponse = exports.DescribeClusterAddonInstanceResponseBody = exports.DescribeAddonsResponse = exports.DescribeAddonsResponseBody = exports.DescribeAddonsRequest = exports.DescribeAddonResponse = exports.DescribeAddonResponseBody = exports.DescribeAddonRequest = exports.DescirbeWorkflowResponse = exports.DescirbeWorkflowResponseBody = exports.DeployPolicyInstanceResponse = exports.DeployPolicyInstanceResponseBody = exports.DeployPolicyInstanceRequest = exports.DeleteTriggerResponse = exports.DeleteTemplateResponse = exports.DeletePolicyInstanceResponse = exports.DeletePolicyInstanceResponseBody = exports.DeletePolicyInstanceRequest = exports.DeleteKubernetesTriggerResponse = exports.DeleteEdgeMachineResponse = exports.DeleteEdgeMachineRequest = exports.DeleteClusterNodesResponse = exports.DeleteClusterNodesResponseBody = exports.DeleteClusterNodesRequest = exports.DeleteClusterNodepoolResponse = exports.DeleteClusterNodepoolResponseBody = exports.DeleteClusterNodepoolRequest = exports.DeleteClusterResponse = exports.DeleteClusterResponseBody = exports.DeleteClusterShrinkRequest = exports.DeleteClusterRequest = exports.DeleteAlertContactGroupResponse = exports.DeleteAlertContactGroupShrinkRequest = exports.DeleteAlertContactGroupRequest = exports.DeleteAlertContactResponse = exports.DeleteAlertContactShrinkRequest = exports.DeleteAlertContactRequest = exports.CreateTriggerResponse = exports.CreateTriggerResponseBody = exports.CreateTriggerRequest = exports.CreateTemplateResponse = exports.CreateTemplateResponseBody = exports.CreateTemplateRequest = exports.CreateKubernetesTriggerResponse = exports.CreateKubernetesTriggerResponseBody = void 0;
|
|
31
31
|
exports.DescribeExternalAgentRequest = exports.DescribeEventsResponse = exports.DescribeEventsResponseBody = exports.DescribeEventsRequest = exports.DescribeEdgeMachinesResponse = exports.DescribeEdgeMachinesResponseBody = exports.DescribeEdgeMachinesRequest = exports.DescribeEdgeMachineTunnelConfigDetailResponse = exports.DescribeEdgeMachineTunnelConfigDetailResponseBody = exports.DescribeEdgeMachineModelsResponse = exports.DescribeEdgeMachineModelsResponseBody = exports.DescribeEdgeMachineActiveProcessResponse = exports.DescribeEdgeMachineActiveProcessResponseBody = exports.DescribeClustersV1Response = exports.DescribeClustersV1ResponseBody = exports.DescribeClustersV1Request = exports.DescribeClustersResponse = exports.DescribeClustersRequest = exports.DescribeClusterVulsResponse = exports.DescribeClusterVulsResponseBody = exports.DescribeClusterV2UserKubeconfigResponse = exports.DescribeClusterV2UserKubeconfigResponseBody = exports.DescribeClusterV2UserKubeconfigRequest = exports.DescribeClusterUserKubeconfigResponse = exports.DescribeClusterUserKubeconfigResponseBody = exports.DescribeClusterUserKubeconfigRequest = exports.DescribeClusterTasksResponse = exports.DescribeClusterTasksResponseBody = exports.DescribeClusterTasksRequest = exports.DescribeClusterResourcesResponse = exports.DescribeClusterResourcesRequest = exports.DescribeClusterNodesResponse = exports.DescribeClusterNodesResponseBody = exports.DescribeClusterNodesRequest = exports.DescribeClusterNodePoolsResponse = exports.DescribeClusterNodePoolsResponseBody = exports.DescribeClusterNodePoolsRequest = exports.DescribeClusterNodePoolDetailResponse = exports.DescribeClusterNodePoolDetailResponseBody = exports.DescribeClusterLogsResponse = exports.DescribeClusterEventsResponse = exports.DescribeClusterEventsResponseBody = exports.DescribeClusterEventsRequest = exports.DescribeClusterDetailResponse = exports.DescribeClusterDetailResponseBody = exports.DescribeClusterAttachScriptsResponse = exports.DescribeClusterAttachScriptsRequest = exports.DescribeClusterAddonsVersionResponse = exports.DescribeClusterAddonsUpgradeStatusResponse = exports.DescribeClusterAddonsUpgradeStatusShrinkRequest = void 0;
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = 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 = void 0;
|
|
32
|
+
exports.GetClusterDiagnosisCheckItemsResponse = exports.GetClusterDiagnosisCheckItemsResponseBody = exports.GetClusterCheckResponse = exports.GetClusterCheckResponseBody = exports.GetClusterAuditProjectResponse = exports.GetClusterAuditProjectResponseBody = exports.GetClusterAddonInstanceResponse = exports.GetClusterAddonInstanceResponseBody = exports.FixNodePoolVulsResponse = exports.FixNodePoolVulsResponseBody = exports.FixNodePoolVulsRequest = exports.EdgeClusterAddEdgeMachineResponse = exports.EdgeClusterAddEdgeMachineResponseBody = exports.EdgeClusterAddEdgeMachineRequest = exports.DescribeWorkflowsResponse = exports.DescribeWorkflowsResponseBody = exports.DescribeUserQuotaResponse = exports.DescribeUserQuotaResponseBody = exports.DescribeUserPermissionResponse = exports.DescribeUserClusterNamespacesResponse = exports.DescribeTriggerResponse = exports.DescribeTriggerRequest = exports.DescribeTemplatesResponse = exports.DescribeTemplatesResponseBody = exports.DescribeTemplatesRequest = exports.DescribeTemplateAttributeResponse = exports.DescribeTemplateAttributeRequest = exports.DescribeTaskInfoResponse = exports.DescribeTaskInfoResponseBody = exports.DescribeSubaccountK8sClusterUserConfigResponse = exports.DescribeSubaccountK8sClusterUserConfigResponseBody = exports.DescribeSubaccountK8sClusterUserConfigRequest = exports.DescribeResourcesDeleteProtectionResponse = exports.DescribeResourcesDeleteProtectionRequest = exports.DescribePolicyInstancesStatusResponse = exports.DescribePolicyInstancesStatusResponseBody = exports.DescribePolicyInstancesResponse = exports.DescribePolicyInstancesRequest = exports.DescribePolicyGovernanceInClusterResponse = exports.DescribePolicyGovernanceInClusterResponseBody = exports.DescribePolicyDetailsResponse = exports.DescribePolicyDetailsResponseBody = exports.DescribePoliciesResponse = exports.DescribeNodePoolVulsResponse = exports.DescribeNodePoolVulsResponseBody = exports.DescribeNodePoolVulsRequest = exports.DescribeKubernetesVersionMetadataResponse = exports.DescribeKubernetesVersionMetadataRequest = exports.DescribeExternalAgentResponse = exports.DescribeExternalAgentResponseBody = void 0;
|
|
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
|
+
exports.UnInstallClusterAddonsRequest = exports.TagResourcesResponse = 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.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
|
+
exports.CreateClusterNodePoolRequestAutoScaling = exports.CreateClusterRequestWorkerDataDisks = exports.CheckServiceRoleResponseBodyRoles = exports.CheckServiceRoleRequestRoles = 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.UpdateClusterAuditLogConfigResponse = exports.UpdateClusterAuditLogConfigResponseBody = exports.UpdateClusterAuditLogConfigRequest = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesShrinkRequest = exports.UntagResourcesRequest = exports.UnInstallClusterAddonsResponse = void 0;
|
|
36
|
+
exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagement = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig = 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.DeleteAlertContactResponseBodyBody = 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 = void 0;
|
|
37
|
+
exports.DescribeTemplatesResponseBodyTemplates = exports.DescribeTemplatesResponseBodyPageInfo = exports.DescribeTemplateAttributeResponseBody = exports.DescribeTaskInfoResponseBodyTaskResult = 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 = void 0;
|
|
38
|
+
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = 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 = void 0;
|
|
39
39
|
// This file is auto-generated, don't edit it
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
@@ -4285,6 +4285,42 @@ class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
4287
|
exports.GetClusterAddonInstanceResponse = GetClusterAddonInstanceResponse;
|
|
4288
|
+
class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
4289
|
+
static names() {
|
|
4290
|
+
return {
|
|
4291
|
+
slsProjectName: 'sls_project_name',
|
|
4292
|
+
};
|
|
4293
|
+
}
|
|
4294
|
+
static types() {
|
|
4295
|
+
return {
|
|
4296
|
+
slsProjectName: 'string',
|
|
4297
|
+
};
|
|
4298
|
+
}
|
|
4299
|
+
constructor(map) {
|
|
4300
|
+
super(map);
|
|
4301
|
+
}
|
|
4302
|
+
}
|
|
4303
|
+
exports.GetClusterAuditProjectResponseBody = GetClusterAuditProjectResponseBody;
|
|
4304
|
+
class GetClusterAuditProjectResponse extends $tea.Model {
|
|
4305
|
+
static names() {
|
|
4306
|
+
return {
|
|
4307
|
+
headers: 'headers',
|
|
4308
|
+
statusCode: 'statusCode',
|
|
4309
|
+
body: 'body',
|
|
4310
|
+
};
|
|
4311
|
+
}
|
|
4312
|
+
static types() {
|
|
4313
|
+
return {
|
|
4314
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4315
|
+
statusCode: 'number',
|
|
4316
|
+
body: GetClusterAuditProjectResponseBody,
|
|
4317
|
+
};
|
|
4318
|
+
}
|
|
4319
|
+
constructor(map) {
|
|
4320
|
+
super(map);
|
|
4321
|
+
}
|
|
4322
|
+
}
|
|
4323
|
+
exports.GetClusterAuditProjectResponse = GetClusterAuditProjectResponse;
|
|
4288
4324
|
class GetClusterCheckResponseBody extends $tea.Model {
|
|
4289
4325
|
static names() {
|
|
4290
4326
|
return {
|
|
@@ -6923,17 +6959,39 @@ class UpgradeClusterAddonsRequest extends $tea.Model {
|
|
|
6923
6959
|
}
|
|
6924
6960
|
}
|
|
6925
6961
|
exports.UpgradeClusterAddonsRequest = UpgradeClusterAddonsRequest;
|
|
6962
|
+
class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
6963
|
+
static names() {
|
|
6964
|
+
return {
|
|
6965
|
+
clusterId: 'cluster_id',
|
|
6966
|
+
requestId: 'request_id',
|
|
6967
|
+
taskId: 'task_id',
|
|
6968
|
+
};
|
|
6969
|
+
}
|
|
6970
|
+
static types() {
|
|
6971
|
+
return {
|
|
6972
|
+
clusterId: 'string',
|
|
6973
|
+
requestId: 'string',
|
|
6974
|
+
taskId: 'string',
|
|
6975
|
+
};
|
|
6976
|
+
}
|
|
6977
|
+
constructor(map) {
|
|
6978
|
+
super(map);
|
|
6979
|
+
}
|
|
6980
|
+
}
|
|
6981
|
+
exports.UpgradeClusterAddonsResponseBody = UpgradeClusterAddonsResponseBody;
|
|
6926
6982
|
class UpgradeClusterAddonsResponse extends $tea.Model {
|
|
6927
6983
|
static names() {
|
|
6928
6984
|
return {
|
|
6929
6985
|
headers: 'headers',
|
|
6930
6986
|
statusCode: 'statusCode',
|
|
6987
|
+
body: 'body',
|
|
6931
6988
|
};
|
|
6932
6989
|
}
|
|
6933
6990
|
static types() {
|
|
6934
6991
|
return {
|
|
6935
6992
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6936
6993
|
statusCode: 'number',
|
|
6994
|
+
body: UpgradeClusterAddonsResponseBody,
|
|
6937
6995
|
};
|
|
6938
6996
|
}
|
|
6939
6997
|
constructor(map) {
|
|
@@ -11728,7 +11786,12 @@ class Client extends openapi_client_1.default {
|
|
|
11728
11786
|
return await this.checkServiceRoleWithOptions(request, headers, runtime);
|
|
11729
11787
|
}
|
|
11730
11788
|
/**
|
|
11731
|
-
* @summary
|
|
11789
|
+
* @summary You can call the CleanClusterUserPermissions operation to delete kubeconfig files that may pose potential risks from a user and revoke Role-Based Access Control (RBAC) permissions on a cluster.
|
|
11790
|
+
*
|
|
11791
|
+
* @description >
|
|
11792
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
11793
|
+
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
11794
|
+
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
11732
11795
|
*
|
|
11733
11796
|
* @param request CleanClusterUserPermissionsRequest
|
|
11734
11797
|
* @param headers map
|
|
@@ -11759,7 +11822,12 @@ class Client extends openapi_client_1.default {
|
|
|
11759
11822
|
return $tea.cast(await this.callApi(params, req, runtime), new CleanClusterUserPermissionsResponse({}));
|
|
11760
11823
|
}
|
|
11761
11824
|
/**
|
|
11762
|
-
* @summary
|
|
11825
|
+
* @summary You can call the CleanClusterUserPermissions operation to delete kubeconfig files that may pose potential risks from a user and revoke Role-Based Access Control (RBAC) permissions on a cluster.
|
|
11826
|
+
*
|
|
11827
|
+
* @description >
|
|
11828
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
11829
|
+
* * You cannot revoke the permissions of an Alibaba Cloud account.
|
|
11830
|
+
* * You cannot revoke the permissions of the account that you use to call this operation.
|
|
11763
11831
|
*
|
|
11764
11832
|
* @param request CleanClusterUserPermissionsRequest
|
|
11765
11833
|
* @return CleanClusterUserPermissionsResponse
|
|
@@ -11770,7 +11838,11 @@ class Client extends openapi_client_1.default {
|
|
|
11770
11838
|
return await this.cleanClusterUserPermissionsWithOptions(ClusterId, Uid, request, headers, runtime);
|
|
11771
11839
|
}
|
|
11772
11840
|
/**
|
|
11773
|
-
* @summary
|
|
11841
|
+
* @summary You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
|
|
11842
|
+
*
|
|
11843
|
+
* @description >- To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
11844
|
+
* >- You cannot revoke the permissions of an Alibaba Cloud account.
|
|
11845
|
+
* >- You cannot revoke the permissions of the account that you use to call this operation.
|
|
11774
11846
|
*
|
|
11775
11847
|
* @param tmpReq CleanUserPermissionsRequest
|
|
11776
11848
|
* @param headers map
|
|
@@ -11809,7 +11881,11 @@ class Client extends openapi_client_1.default {
|
|
|
11809
11881
|
return $tea.cast(await this.callApi(params, req, runtime), new CleanUserPermissionsResponse({}));
|
|
11810
11882
|
}
|
|
11811
11883
|
/**
|
|
11812
|
-
* @summary
|
|
11884
|
+
* @summary You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
|
|
11885
|
+
*
|
|
11886
|
+
* @description >- To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
11887
|
+
* >- You cannot revoke the permissions of an Alibaba Cloud account.
|
|
11888
|
+
* >- You cannot revoke the permissions of the account that you use to call this operation.
|
|
11813
11889
|
*
|
|
11814
11890
|
* @param request CleanUserPermissionsRequest
|
|
11815
11891
|
* @return CleanUserPermissionsResponse
|
|
@@ -15143,6 +15219,36 @@ class Client extends openapi_client_1.default {
|
|
|
15143
15219
|
let headers = {};
|
|
15144
15220
|
return await this.getClusterAddonInstanceWithOptions(clusterId, instanceName, headers, runtime);
|
|
15145
15221
|
}
|
|
15222
|
+
/**
|
|
15223
|
+
* @param headers map
|
|
15224
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15225
|
+
* @return GetClusterAuditProjectResponse
|
|
15226
|
+
*/
|
|
15227
|
+
async getClusterAuditProjectWithOptions(clusterid, headers, runtime) {
|
|
15228
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15229
|
+
headers: headers,
|
|
15230
|
+
});
|
|
15231
|
+
let params = new $OpenApi.Params({
|
|
15232
|
+
action: "GetClusterAuditProject",
|
|
15233
|
+
version: "2015-12-15",
|
|
15234
|
+
protocol: "HTTPS",
|
|
15235
|
+
pathname: `/clusters/${openapi_util_1.default.getEncodeParam(clusterid)}/audit`,
|
|
15236
|
+
method: "GET",
|
|
15237
|
+
authType: "AK",
|
|
15238
|
+
style: "ROA",
|
|
15239
|
+
reqBodyType: "json",
|
|
15240
|
+
bodyType: "json",
|
|
15241
|
+
});
|
|
15242
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetClusterAuditProjectResponse({}));
|
|
15243
|
+
}
|
|
15244
|
+
/**
|
|
15245
|
+
* @return GetClusterAuditProjectResponse
|
|
15246
|
+
*/
|
|
15247
|
+
async getClusterAuditProject(clusterid) {
|
|
15248
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15249
|
+
let headers = {};
|
|
15250
|
+
return await this.getClusterAuditProjectWithOptions(clusterid, headers, runtime);
|
|
15251
|
+
}
|
|
15146
15252
|
/**
|
|
15147
15253
|
* @summary Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
|
|
15148
15254
|
*
|
|
@@ -15559,7 +15665,11 @@ class Client extends openapi_client_1.default {
|
|
|
15559
15665
|
return await this.listClusterChecksWithOptions(clusterId, request, headers, runtime);
|
|
15560
15666
|
}
|
|
15561
15667
|
/**
|
|
15562
|
-
* @summary
|
|
15668
|
+
* @summary 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.
|
|
15669
|
+
*
|
|
15670
|
+
* @description >
|
|
15671
|
+
* * To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
15672
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
15563
15673
|
*
|
|
15564
15674
|
* @param request ListClusterKubeconfigStatesRequest
|
|
15565
15675
|
* @param headers map
|
|
@@ -15593,7 +15703,11 @@ class Client extends openapi_client_1.default {
|
|
|
15593
15703
|
return $tea.cast(await this.callApi(params, req, runtime), new ListClusterKubeconfigStatesResponse({}));
|
|
15594
15704
|
}
|
|
15595
15705
|
/**
|
|
15596
|
-
* @summary
|
|
15706
|
+
* @summary 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.
|
|
15707
|
+
*
|
|
15708
|
+
* @description >
|
|
15709
|
+
* * To call this operation, make sure that you have ram:ListUsers and ram:ListRoles permissions.
|
|
15710
|
+
* * To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
15597
15711
|
*
|
|
15598
15712
|
* @param request ListClusterKubeconfigStatesRequest
|
|
15599
15713
|
* @return ListClusterKubeconfigStatesResponse
|
|
@@ -15711,7 +15825,9 @@ class Client extends openapi_client_1.default {
|
|
|
15711
15825
|
return await this.listTagResourcesWithOptions(request, headers, runtime);
|
|
15712
15826
|
}
|
|
15713
15827
|
/**
|
|
15714
|
-
* @summary
|
|
15828
|
+
* @summary You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
|
|
15829
|
+
*
|
|
15830
|
+
* @description > To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
15715
15831
|
*
|
|
15716
15832
|
* @param request ListUserKubeConfigStatesRequest
|
|
15717
15833
|
* @param headers map
|
|
@@ -15745,7 +15861,9 @@ class Client extends openapi_client_1.default {
|
|
|
15745
15861
|
return $tea.cast(await this.callApi(params, req, runtime), new ListUserKubeConfigStatesResponse({}));
|
|
15746
15862
|
}
|
|
15747
15863
|
/**
|
|
15748
|
-
* @summary
|
|
15864
|
+
* @summary You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
|
|
15865
|
+
*
|
|
15866
|
+
* @description > To call this operation, make sure that you have the AliyunCSFullAccess permissions.
|
|
15749
15867
|
*
|
|
15750
15868
|
* @param request ListUserKubeConfigStatesRequest
|
|
15751
15869
|
* @return ListUserKubeConfigStatesResponse
|
|
@@ -17387,7 +17505,9 @@ class Client extends openapi_client_1.default {
|
|
|
17387
17505
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
17388
17506
|
}
|
|
17389
17507
|
/**
|
|
17390
|
-
* @summary
|
|
17508
|
+
* @summary You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
17509
|
+
*
|
|
17510
|
+
* @description Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
|
|
17391
17511
|
*
|
|
17392
17512
|
* @param request UpdateClusterAuditLogConfigRequest
|
|
17393
17513
|
* @param headers map
|
|
@@ -17421,7 +17541,9 @@ class Client extends openapi_client_1.default {
|
|
|
17421
17541
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateClusterAuditLogConfigResponse({}));
|
|
17422
17542
|
}
|
|
17423
17543
|
/**
|
|
17424
|
-
* @summary
|
|
17544
|
+
* @summary You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
17545
|
+
*
|
|
17546
|
+
* @description Before you call this operation, ensure that you understand the billing methods and pricing of [Simple Log Service](https://www.aliyun.com/price/product#/sls/detail/sls) (SLS).
|
|
17425
17547
|
*
|
|
17426
17548
|
* @param request UpdateClusterAuditLogConfigRequest
|
|
17427
17549
|
* @return UpdateClusterAuditLogConfigResponse
|
|
@@ -17791,7 +17913,7 @@ class Client extends openapi_client_1.default {
|
|
|
17791
17913
|
authType: "AK",
|
|
17792
17914
|
style: "ROA",
|
|
17793
17915
|
reqBodyType: "json",
|
|
17794
|
-
bodyType: "
|
|
17916
|
+
bodyType: "json",
|
|
17795
17917
|
});
|
|
17796
17918
|
return $tea.cast(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
17797
17919
|
}
|