@alicloud/cs20151215 4.2.0 → 4.3.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.js CHANGED
@@ -26,16 +26,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CreateTriggerResponseBody = exports.CreateTriggerRequest = exports.CreateTemplateResponse = exports.CreateTemplateResponseBody = exports.CreateTemplateRequest = exports.CreateKubernetesTriggerResponse = exports.CreateKubernetesTriggerResponseBody = 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.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.DataDisk = exports.Addon = void 0;
30
- exports.DescribeClusterDetailResponse = exports.DescribeClusterDetailResponseBody = exports.DescribeClusterAttachScriptsResponse = exports.DescribeClusterAttachScriptsRequest = exports.DescribeClusterAddonsVersionResponse = exports.DescribeClusterAddonsUpgradeStatusResponse = exports.DescribeClusterAddonsUpgradeStatusShrinkRequest = 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 = void 0;
31
- exports.DescribeNodePoolVulsResponse = exports.DescribeNodePoolVulsResponseBody = exports.DescribeNodePoolVulsRequest = exports.DescribeKubernetesVersionMetadataResponse = exports.DescribeKubernetesVersionMetadataRequest = exports.DescribeExternalAgentResponse = exports.DescribeExternalAgentResponseBody = 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 = void 0;
32
- exports.ListAddonsRequest = exports.InstallClusterAddonsResponse = exports.InstallClusterAddonsRequest = exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusResponseBody = exports.GetKubernetesTriggerResponse = exports.GetKubernetesTriggerRequest = exports.GetClusterDiagnosisResultResponse = exports.GetClusterDiagnosisResultResponseBody = exports.GetClusterDiagnosisCheckItemsResponse = exports.GetClusterDiagnosisCheckItemsResponseBody = exports.GetClusterCheckResponse = exports.GetClusterCheckResponseBody = 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.DescribePolicyInstancesStatusResponse = exports.DescribePolicyInstancesStatusResponseBody = exports.DescribePolicyInstancesResponse = exports.DescribePolicyInstancesRequest = exports.DescribePolicyGovernanceInClusterResponse = exports.DescribePolicyGovernanceInClusterResponseBody = exports.DescribePolicyDetailsResponse = exports.DescribePolicyDetailsResponseBody = exports.DescribePoliciesResponse = void 0;
33
- 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 = 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.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesShrinkRequest = exports.ListTagResourcesRequest = exports.ListOperationPlansResponse = exports.ListOperationPlansResponseBody = exports.ListOperationPlansRequest = exports.ListClusterChecksResponse = exports.ListClusterChecksResponseBody = exports.ListClusterChecksRequest = exports.ListClusterAddonInstancesResponse = exports.ListClusterAddonInstancesResponseBody = exports.ListAddonsResponse = exports.ListAddonsResponseBody = void 0;
34
- exports.UpgradeClusterResponseBody = exports.UpgradeClusterRequest = exports.UpdateUserPermissionsResponse = exports.UpdateUserPermissionsRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateK8sClusterUserConfigExpireResponse = exports.UpdateK8sClusterUserConfigExpireRequest = exports.UpdateControlPlaneLogResponse = exports.UpdateControlPlaneLogResponseBody = exports.UpdateControlPlaneLogRequest = exports.UpdateContactGroupForAlertResponse = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesShrinkRequest = exports.UntagResourcesRequest = exports.UnInstallClusterAddonsResponse = 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 = void 0;
35
- 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 = 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.UpgradeClusterAddonsRequest = exports.UpgradeClusterResponse = void 0;
36
- 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 = 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 = void 0;
37
- exports.ModifyClusterNodePoolRequestKubernetesConfig = exports.ModifyClusterNodePoolRequestAutoScaling = exports.ModifyClusterConfigurationRequestCustomizeConfig = exports.ModifyClusterConfigurationRequestCustomizeConfigConfigs = exports.ModifyClusterRequestSystemEventsLogging = exports.ModifyClusterRequestOperationPolicy = exports.ModifyClusterRequestOperationPolicyClusterAutoUpgrade = exports.ModifyClusterRequestApiServerCustomCertSans = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListOperationPlansResponseBodyPlans = 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 = exports.DescribeTaskInfoResponseBodyTarget = exports.DescribeTaskInfoResponseBodyStages = exports.DescribeTaskInfoResponseBodyEvents = exports.DescribeTaskInfoResponseBodyError = 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 = 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 = void 0;
29
+ exports.CreateTriggerRequest = exports.CreateTemplateResponse = exports.CreateTemplateResponseBody = exports.CreateTemplateRequest = exports.CreateKubernetesTriggerResponse = exports.CreateKubernetesTriggerResponseBody = 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.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
+ exports.DescribeClusterDetailResponseBody = exports.DescribeClusterAttachScriptsResponse = exports.DescribeClusterAttachScriptsRequest = exports.DescribeClusterAddonsVersionResponse = exports.DescribeClusterAddonsUpgradeStatusResponse = exports.DescribeClusterAddonsUpgradeStatusShrinkRequest = 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 = void 0;
31
+ exports.DescribeNodePoolVulsResponseBody = exports.DescribeNodePoolVulsRequest = exports.DescribeKubernetesVersionMetadataResponse = exports.DescribeKubernetesVersionMetadataRequest = exports.DescribeExternalAgentResponse = exports.DescribeExternalAgentResponseBody = 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 = void 0;
32
+ exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusResponseBody = exports.GetKubernetesTriggerResponse = exports.GetKubernetesTriggerRequest = exports.GetClusterDiagnosisResultResponse = exports.GetClusterDiagnosisResultResponseBody = exports.GetClusterDiagnosisCheckItemsResponse = exports.GetClusterDiagnosisCheckItemsResponseBody = exports.GetClusterCheckResponse = exports.GetClusterCheckResponseBody = 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 = void 0;
33
+ 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 = 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.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesShrinkRequest = exports.ListTagResourcesRequest = exports.ListOperationPlansResponse = exports.ListOperationPlansResponseBody = exports.ListOperationPlansRequest = exports.ListClusterChecksResponse = exports.ListClusterChecksResponseBody = exports.ListClusterChecksRequest = exports.ListClusterAddonInstancesResponse = exports.ListClusterAddonInstancesResponseBody = exports.ListAddonsResponse = exports.ListAddonsResponseBody = exports.ListAddonsRequest = exports.InstallClusterAddonsResponse = exports.InstallClusterAddonsRequest = void 0;
34
+ exports.UpdateResourcesDeleteProtectionResponse = exports.UpdateResourcesDeleteProtectionResponseBody = exports.UpdateResourcesDeleteProtectionRequest = exports.UpdateK8sClusterUserConfigExpireResponse = exports.UpdateK8sClusterUserConfigExpireRequest = exports.UpdateControlPlaneLogResponse = exports.UpdateControlPlaneLogResponseBody = exports.UpdateControlPlaneLogRequest = exports.UpdateContactGroupForAlertResponse = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesShrinkRequest = exports.UntagResourcesRequest = exports.UnInstallClusterAddonsResponse = 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 = void 0;
35
+ 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 = 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.UpgradeClusterAddonsRequest = exports.UpgradeClusterResponse = exports.UpgradeClusterResponseBody = exports.UpgradeClusterRequest = exports.UpdateUserPermissionsResponse = exports.UpdateUserPermissionsRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = void 0;
36
+ 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 = 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 = void 0;
37
+ exports.ModifyClusterRequestApiServerCustomCertSans = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListOperationPlansResponseBodyPlans = 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 = 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 = 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 = void 0;
39
39
  // This file is auto-generated, don't edit it
40
40
  /**
41
41
  *
@@ -109,6 +109,34 @@ class DataDisk extends $tea.Model {
109
109
  }
110
110
  }
111
111
  exports.DataDisk = DataDisk;
112
+ class InstancePatterns extends $tea.Model {
113
+ static names() {
114
+ return {
115
+ architectures: 'architectures',
116
+ burstPerformanceOption: 'burst_performance_option',
117
+ core: 'core',
118
+ excludedInstanceTypes: 'excluded_instance_types',
119
+ instanceFamilyLevel: 'instance_family_level',
120
+ maxPrice: 'max_price',
121
+ memory: 'memory',
122
+ };
123
+ }
124
+ static types() {
125
+ return {
126
+ architectures: { 'type': 'array', 'itemType': 'string' },
127
+ burstPerformanceOption: 'string',
128
+ core: 'number',
129
+ excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
130
+ instanceFamilyLevel: 'string',
131
+ maxPrice: 'number',
132
+ memory: 'number',
133
+ };
134
+ }
135
+ constructor(map) {
136
+ super(map);
137
+ }
138
+ }
139
+ exports.InstancePatterns = InstancePatterns;
112
140
  class KubeletConfig extends $tea.Model {
113
141
  static names() {
114
142
  return {
@@ -3571,6 +3599,44 @@ class DescribePolicyInstancesStatusResponse extends $tea.Model {
3571
3599
  }
3572
3600
  }
3573
3601
  exports.DescribePolicyInstancesStatusResponse = DescribePolicyInstancesStatusResponse;
3602
+ class DescribeResourcesDeleteProtectionRequest extends $tea.Model {
3603
+ static names() {
3604
+ return {
3605
+ namespace: 'namespace',
3606
+ resources: 'resources',
3607
+ };
3608
+ }
3609
+ static types() {
3610
+ return {
3611
+ namespace: 'string',
3612
+ resources: 'string',
3613
+ };
3614
+ }
3615
+ constructor(map) {
3616
+ super(map);
3617
+ }
3618
+ }
3619
+ exports.DescribeResourcesDeleteProtectionRequest = DescribeResourcesDeleteProtectionRequest;
3620
+ class DescribeResourcesDeleteProtectionResponse extends $tea.Model {
3621
+ static names() {
3622
+ return {
3623
+ headers: 'headers',
3624
+ statusCode: 'statusCode',
3625
+ body: 'body',
3626
+ };
3627
+ }
3628
+ static types() {
3629
+ return {
3630
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3631
+ statusCode: 'number',
3632
+ body: { 'type': 'array', 'itemType': DescribeResourcesDeleteProtectionResponseBody },
3633
+ };
3634
+ }
3635
+ constructor(map) {
3636
+ super(map);
3637
+ }
3638
+ }
3639
+ exports.DescribeResourcesDeleteProtectionResponse = DescribeResourcesDeleteProtectionResponse;
3574
3640
  class DescribeSubaccountK8sClusterUserConfigRequest extends $tea.Model {
3575
3641
  static names() {
3576
3642
  return {
@@ -6353,6 +6419,72 @@ class UpdateK8sClusterUserConfigExpireResponse extends $tea.Model {
6353
6419
  }
6354
6420
  }
6355
6421
  exports.UpdateK8sClusterUserConfigExpireResponse = UpdateK8sClusterUserConfigExpireResponse;
6422
+ class UpdateResourcesDeleteProtectionRequest extends $tea.Model {
6423
+ static names() {
6424
+ return {
6425
+ enable: 'enable',
6426
+ namespace: 'namespace',
6427
+ resourceType: 'resource_type',
6428
+ resources: 'resources',
6429
+ };
6430
+ }
6431
+ static types() {
6432
+ return {
6433
+ enable: 'boolean',
6434
+ namespace: 'string',
6435
+ resourceType: 'string',
6436
+ resources: { 'type': 'array', 'itemType': 'string' },
6437
+ };
6438
+ }
6439
+ constructor(map) {
6440
+ super(map);
6441
+ }
6442
+ }
6443
+ exports.UpdateResourcesDeleteProtectionRequest = UpdateResourcesDeleteProtectionRequest;
6444
+ class UpdateResourcesDeleteProtectionResponseBody extends $tea.Model {
6445
+ static names() {
6446
+ return {
6447
+ namespace: 'namespace',
6448
+ protection: 'protection',
6449
+ requestId: 'requestId',
6450
+ resourceType: 'resource_type',
6451
+ resources: 'resources',
6452
+ };
6453
+ }
6454
+ static types() {
6455
+ return {
6456
+ namespace: 'string',
6457
+ protection: 'string',
6458
+ requestId: 'string',
6459
+ resourceType: 'string',
6460
+ resources: { 'type': 'array', 'itemType': 'string' },
6461
+ };
6462
+ }
6463
+ constructor(map) {
6464
+ super(map);
6465
+ }
6466
+ }
6467
+ exports.UpdateResourcesDeleteProtectionResponseBody = UpdateResourcesDeleteProtectionResponseBody;
6468
+ class UpdateResourcesDeleteProtectionResponse extends $tea.Model {
6469
+ static names() {
6470
+ return {
6471
+ headers: 'headers',
6472
+ statusCode: 'statusCode',
6473
+ body: 'body',
6474
+ };
6475
+ }
6476
+ static types() {
6477
+ return {
6478
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6479
+ statusCode: 'number',
6480
+ body: UpdateResourcesDeleteProtectionResponseBody,
6481
+ };
6482
+ }
6483
+ constructor(map) {
6484
+ super(map);
6485
+ }
6486
+ }
6487
+ exports.UpdateResourcesDeleteProtectionResponse = UpdateResourcesDeleteProtectionResponse;
6356
6488
  class UpdateTemplateRequest extends $tea.Model {
6357
6489
  static names() {
6358
6490
  return {
@@ -7350,6 +7482,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
7350
7482
  imageId: 'image_id',
7351
7483
  imageType: 'image_type',
7352
7484
  instanceChargeType: 'instance_charge_type',
7485
+ instancePatterns: 'instance_patterns',
7353
7486
  instanceTypes: 'instance_types',
7354
7487
  internetChargeType: 'internet_charge_type',
7355
7488
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -7398,6 +7531,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
7398
7531
  imageId: 'string',
7399
7532
  imageType: 'string',
7400
7533
  instanceChargeType: 'string',
7534
+ instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
7401
7535
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
7402
7536
  internetChargeType: 'string',
7403
7537
  internetMaxBandwidthOut: 'number',
@@ -7956,6 +8090,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
7956
8090
  imageId: 'image_id',
7957
8091
  imageType: 'image_type',
7958
8092
  instanceChargeType: 'instance_charge_type',
8093
+ instancePatterns: 'instance_patterns',
7959
8094
  instanceTypes: 'instance_types',
7960
8095
  internetChargeType: 'internet_charge_type',
7961
8096
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -8006,6 +8141,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
8006
8141
  imageId: 'string',
8007
8142
  imageType: 'string',
8008
8143
  instanceChargeType: 'string',
8144
+ instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
8009
8145
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
8010
8146
  internetChargeType: 'string',
8011
8147
  internetMaxBandwidthOut: 'number',
@@ -8376,6 +8512,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
8376
8512
  imageId: 'image_id',
8377
8513
  imageType: 'image_type',
8378
8514
  instanceChargeType: 'instance_charge_type',
8515
+ instancePatterns: 'instance_patterns',
8379
8516
  instanceTypes: 'instance_types',
8380
8517
  internetChargeType: 'internet_charge_type',
8381
8518
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -8426,6 +8563,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
8426
8563
  imageId: 'string',
8427
8564
  imageType: 'string',
8428
8565
  instanceChargeType: 'string',
8566
+ instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
8429
8567
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
8430
8568
  internetChargeType: 'string',
8431
8569
  internetMaxBandwidthOut: 'number',
@@ -9493,6 +9631,28 @@ class DescribePolicyInstancesStatusResponseBodyPolicyInstances extends $tea.Mode
9493
9631
  }
9494
9632
  }
9495
9633
  exports.DescribePolicyInstancesStatusResponseBodyPolicyInstances = DescribePolicyInstancesStatusResponseBodyPolicyInstances;
9634
+ class DescribeResourcesDeleteProtectionResponseBody extends $tea.Model {
9635
+ static names() {
9636
+ return {
9637
+ name: 'name',
9638
+ namespace: 'namespace',
9639
+ resource: 'resource',
9640
+ protection: 'protection',
9641
+ };
9642
+ }
9643
+ static types() {
9644
+ return {
9645
+ name: 'string',
9646
+ namespace: 'string',
9647
+ resource: 'string',
9648
+ protection: 'boolean',
9649
+ };
9650
+ }
9651
+ constructor(map) {
9652
+ super(map);
9653
+ }
9654
+ }
9655
+ exports.DescribeResourcesDeleteProtectionResponseBody = DescribeResourcesDeleteProtectionResponseBody;
9496
9656
  class DescribeTaskInfoResponseBodyError extends $tea.Model {
9497
9657
  static names() {
9498
9658
  return {
@@ -10420,6 +10580,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
10420
10580
  imageId: 'image_id',
10421
10581
  imageType: 'image_type',
10422
10582
  instanceChargeType: 'instance_charge_type',
10583
+ instancePatterns: 'instance_patterns',
10423
10584
  instanceTypes: 'instance_types',
10424
10585
  internetChargeType: 'internet_charge_type',
10425
10586
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -10461,6 +10622,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
10461
10622
  imageId: 'string',
10462
10623
  imageType: 'string',
10463
10624
  instanceChargeType: 'string',
10625
+ instancePatterns: { 'type': 'array', 'itemType': InstancePatterns },
10464
10626
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
10465
10627
  internetChargeType: 'string',
10466
10628
  internetMaxBandwidthOut: 'number',
@@ -10857,7 +11019,7 @@ class Client extends openapi_client_1.default {
10857
11019
  return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
10858
11020
  }
10859
11021
  /**
10860
- * @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
11022
+ * @summary Adds existing nodes to a specific node pool. You can add existing ECS instances to a specific node pool in a Container Service for Kubernetes (ACK) cluster as worker nodes. You can also add removed worker nodes back to the node pool.
10861
11023
  *
10862
11024
  * @param request AttachInstancesToNodePoolRequest
10863
11025
  * @param headers map
@@ -10897,7 +11059,7 @@ class Client extends openapi_client_1.default {
10897
11059
  return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
10898
11060
  }
10899
11061
  /**
10900
- * @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
11062
+ * @summary Adds existing nodes to a specific node pool. You can add existing ECS instances to a specific node pool in a Container Service for Kubernetes (ACK) cluster as worker nodes. You can also add removed worker nodes back to the node pool.
10901
11063
  *
10902
11064
  * @param request AttachInstancesToNodePoolRequest
10903
11065
  * @return AttachInstancesToNodePoolResponse
@@ -10982,7 +11144,7 @@ class Client extends openapi_client_1.default {
10982
11144
  return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
10983
11145
  }
10984
11146
  /**
10985
- * @summary 取消自动运维执行计划
11147
+ * @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
10986
11148
  *
10987
11149
  * @param headers map
10988
11150
  * @param runtime runtime options for this request RuntimeOptions
@@ -11006,7 +11168,7 @@ class Client extends openapi_client_1.default {
11006
11168
  return $tea.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
11007
11169
  }
11008
11170
  /**
11009
- * @summary 取消自动运维执行计划
11171
+ * @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
11010
11172
  *
11011
11173
  * @return CancelOperationPlanResponse
11012
11174
  */
@@ -11016,7 +11178,7 @@ class Client extends openapi_client_1.default {
11016
11178
  return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
11017
11179
  }
11018
11180
  /**
11019
- * @summary You can call the CancelTask operation to cancel a task.
11181
+ * @summary Cancels the execution of a cluster task.
11020
11182
  *
11021
11183
  * @param headers map
11022
11184
  * @param runtime runtime options for this request RuntimeOptions
@@ -11040,7 +11202,7 @@ class Client extends openapi_client_1.default {
11040
11202
  return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
11041
11203
  }
11042
11204
  /**
11043
- * @summary You can call the CancelTask operation to cancel a task.
11205
+ * @summary Cancels the execution of a cluster task.
11044
11206
  *
11045
11207
  * @return CancelTaskResponse
11046
11208
  */
@@ -11050,6 +11212,8 @@ class Client extends openapi_client_1.default {
11050
11212
  return await this.cancelTaskWithOptions(taskId, headers, runtime);
11051
11213
  }
11052
11214
  /**
11215
+ * @deprecated OpenAPI CancelWorkflow is deprecated
11216
+ *
11053
11217
  * @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
11054
11218
  *
11055
11219
  * @param request CancelWorkflowRequest
@@ -11057,6 +11221,7 @@ class Client extends openapi_client_1.default {
11057
11221
  * @param runtime runtime options for this request RuntimeOptions
11058
11222
  * @return CancelWorkflowResponse
11059
11223
  */
11224
+ // Deprecated
11060
11225
  async cancelWorkflowWithOptions(workflowName, request, headers, runtime) {
11061
11226
  tea_util_1.default.validateModel(request);
11062
11227
  let body = {};
@@ -11081,11 +11246,14 @@ class Client extends openapi_client_1.default {
11081
11246
  return $tea.cast(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
11082
11247
  }
11083
11248
  /**
11249
+ * @deprecated OpenAPI CancelWorkflow is deprecated
11250
+ *
11084
11251
  * @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
11085
11252
  *
11086
11253
  * @param request CancelWorkflowRequest
11087
11254
  * @return CancelWorkflowResponse
11088
11255
  */
11256
+ // Deprecated
11089
11257
  async cancelWorkflow(workflowName, request) {
11090
11258
  let runtime = new $Util.RuntimeOptions({});
11091
11259
  let headers = {};
@@ -11984,7 +12152,7 @@ class Client extends openapi_client_1.default {
11984
12152
  return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
11985
12153
  }
11986
12154
  /**
11987
- * @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
12155
+ * @summary You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
11988
12156
  *
11989
12157
  * @param tmpReq DeleteClusterRequest
11990
12158
  * @param headers map
@@ -12032,7 +12200,7 @@ class Client extends openapi_client_1.default {
12032
12200
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
12033
12201
  }
12034
12202
  /**
12035
- * @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
12203
+ * @summary You can call the DeleteCluster operation to delete a cluster and specify whether to delete or retain the relevant cluster resources. Before you delete a cluster, you must manually delete workloads in the cluster, such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, you may fail to delete the cluster.
12036
12204
  *
12037
12205
  * @param request DeleteClusterRequest
12038
12206
  * @return DeleteClusterResponse
@@ -12257,7 +12425,7 @@ class Client extends openapi_client_1.default {
12257
12425
  return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
12258
12426
  }
12259
12427
  /**
12260
- * @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
12428
+ * @summary Deletes the orchestration templates that you no longer need.
12261
12429
  *
12262
12430
  * @param headers map
12263
12431
  * @param runtime runtime options for this request RuntimeOptions
@@ -12281,7 +12449,7 @@ class Client extends openapi_client_1.default {
12281
12449
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
12282
12450
  }
12283
12451
  /**
12284
- * @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
12452
+ * @summary Deletes the orchestration templates that you no longer need.
12285
12453
  *
12286
12454
  * @return DeleteTemplateResponse
12287
12455
  */
@@ -12325,7 +12493,7 @@ class Client extends openapi_client_1.default {
12325
12493
  return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
12326
12494
  }
12327
12495
  /**
12328
- * @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
12496
+ * @summary Deploys a policy in the specified namespaces of a specific Container Service for Kubernetes (ACK) cluster. You can create and deploy a security policy by specifying the policy type, action of the policy such as alerting or denying, and namespaces to which the policy applies.
12329
12497
  *
12330
12498
  * @param request DeployPolicyInstanceRequest
12331
12499
  * @param headers map
@@ -12362,7 +12530,7 @@ class Client extends openapi_client_1.default {
12362
12530
  return $tea.cast(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
12363
12531
  }
12364
12532
  /**
12365
- * @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
12533
+ * @summary Deploys a policy in the specified namespaces of a specific Container Service for Kubernetes (ACK) cluster. You can create and deploy a security policy by specifying the policy type, action of the policy such as alerting or denying, and namespaces to which the policy applies.
12366
12534
  *
12367
12535
  * @param request DeployPolicyInstanceRequest
12368
12536
  * @return DeployPolicyInstanceResponse
@@ -12373,12 +12541,15 @@ class Client extends openapi_client_1.default {
12373
12541
  return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
12374
12542
  }
12375
12543
  /**
12544
+ * @deprecated OpenAPI DescirbeWorkflow is deprecated
12545
+ *
12376
12546
  * @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
12377
12547
  *
12378
12548
  * @param headers map
12379
12549
  * @param runtime runtime options for this request RuntimeOptions
12380
12550
  * @return DescirbeWorkflowResponse
12381
12551
  */
12552
+ // Deprecated
12382
12553
  async descirbeWorkflowWithOptions(workflowName, headers, runtime) {
12383
12554
  let req = new $OpenApi.OpenApiRequest({
12384
12555
  headers: headers,
@@ -12397,10 +12568,13 @@ class Client extends openapi_client_1.default {
12397
12568
  return $tea.cast(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
12398
12569
  }
12399
12570
  /**
12571
+ * @deprecated OpenAPI DescirbeWorkflow is deprecated
12572
+ *
12400
12573
  * @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
12401
12574
  *
12402
12575
  * @return DescirbeWorkflowResponse
12403
12576
  */
12577
+ // Deprecated
12404
12578
  async descirbeWorkflow(workflowName) {
12405
12579
  let runtime = new $Util.RuntimeOptions({});
12406
12580
  let headers = {};
@@ -13237,7 +13411,7 @@ class Client extends openapi_client_1.default {
13237
13411
  return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
13238
13412
  }
13239
13413
  /**
13240
- * @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
13414
+ * @summary Queries the security vulnerability details of a cluster by cluster ID. The details include vulnerability name, vulnerability type, and vulnerability severity. We recommend that you scan your cluster on a regular basis to ensure cluster security.
13241
13415
  *
13242
13416
  * @param headers map
13243
13417
  * @param runtime runtime options for this request RuntimeOptions
@@ -13261,7 +13435,7 @@ class Client extends openapi_client_1.default {
13261
13435
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
13262
13436
  }
13263
13437
  /**
13264
- * @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
13438
+ * @summary Queries the security vulnerability details of a cluster by cluster ID. The details include vulnerability name, vulnerability type, and vulnerability severity. We recommend that you scan your cluster on a regular basis to ensure cluster security.
13265
13439
  *
13266
13440
  * @return DescribeClusterVulsResponse
13267
13441
  */
@@ -13746,7 +13920,7 @@ class Client extends openapi_client_1.default {
13746
13920
  return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
13747
13921
  }
13748
13922
  /**
13749
- * @summary You can call the DescribePolicies operation to query a list of policies.
13923
+ * @summary Queries the policies for a Container Service for Kubernetes (ACK) cluster. Container security policies for ACK clusters offer a variety of built-in policies, including cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment.
13750
13924
  *
13751
13925
  * @param headers map
13752
13926
  * @param runtime runtime options for this request RuntimeOptions
@@ -13770,7 +13944,7 @@ class Client extends openapi_client_1.default {
13770
13944
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
13771
13945
  }
13772
13946
  /**
13773
- * @summary You can call the DescribePolicies operation to query a list of policies.
13947
+ * @summary Queries the policies for a Container Service for Kubernetes (ACK) cluster. Container security policies for ACK clusters offer a variety of built-in policies, including cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment.
13774
13948
  *
13775
13949
  * @return DescribePoliciesResponse
13776
13950
  */
@@ -13814,7 +13988,7 @@ class Client extends openapi_client_1.default {
13814
13988
  return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
13815
13989
  }
13816
13990
  /**
13817
- * @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
13991
+ * @summary Queries the details of policies for a Container Service for Kubernetes (ACK) cluster. For example, you can query the number of multi-level policies that are enabled for the cluster, audit logs of the policies, and denying and alerting information. Container security policies for ACK clusters offer a variety of built-in policies, such as cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment.
13818
13992
  *
13819
13993
  * @param headers map
13820
13994
  * @param runtime runtime options for this request RuntimeOptions
@@ -13838,7 +14012,7 @@ class Client extends openapi_client_1.default {
13838
14012
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
13839
14013
  }
13840
14014
  /**
13841
- * @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
14015
+ * @summary Queries the details of policies for a Container Service for Kubernetes (ACK) cluster. For example, you can query the number of multi-level policies that are enabled for the cluster, audit logs of the policies, and denying and alerting information. Container security policies for ACK clusters offer a variety of built-in policies, such as cis-k8s, infra, k8s-general, and PodSecurityPolicy. You can use these policies to ensure the security of containers running in a production environment.
13842
14016
  *
13843
14017
  * @return DescribePolicyGovernanceInClusterResponse
13844
14018
  */
@@ -13927,7 +14101,52 @@ class Client extends openapi_client_1.default {
13927
14101
  return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
13928
14102
  }
13929
14103
  /**
13930
- * @summary You can use an Alibaba Cloud account to call the DescribeSubaccountK8sClusterUserConfig operation to obtain the cluster kubeconfig file of a RAM user or RAM role.
14104
+ * @summary 修改资源删除保护配置
14105
+ *
14106
+ * @param request DescribeResourcesDeleteProtectionRequest
14107
+ * @param headers map
14108
+ * @param runtime runtime options for this request RuntimeOptions
14109
+ * @return DescribeResourcesDeleteProtectionResponse
14110
+ */
14111
+ async describeResourcesDeleteProtectionWithOptions(ClusterId, ResourceType, request, headers, runtime) {
14112
+ tea_util_1.default.validateModel(request);
14113
+ let query = {};
14114
+ if (!tea_util_1.default.isUnset(request.namespace)) {
14115
+ query["namespace"] = request.namespace;
14116
+ }
14117
+ if (!tea_util_1.default.isUnset(request.resources)) {
14118
+ query["resources"] = request.resources;
14119
+ }
14120
+ let req = new $OpenApi.OpenApiRequest({
14121
+ headers: headers,
14122
+ query: openapi_util_1.default.query(query),
14123
+ });
14124
+ let params = new $OpenApi.Params({
14125
+ action: "DescribeResourcesDeleteProtection",
14126
+ version: "2015-12-15",
14127
+ protocol: "HTTPS",
14128
+ pathname: `/clusters/${openapi_util_1.default.getEncodeParam(ClusterId)}/resources/${openapi_util_1.default.getEncodeParam(ResourceType)}/protection`,
14129
+ method: "GET",
14130
+ authType: "AK",
14131
+ style: "ROA",
14132
+ reqBodyType: "json",
14133
+ bodyType: "array",
14134
+ });
14135
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
14136
+ }
14137
+ /**
14138
+ * @summary 修改资源删除保护配置
14139
+ *
14140
+ * @param request DescribeResourcesDeleteProtectionRequest
14141
+ * @return DescribeResourcesDeleteProtectionResponse
14142
+ */
14143
+ async describeResourcesDeleteProtection(ClusterId, ResourceType, request) {
14144
+ let runtime = new $Util.RuntimeOptions({});
14145
+ let headers = {};
14146
+ return await this.describeResourcesDeleteProtectionWithOptions(ClusterId, ResourceType, request, headers, runtime);
14147
+ }
14148
+ /**
14149
+ * @summary Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
13931
14150
  *
13932
14151
  * @description **
13933
14152
  * ****Only Alibaba Cloud accounts can call this API operation.
@@ -13964,7 +14183,7 @@ class Client extends openapi_client_1.default {
13964
14183
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
13965
14184
  }
13966
14185
  /**
13967
- * @summary You can use an Alibaba Cloud account to call the DescribeSubaccountK8sClusterUserConfig operation to obtain the cluster kubeconfig file of a RAM user or RAM role.
14186
+ * @summary Queries or issues the kubeconfig credentials of a Resource Access Management (RAM) user or RAM role of the account. If you are the permission manager of a Container Service for Kubernetes (ACK) cluster, you can issue the kubeconfig credentials to a specific RAM user or RAM role of the account by using the Alibaba Cloud account. The kubeconfig credentials, which are used to connect to the ACK cluster, contain the identity information about the RAM user or RAM role.
13968
14187
  *
13969
14188
  * @description **
13970
14189
  * ****Only Alibaba Cloud accounts can call this API operation.
@@ -14255,12 +14474,15 @@ class Client extends openapi_client_1.default {
14255
14474
  return await this.describeUserQuotaWithOptions(headers, runtime);
14256
14475
  }
14257
14476
  /**
14477
+ * @deprecated OpenAPI DescribeWorkflows is deprecated
14478
+ *
14258
14479
  * @summary You can call the DescribeWorkflows operation to query all workflows.
14259
14480
  *
14260
14481
  * @param headers map
14261
14482
  * @param runtime runtime options for this request RuntimeOptions
14262
14483
  * @return DescribeWorkflowsResponse
14263
14484
  */
14485
+ // Deprecated
14264
14486
  async describeWorkflowsWithOptions(headers, runtime) {
14265
14487
  let req = new $OpenApi.OpenApiRequest({
14266
14488
  headers: headers,
@@ -14279,10 +14501,13 @@ class Client extends openapi_client_1.default {
14279
14501
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
14280
14502
  }
14281
14503
  /**
14504
+ * @deprecated OpenAPI DescribeWorkflows is deprecated
14505
+ *
14282
14506
  * @summary You can call the DescribeWorkflows operation to query all workflows.
14283
14507
  *
14284
14508
  * @return DescribeWorkflowsResponse
14285
14509
  */
14510
+ // Deprecated
14286
14511
  async describeWorkflows() {
14287
14512
  let runtime = new $Util.RuntimeOptions({});
14288
14513
  let headers = {};
@@ -14619,12 +14844,12 @@ class Client extends openapi_client_1.default {
14619
14844
  return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
14620
14845
  }
14621
14846
  /**
14622
- * @summary You can call the GrantPermissions operation to grant a Resource Access Management (RAM) user the permissions to manage Container Service for Kubernetes (ACK) clusters.
14847
+ * @summary Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
14623
14848
  *
14624
- * @description ****
14625
- * * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
14626
- * * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
14627
- * * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
14849
+ * @description **Precautions**:
14850
+ * * Make sure that you have attached a RAM policy that has at least the read-only permissions on the cluster to the RAM user or RAM role in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned when you call the operation. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
14851
+ * * If you use a RAM user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned when you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
14852
+ * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
14628
14853
  *
14629
14854
  * @param request GrantPermissionsRequest
14630
14855
  * @param headers map
@@ -14651,12 +14876,12 @@ class Client extends openapi_client_1.default {
14651
14876
  return $tea.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
14652
14877
  }
14653
14878
  /**
14654
- * @summary You can call the GrantPermissions operation to grant a Resource Access Management (RAM) user the permissions to manage Container Service for Kubernetes (ACK) clusters.
14879
+ * @summary Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
14655
14880
  *
14656
- * @description ****
14657
- * * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
14658
- * * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
14659
- * * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
14881
+ * @description **Precautions**:
14882
+ * * Make sure that you have attached a RAM policy that has at least the read-only permissions on the cluster to the RAM user or RAM role in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned when you call the operation. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://help.aliyun.com/document_detail/86485.html).
14883
+ * * If you use a RAM user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned when you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
14884
+ * * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
14660
14885
  *
14661
14886
  * @param request GrantPermissionsRequest
14662
14887
  * @return GrantPermissionsResponse
@@ -15321,7 +15546,7 @@ class Client extends openapi_client_1.default {
15321
15546
  return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
15322
15547
  }
15323
15548
  /**
15324
- * @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
15549
+ * @summary Updates a policy in a specific Container Service for Kubernetes (ACK) cluster. You can modify the action of the policy such as alerting or denying and namespaces to which the policy applies.
15325
15550
  *
15326
15551
  * @param request ModifyPolicyInstanceRequest
15327
15552
  * @param headers map
@@ -15361,7 +15586,7 @@ class Client extends openapi_client_1.default {
15361
15586
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
15362
15587
  }
15363
15588
  /**
15364
- * @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
15589
+ * @summary Updates a policy in a specific Container Service for Kubernetes (ACK) cluster. You can modify the action of the policy such as alerting or denying and namespaces to which the policy applies.
15365
15590
  *
15366
15591
  * @param request ModifyPolicyInstanceRequest
15367
15592
  * @return ModifyPolicyInstanceResponse
@@ -15664,12 +15889,15 @@ class Client extends openapi_client_1.default {
15664
15889
  return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
15665
15890
  }
15666
15891
  /**
15892
+ * @deprecated OpenAPI RemoveWorkflow is deprecated
15893
+ *
15667
15894
  * @summary You can call the RemoveWorkflow operation to delete a workflow.
15668
15895
  *
15669
15896
  * @param headers map
15670
15897
  * @param runtime runtime options for this request RuntimeOptions
15671
15898
  * @return RemoveWorkflowResponse
15672
15899
  */
15900
+ // Deprecated
15673
15901
  async removeWorkflowWithOptions(workflowName, headers, runtime) {
15674
15902
  let req = new $OpenApi.OpenApiRequest({
15675
15903
  headers: headers,
@@ -15688,10 +15916,13 @@ class Client extends openapi_client_1.default {
15688
15916
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
15689
15917
  }
15690
15918
  /**
15919
+ * @deprecated OpenAPI RemoveWorkflow is deprecated
15920
+ *
15691
15921
  * @summary You can call the RemoveWorkflow operation to delete a workflow.
15692
15922
  *
15693
15923
  * @return RemoveWorkflowResponse
15694
15924
  */
15925
+ // Deprecated
15695
15926
  async removeWorkflow(workflowName) {
15696
15927
  let runtime = new $Util.RuntimeOptions({});
15697
15928
  let headers = {};
@@ -15854,7 +16085,7 @@ class Client extends openapi_client_1.default {
15854
16085
  return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
15855
16086
  }
15856
16087
  /**
15857
- * @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
16088
+ * @summary Initiates cluster checks such as cluster update checks.
15858
16089
  *
15859
16090
  * @param request RunClusterCheckRequest
15860
16091
  * @param headers map
@@ -15891,7 +16122,7 @@ class Client extends openapi_client_1.default {
15891
16122
  return $tea.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
15892
16123
  }
15893
16124
  /**
15894
- * @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
16125
+ * @summary Initiates cluster checks such as cluster update checks.
15895
16126
  *
15896
16127
  * @param request RunClusterCheckRequest
15897
16128
  * @return RunClusterCheckResponse
@@ -16229,6 +16460,8 @@ class Client extends openapi_client_1.default {
16229
16460
  return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
16230
16461
  }
16231
16462
  /**
16463
+ * @deprecated OpenAPI StartWorkflow is deprecated
16464
+ *
16232
16465
  * @summary You can call the StartWorkflow operation to create a workflow.
16233
16466
  *
16234
16467
  * @param request StartWorkflowRequest
@@ -16236,6 +16469,7 @@ class Client extends openapi_client_1.default {
16236
16469
  * @param runtime runtime options for this request RuntimeOptions
16237
16470
  * @return StartWorkflowResponse
16238
16471
  */
16472
+ // Deprecated
16239
16473
  async startWorkflowWithOptions(request, headers, runtime) {
16240
16474
  tea_util_1.default.validateModel(request);
16241
16475
  let body = {};
@@ -16314,11 +16548,14 @@ class Client extends openapi_client_1.default {
16314
16548
  return $tea.cast(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
16315
16549
  }
16316
16550
  /**
16551
+ * @deprecated OpenAPI StartWorkflow is deprecated
16552
+ *
16317
16553
  * @summary You can call the StartWorkflow operation to create a workflow.
16318
16554
  *
16319
16555
  * @param request StartWorkflowRequest
16320
16556
  * @return StartWorkflowResponse
16321
16557
  */
16558
+ // Deprecated
16322
16559
  async startWorkflow(request) {
16323
16560
  let runtime = new $Util.RuntimeOptions({});
16324
16561
  let headers = {};
@@ -16455,7 +16692,7 @@ class Client extends openapi_client_1.default {
16455
16692
  return await this.tagResourcesWithOptions(request, headers, runtime);
16456
16693
  }
16457
16694
  /**
16458
- * @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
16695
+ * @summary Uninstalls components that you no longer need from a cluster. You must specify the name of the components and specify whether to release associated Alibaba Cloud resources from the cluster.
16459
16696
  *
16460
16697
  * @param request UnInstallClusterAddonsRequest
16461
16698
  * @param headers map
@@ -16482,7 +16719,7 @@ class Client extends openapi_client_1.default {
16482
16719
  return $tea.cast(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
16483
16720
  }
16484
16721
  /**
16485
- * @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
16722
+ * @summary Uninstalls components that you no longer need from a cluster. You must specify the name of the components and specify whether to release associated Alibaba Cloud resources from the cluster.
16486
16723
  *
16487
16724
  * @param request UnInstallClusterAddonsRequest
16488
16725
  * @return UnInstallClusterAddonsResponse
@@ -16687,7 +16924,58 @@ class Client extends openapi_client_1.default {
16687
16924
  return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
16688
16925
  }
16689
16926
  /**
16690
- * @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
16927
+ * @summary 修改资源删除保护配置
16928
+ *
16929
+ * @param request UpdateResourcesDeleteProtectionRequest
16930
+ * @param headers map
16931
+ * @param runtime runtime options for this request RuntimeOptions
16932
+ * @return UpdateResourcesDeleteProtectionResponse
16933
+ */
16934
+ async updateResourcesDeleteProtectionWithOptions(ClusterId, request, headers, runtime) {
16935
+ tea_util_1.default.validateModel(request);
16936
+ let body = {};
16937
+ if (!tea_util_1.default.isUnset(request.enable)) {
16938
+ body["enable"] = request.enable;
16939
+ }
16940
+ if (!tea_util_1.default.isUnset(request.namespace)) {
16941
+ body["namespace"] = request.namespace;
16942
+ }
16943
+ if (!tea_util_1.default.isUnset(request.resourceType)) {
16944
+ body["resource_type"] = request.resourceType;
16945
+ }
16946
+ if (!tea_util_1.default.isUnset(request.resources)) {
16947
+ body["resources"] = request.resources;
16948
+ }
16949
+ let req = new $OpenApi.OpenApiRequest({
16950
+ headers: headers,
16951
+ body: openapi_util_1.default.parseToMap(body),
16952
+ });
16953
+ let params = new $OpenApi.Params({
16954
+ action: "UpdateResourcesDeleteProtection",
16955
+ version: "2015-12-15",
16956
+ protocol: "HTTPS",
16957
+ pathname: `/clusters/${openapi_util_1.default.getEncodeParam(ClusterId)}/resources/protection`,
16958
+ method: "PUT",
16959
+ authType: "AK",
16960
+ style: "ROA",
16961
+ reqBodyType: "json",
16962
+ bodyType: "json",
16963
+ });
16964
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
16965
+ }
16966
+ /**
16967
+ * @summary 修改资源删除保护配置
16968
+ *
16969
+ * @param request UpdateResourcesDeleteProtectionRequest
16970
+ * @return UpdateResourcesDeleteProtectionResponse
16971
+ */
16972
+ async updateResourcesDeleteProtection(ClusterId, request) {
16973
+ let runtime = new $Util.RuntimeOptions({});
16974
+ let headers = {};
16975
+ return await this.updateResourcesDeleteProtectionWithOptions(ClusterId, request, headers, runtime);
16976
+ }
16977
+ /**
16978
+ * @summary Updates the configurations of an orchestration template. An orchestration template defines and describes a group of Container Service for Kubernetes (ACK) resources. An orchestration template describes the configurations of an application or how an application runs in a declarative manner.
16691
16979
  *
16692
16980
  * @param request UpdateTemplateRequest
16693
16981
  * @param headers map
@@ -16730,7 +17018,7 @@ class Client extends openapi_client_1.default {
16730
17018
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
16731
17019
  }
16732
17020
  /**
16733
- * @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
17021
+ * @summary Updates the configurations of an orchestration template. An orchestration template defines and describes a group of Container Service for Kubernetes (ACK) resources. An orchestration template describes the configurations of an application or how an application runs in a declarative manner.
16734
17022
  *
16735
17023
  * @param request UpdateTemplateRequest
16736
17024
  * @return UpdateTemplateResponse
@@ -16741,7 +17029,10 @@ class Client extends openapi_client_1.default {
16741
17029
  return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
16742
17030
  }
16743
17031
  /**
16744
- * @summary 更新指定RAM用户/角色的RBAC权限
17032
+ * @summary Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
17033
+ *
17034
+ * @description **Precautions**:
17035
+ * * You can update the permissions of a RAM user or RAM role on a cluster by using full update or incremental update. If you use full update, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. If you use incremental update, you can grant permissions to or revoke permissions from the RAM user or RAM role on the cluster. In this case, only the permissions that you specify in the request parameters when you call the operation are granted or revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
16745
17036
  *
16746
17037
  * @param request UpdateUserPermissionsRequest
16747
17038
  * @param headers map
@@ -16773,7 +17064,10 @@ class Client extends openapi_client_1.default {
16773
17064
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
16774
17065
  }
16775
17066
  /**
16776
- * @summary 更新指定RAM用户/角色的RBAC权限
17067
+ * @summary Updates the role-based access control (RBAC) permissions of a Resource Access Management (RAM) user or RAM role. By default, you do not have the RBAC permissions on a Container Service for Kubernetes (ACK) cluster if you are not the cluster owner or you are not using an Alibaba Cloud account. You can call this operation to specify the resources that can be accessed, permission scope, and predefined roles. This helps you better manage the access control on resources in ACK clusters.
17068
+ *
17069
+ * @description **Precautions**:
17070
+ * * You can update the permissions of a RAM user or RAM role on a cluster by using full update or incremental update. If you use full update, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation. If you use incremental update, you can grant permissions to or revoke permissions from the RAM user or RAM role on the cluster. In this case, only the permissions that you specify in the request parameters when you call the operation are granted or revoked, other permissions of the RAM user or RAM role on the cluster are not affected.
16777
17071
  *
16778
17072
  * @param request UpdateUserPermissionsRequest
16779
17073
  * @return UpdateUserPermissionsResponse