@alicloud/cs20151215 4.1.1 → 4.2.1

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.DeleteAlertContactShrinkRequest = exports.DeleteAlertContactRequest = exports.CreateTriggerResponse = 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.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.DescribeClusterEventsResponse = exports.DescribeClusterEventsResponseBody = exports.DescribeClusterEventsRequest = 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 = void 0;
31
- exports.DescribePolicyDetailsResponse = exports.DescribePolicyDetailsResponseBody = exports.DescribePoliciesResponse = 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 = void 0;
32
- exports.ListClusterChecksResponse = exports.ListClusterChecksResponseBody = exports.ListClusterChecksRequest = exports.ListClusterAddonInstancesResponse = exports.ListClusterAddonInstancesResponseBody = exports.ListAddonsResponse = exports.ListAddonsResponseBody = exports.ListAddonsRequest = exports.InstallClusterAddonsResponse = exports.InstallClusterAddonsRequest = exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusResponseBody = exports.GetKubernetesTriggerResponse = exports.GetKubernetesTriggerRequest = exports.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 = void 0;
33
- exports.RunClusterCheckResponse = exports.RunClusterCheckResponseBody = exports.RunClusterCheckRequest = exports.ResumeUpgradeClusterResponse = exports.ResumeTaskResponse = exports.ResumeComponentUpgradeResponse = exports.RepairClusterNodePoolResponse = exports.RepairClusterNodePoolResponseBody = exports.RepairClusterNodePoolRequest = exports.RemoveWorkflowResponse = exports.RemoveNodePoolNodesResponse = exports.RemoveNodePoolNodesResponseBody = exports.RemoveNodePoolNodesShrinkRequest = exports.RemoveNodePoolNodesRequest = exports.RemoveClusterNodesResponse = exports.RemoveClusterNodesRequest = exports.PauseTaskResponse = exports.PauseComponentUpgradeResponse = exports.PauseClusterUpgradeResponse = exports.OpenAckServiceResponse = exports.OpenAckServiceResponseBody = exports.OpenAckServiceRequest = exports.ModifyPolicyInstanceResponse = exports.ModifyPolicyInstanceResponseBody = 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 = void 0;
34
- 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 = 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 = void 0;
35
- exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy = exports.DescribeClusterNodePoolDetailResponseBodyKubernetesConfig = exports.DescribeClusterNodePoolDetailResponseBodyInterconnectConfig = exports.DescribeClusterNodePoolDetailResponseBodyAutoScaling = exports.DescribeClusterLogsResponseBody = exports.DescribeClusterEventsResponseBodyPageInfo = exports.DescribeClusterEventsResponseBodyEvents = exports.DescribeClusterEventsResponseBodyEventsData = exports.DescribeAddonsResponseBodyComponentGroups = exports.DescribeAddonsResponseBodyComponentGroupsItems = exports.DescribeAddonResponseBodyNewerVersions = exports.DeleteClusterRequestDeleteOptions = exports.DeleteAlertContactGroupResponseBody = exports.DeleteAlertContactResponseBody = exports.DeleteAlertContactResponseBodyBody = exports.CreateClusterNodePoolRequestTeeConfig = exports.CreateClusterNodePoolRequestScalingGroup = exports.CreateClusterNodePoolRequestScalingGroupTags = exports.CreateClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.CreateClusterNodePoolRequestNodepoolInfo = exports.CreateClusterNodePoolRequestNodeConfig = exports.CreateClusterNodePoolRequestManagement = exports.CreateClusterNodePoolRequestManagementUpgradeConfig = exports.CreateClusterNodePoolRequestManagementAutoVulFixPolicy = exports.CreateClusterNodePoolRequestManagementAutoUpgradePolicy = exports.CreateClusterNodePoolRequestManagementAutoRepairPolicy = exports.CreateClusterNodePoolRequestKubernetesConfig = exports.CreateClusterNodePoolRequestInterconnectConfig = 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 = void 0;
36
- exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog = exports.DescribeNodePoolVulsResponseBodyVulRecords = exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = exports.DescribeKubernetesVersionMetadataResponseBody = exports.DescribeKubernetesVersionMetadataResponseBodyImages = exports.DescribeEventsResponseBodyPageInfo = exports.DescribeEventsResponseBodyEvents = exports.DescribeEventsResponseBodyEventsData = exports.DescribeEdgeMachinesResponseBodyPageInfo = exports.DescribeEdgeMachinesResponseBodyEdgeMachines = exports.DescribeEdgeMachineModelsResponseBodyModels = exports.DescribeClustersV1ResponseBodyPageInfo = exports.DescribeClustersV1ResponseBodyClusters = exports.DescribeClustersResponseBody = exports.DescribeClustersResponseBodyTags = exports.DescribeClusterVulsResponseBodyVulRecords = exports.DescribeClusterTasksResponseBodyTasks = exports.DescribeClusterTasksResponseBodyTasksError = exports.DescribeClusterTasksResponseBodyPageInfo = exports.DescribeClusterResourcesResponseBody = exports.DescribeClusterResourcesResponseBodyDeleteBehavior = exports.DescribeClusterResourcesResponseBodyAssociatedObject = exports.DescribeClusterResourcesResponseBodyDependencies = exports.DescribeClusterNodesResponseBodyPage = exports.DescribeClusterNodesResponseBodyNodes = exports.DescribeClusterNodePoolsResponseBodyNodepools = exports.DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsStatus = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagement = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig = 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 = void 0;
37
- exports.ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.ModifyClusterNodePoolRequestNodepoolInfo = exports.ModifyClusterNodePoolRequestManagement = exports.ModifyClusterNodePoolRequestManagementUpgradeConfig = exports.ModifyClusterNodePoolRequestManagementAutoVulFixPolicy = exports.ModifyClusterNodePoolRequestManagementAutoUpgradePolicy = exports.ModifyClusterNodePoolRequestManagementAutoRepairPolicy = exports.ModifyClusterNodePoolRequestKubernetesConfig = exports.ModifyClusterNodePoolRequestAutoScaling = exports.ModifyClusterConfigurationRequestCustomizeConfig = exports.ModifyClusterConfigurationRequestCustomizeConfigConfigs = exports.ModifyClusterRequestSystemEventsLogging = exports.ModifyClusterRequestOperationPolicy = exports.ModifyClusterRequestOperationPolicyClusterAutoUpgrade = exports.ModifyClusterRequestApiServerCustomCertSans = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListOperationPlansResponseBodyPlans = exports.ListClusterChecksResponseBodyChecks = exports.ListClusterAddonInstancesResponseBodyAddons = exports.ListAddonsResponseBodyAddons = exports.InstallClusterAddonsRequestBody = exports.GrantPermissionsRequestBody = exports.GetUpgradeStatusResponseBodyUpgradeTask = exports.GetKubernetesTriggerResponseBody = 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 = 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 = 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.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 = exports.DescribeNodePoolVulsResponse = void 0;
33
+ 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 = exports.ListAddonsRequest = void 0;
34
+ 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 = exports.RepairClusterNodePoolResponseBody = void 0;
35
+ 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 = exports.UpgradeClusterResponseBody = void 0;
36
+ 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 = exports.DescribeClusterEventsResponseBodyPageInfo = void 0;
37
+ 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 = exports.DescribeEventsResponseBodyEventsData = 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 = 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 {
@@ -973,6 +1001,64 @@ class CreateClusterResponse extends $tea.Model {
973
1001
  }
974
1002
  }
975
1003
  exports.CreateClusterResponse = CreateClusterResponse;
1004
+ class CreateClusterDiagnosisRequest extends $tea.Model {
1005
+ static names() {
1006
+ return {
1007
+ target: 'target',
1008
+ type: 'type',
1009
+ };
1010
+ }
1011
+ static types() {
1012
+ return {
1013
+ target: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1014
+ type: 'string',
1015
+ };
1016
+ }
1017
+ constructor(map) {
1018
+ super(map);
1019
+ }
1020
+ }
1021
+ exports.CreateClusterDiagnosisRequest = CreateClusterDiagnosisRequest;
1022
+ class CreateClusterDiagnosisResponseBody extends $tea.Model {
1023
+ static names() {
1024
+ return {
1025
+ clusterId: 'cluster_id',
1026
+ diagnosisId: 'diagnosis_id',
1027
+ requestId: 'request_id',
1028
+ };
1029
+ }
1030
+ static types() {
1031
+ return {
1032
+ clusterId: 'string',
1033
+ diagnosisId: 'string',
1034
+ requestId: 'string',
1035
+ };
1036
+ }
1037
+ constructor(map) {
1038
+ super(map);
1039
+ }
1040
+ }
1041
+ exports.CreateClusterDiagnosisResponseBody = CreateClusterDiagnosisResponseBody;
1042
+ class CreateClusterDiagnosisResponse extends $tea.Model {
1043
+ static names() {
1044
+ return {
1045
+ headers: 'headers',
1046
+ statusCode: 'statusCode',
1047
+ body: 'body',
1048
+ };
1049
+ }
1050
+ static types() {
1051
+ return {
1052
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1053
+ statusCode: 'number',
1054
+ body: CreateClusterDiagnosisResponseBody,
1055
+ };
1056
+ }
1057
+ constructor(map) {
1058
+ super(map);
1059
+ }
1060
+ }
1061
+ exports.CreateClusterDiagnosisResponse = CreateClusterDiagnosisResponse;
976
1062
  class CreateClusterNodePoolRequest extends $tea.Model {
977
1063
  static names() {
978
1064
  return {
@@ -4097,6 +4183,100 @@ class GetClusterCheckResponse extends $tea.Model {
4097
4183
  }
4098
4184
  }
4099
4185
  exports.GetClusterCheckResponse = GetClusterCheckResponse;
4186
+ class GetClusterDiagnosisCheckItemsResponseBody extends $tea.Model {
4187
+ static names() {
4188
+ return {
4189
+ checkItems: 'check_items',
4190
+ code: 'code',
4191
+ isSuccess: 'is_success',
4192
+ requestId: 'request_id',
4193
+ };
4194
+ }
4195
+ static types() {
4196
+ return {
4197
+ checkItems: { 'type': 'array', 'itemType': GetClusterDiagnosisCheckItemsResponseBodyCheckItems },
4198
+ code: 'string',
4199
+ isSuccess: 'boolean',
4200
+ requestId: 'string',
4201
+ };
4202
+ }
4203
+ constructor(map) {
4204
+ super(map);
4205
+ }
4206
+ }
4207
+ exports.GetClusterDiagnosisCheckItemsResponseBody = GetClusterDiagnosisCheckItemsResponseBody;
4208
+ class GetClusterDiagnosisCheckItemsResponse extends $tea.Model {
4209
+ static names() {
4210
+ return {
4211
+ headers: 'headers',
4212
+ statusCode: 'statusCode',
4213
+ body: 'body',
4214
+ };
4215
+ }
4216
+ static types() {
4217
+ return {
4218
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4219
+ statusCode: 'number',
4220
+ body: GetClusterDiagnosisCheckItemsResponseBody,
4221
+ };
4222
+ }
4223
+ constructor(map) {
4224
+ super(map);
4225
+ }
4226
+ }
4227
+ exports.GetClusterDiagnosisCheckItemsResponse = GetClusterDiagnosisCheckItemsResponse;
4228
+ class GetClusterDiagnosisResultResponseBody extends $tea.Model {
4229
+ static names() {
4230
+ return {
4231
+ code: 'code',
4232
+ created: 'created',
4233
+ diagnosisId: 'diagnosis_id',
4234
+ finished: 'finished',
4235
+ message: 'message',
4236
+ result: 'result',
4237
+ status: 'status',
4238
+ target: 'target',
4239
+ type: 'type',
4240
+ };
4241
+ }
4242
+ static types() {
4243
+ return {
4244
+ code: 'number',
4245
+ created: 'string',
4246
+ diagnosisId: 'string',
4247
+ finished: 'string',
4248
+ message: 'string',
4249
+ result: 'string',
4250
+ status: 'number',
4251
+ target: 'string',
4252
+ type: 'string',
4253
+ };
4254
+ }
4255
+ constructor(map) {
4256
+ super(map);
4257
+ }
4258
+ }
4259
+ exports.GetClusterDiagnosisResultResponseBody = GetClusterDiagnosisResultResponseBody;
4260
+ class GetClusterDiagnosisResultResponse extends $tea.Model {
4261
+ static names() {
4262
+ return {
4263
+ headers: 'headers',
4264
+ statusCode: 'statusCode',
4265
+ body: 'body',
4266
+ };
4267
+ }
4268
+ static types() {
4269
+ return {
4270
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4271
+ statusCode: 'number',
4272
+ body: GetClusterDiagnosisResultResponseBody,
4273
+ };
4274
+ }
4275
+ constructor(map) {
4276
+ super(map);
4277
+ }
4278
+ }
4279
+ exports.GetClusterDiagnosisResultResponse = GetClusterDiagnosisResultResponse;
4100
4280
  class GetKubernetesTriggerRequest extends $tea.Model {
4101
4281
  static names() {
4102
4282
  return {
@@ -7198,6 +7378,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
7198
7378
  imageId: 'image_id',
7199
7379
  imageType: 'image_type',
7200
7380
  instanceChargeType: 'instance_charge_type',
7381
+ instancePatterns: 'instance_patterns',
7201
7382
  instanceTypes: 'instance_types',
7202
7383
  internetChargeType: 'internet_charge_type',
7203
7384
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -7246,6 +7427,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
7246
7427
  imageId: 'string',
7247
7428
  imageType: 'string',
7248
7429
  instanceChargeType: 'string',
7430
+ instancePatterns: InstancePatterns,
7249
7431
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
7250
7432
  internetChargeType: 'string',
7251
7433
  internetMaxBandwidthOut: 'number',
@@ -7804,6 +7986,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
7804
7986
  imageId: 'image_id',
7805
7987
  imageType: 'image_type',
7806
7988
  instanceChargeType: 'instance_charge_type',
7989
+ instancePatterns: 'instance_patterns',
7807
7990
  instanceTypes: 'instance_types',
7808
7991
  internetChargeType: 'internet_charge_type',
7809
7992
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -7854,6 +8037,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
7854
8037
  imageId: 'string',
7855
8038
  imageType: 'string',
7856
8039
  instanceChargeType: 'string',
8040
+ instancePatterns: InstancePatterns,
7857
8041
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
7858
8042
  internetChargeType: 'string',
7859
8043
  internetMaxBandwidthOut: 'number',
@@ -8224,6 +8408,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
8224
8408
  imageId: 'image_id',
8225
8409
  imageType: 'image_type',
8226
8410
  instanceChargeType: 'instance_charge_type',
8411
+ instancePatterns: 'instance_patterns',
8227
8412
  instanceTypes: 'instance_types',
8228
8413
  internetChargeType: 'internet_charge_type',
8229
8414
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -8274,6 +8459,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
8274
8459
  imageId: 'string',
8275
8460
  imageType: 'string',
8276
8461
  instanceChargeType: 'string',
8462
+ instancePatterns: InstancePatterns,
8277
8463
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
8278
8464
  internetChargeType: 'string',
8279
8465
  internetMaxBandwidthOut: 'number',
@@ -9665,6 +9851,36 @@ class GetClusterAddonInstanceResponseBodyLogging extends $tea.Model {
9665
9851
  }
9666
9852
  }
9667
9853
  exports.GetClusterAddonInstanceResponseBodyLogging = GetClusterAddonInstanceResponseBodyLogging;
9854
+ class GetClusterDiagnosisCheckItemsResponseBodyCheckItems extends $tea.Model {
9855
+ static names() {
9856
+ return {
9857
+ desc: 'desc',
9858
+ display: 'display',
9859
+ group: 'group',
9860
+ level: 'level',
9861
+ message: 'message',
9862
+ name: 'name',
9863
+ refer: 'refer',
9864
+ value: 'value',
9865
+ };
9866
+ }
9867
+ static types() {
9868
+ return {
9869
+ desc: 'string',
9870
+ display: 'string',
9871
+ group: 'string',
9872
+ level: 'string',
9873
+ message: 'string',
9874
+ name: 'string',
9875
+ refer: 'string',
9876
+ value: 'string',
9877
+ };
9878
+ }
9879
+ constructor(map) {
9880
+ super(map);
9881
+ }
9882
+ }
9883
+ exports.GetClusterDiagnosisCheckItemsResponseBodyCheckItems = GetClusterDiagnosisCheckItemsResponseBodyCheckItems;
9668
9884
  class GetKubernetesTriggerResponseBody extends $tea.Model {
9669
9885
  static names() {
9670
9886
  return {
@@ -10238,6 +10454,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
10238
10454
  imageId: 'image_id',
10239
10455
  imageType: 'image_type',
10240
10456
  instanceChargeType: 'instance_charge_type',
10457
+ instancePatterns: 'instance_patterns',
10241
10458
  instanceTypes: 'instance_types',
10242
10459
  internetChargeType: 'internet_charge_type',
10243
10460
  internetMaxBandwidthOut: 'internet_max_bandwidth_out',
@@ -10279,6 +10496,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
10279
10496
  imageId: 'string',
10280
10497
  imageType: 'string',
10281
10498
  instanceChargeType: 'string',
10499
+ instancePatterns: InstancePatterns,
10282
10500
  instanceTypes: { 'type': 'array', 'itemType': 'string' },
10283
10501
  internetChargeType: 'string',
10284
10502
  internetMaxBandwidthOut: 'number',
@@ -10675,7 +10893,7 @@ class Client extends openapi_client_1.default {
10675
10893
  return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
10676
10894
  }
10677
10895
  /**
10678
- * @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
10896
+ * @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.
10679
10897
  *
10680
10898
  * @param request AttachInstancesToNodePoolRequest
10681
10899
  * @param headers map
@@ -10715,7 +10933,7 @@ class Client extends openapi_client_1.default {
10715
10933
  return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
10716
10934
  }
10717
10935
  /**
10718
- * @summary You can call the AttachInstancesToNodePool operation to add existing nodes to a node pool.
10936
+ * @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.
10719
10937
  *
10720
10938
  * @param request AttachInstancesToNodePoolRequest
10721
10939
  * @return AttachInstancesToNodePoolResponse
@@ -10800,7 +11018,7 @@ class Client extends openapi_client_1.default {
10800
11018
  return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
10801
11019
  }
10802
11020
  /**
10803
- * @summary 取消自动运维执行计划
11021
+ * @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
10804
11022
  *
10805
11023
  * @param headers map
10806
11024
  * @param runtime runtime options for this request RuntimeOptions
@@ -10824,7 +11042,7 @@ class Client extends openapi_client_1.default {
10824
11042
  return $tea.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
10825
11043
  }
10826
11044
  /**
10827
- * @summary 取消自动运维执行计划
11045
+ * @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
10828
11046
  *
10829
11047
  * @return CancelOperationPlanResponse
10830
11048
  */
@@ -10834,7 +11052,7 @@ class Client extends openapi_client_1.default {
10834
11052
  return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
10835
11053
  }
10836
11054
  /**
10837
- * @summary You can call the CancelTask operation to cancel a task.
11055
+ * @summary Cancels the execution of a cluster task.
10838
11056
  *
10839
11057
  * @param headers map
10840
11058
  * @param runtime runtime options for this request RuntimeOptions
@@ -10858,7 +11076,7 @@ class Client extends openapi_client_1.default {
10858
11076
  return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
10859
11077
  }
10860
11078
  /**
10861
- * @summary You can call the CancelTask operation to cancel a task.
11079
+ * @summary Cancels the execution of a cluster task.
10862
11080
  *
10863
11081
  * @return CancelTaskResponse
10864
11082
  */
@@ -10868,6 +11086,8 @@ class Client extends openapi_client_1.default {
10868
11086
  return await this.cancelTaskWithOptions(taskId, headers, runtime);
10869
11087
  }
10870
11088
  /**
11089
+ * @deprecated OpenAPI CancelWorkflow is deprecated
11090
+ *
10871
11091
  * @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
10872
11092
  *
10873
11093
  * @param request CancelWorkflowRequest
@@ -10875,6 +11095,7 @@ class Client extends openapi_client_1.default {
10875
11095
  * @param runtime runtime options for this request RuntimeOptions
10876
11096
  * @return CancelWorkflowResponse
10877
11097
  */
11098
+ // Deprecated
10878
11099
  async cancelWorkflowWithOptions(workflowName, request, headers, runtime) {
10879
11100
  tea_util_1.default.validateModel(request);
10880
11101
  let body = {};
@@ -10899,11 +11120,14 @@ class Client extends openapi_client_1.default {
10899
11120
  return $tea.cast(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
10900
11121
  }
10901
11122
  /**
11123
+ * @deprecated OpenAPI CancelWorkflow is deprecated
11124
+ *
10902
11125
  * @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
10903
11126
  *
10904
11127
  * @param request CancelWorkflowRequest
10905
11128
  * @return CancelWorkflowResponse
10906
11129
  */
11130
+ // Deprecated
10907
11131
  async cancelWorkflow(workflowName, request) {
10908
11132
  let runtime = new $Util.RuntimeOptions({});
10909
11133
  let headers = {};
@@ -11395,7 +11619,52 @@ class Client extends openapi_client_1.default {
11395
11619
  return await this.createClusterWithOptions(request, headers, runtime);
11396
11620
  }
11397
11621
  /**
11398
- * @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
11622
+ * @summary 发起集群诊断
11623
+ *
11624
+ * @param request CreateClusterDiagnosisRequest
11625
+ * @param headers map
11626
+ * @param runtime runtime options for this request RuntimeOptions
11627
+ * @return CreateClusterDiagnosisResponse
11628
+ */
11629
+ async createClusterDiagnosisWithOptions(clusterId, request, headers, runtime) {
11630
+ tea_util_1.default.validateModel(request);
11631
+ let body = {};
11632
+ if (!tea_util_1.default.isUnset(request.target)) {
11633
+ body["target"] = request.target;
11634
+ }
11635
+ if (!tea_util_1.default.isUnset(request.type)) {
11636
+ body["type"] = request.type;
11637
+ }
11638
+ let req = new $OpenApi.OpenApiRequest({
11639
+ headers: headers,
11640
+ body: openapi_util_1.default.parseToMap(body),
11641
+ });
11642
+ let params = new $OpenApi.Params({
11643
+ action: "CreateClusterDiagnosis",
11644
+ version: "2015-12-15",
11645
+ protocol: "HTTPS",
11646
+ pathname: `/clusters/${openapi_util_1.default.getEncodeParam(clusterId)}/diagnosis`,
11647
+ method: "POST",
11648
+ authType: "AK",
11649
+ style: "ROA",
11650
+ reqBodyType: "json",
11651
+ bodyType: "json",
11652
+ });
11653
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterDiagnosisResponse({}));
11654
+ }
11655
+ /**
11656
+ * @summary 发起集群诊断
11657
+ *
11658
+ * @param request CreateClusterDiagnosisRequest
11659
+ * @return CreateClusterDiagnosisResponse
11660
+ */
11661
+ async createClusterDiagnosis(clusterId, request) {
11662
+ let runtime = new $Util.RuntimeOptions({});
11663
+ let headers = {};
11664
+ return await this.createClusterDiagnosisWithOptions(clusterId, request, headers, runtime);
11665
+ }
11666
+ /**
11667
+ * @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\&M workload.
11399
11668
  *
11400
11669
  * @param request CreateClusterNodePoolRequest
11401
11670
  * @param headers map
@@ -11456,7 +11725,7 @@ class Client extends openapi_client_1.default {
11456
11725
  return $tea.cast(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
11457
11726
  }
11458
11727
  /**
11459
- * @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
11728
+ * @summary Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\&M workload.
11460
11729
  *
11461
11730
  * @param request CreateClusterNodePoolRequest
11462
11731
  * @return CreateClusterNodePoolResponse
@@ -11757,7 +12026,7 @@ class Client extends openapi_client_1.default {
11757
12026
  return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
11758
12027
  }
11759
12028
  /**
11760
- * @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
12029
+ * @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.
11761
12030
  *
11762
12031
  * @param tmpReq DeleteClusterRequest
11763
12032
  * @param headers map
@@ -11805,7 +12074,7 @@ class Client extends openapi_client_1.default {
11805
12074
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
11806
12075
  }
11807
12076
  /**
11808
- * @summary You can call the DeleteCluster operation to delete a cluster by cluster ID and release all nodes in the cluster.
12077
+ * @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.
11809
12078
  *
11810
12079
  * @param request DeleteClusterRequest
11811
12080
  * @return DeleteClusterResponse
@@ -12030,7 +12299,7 @@ class Client extends openapi_client_1.default {
12030
12299
  return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
12031
12300
  }
12032
12301
  /**
12033
- * @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
12302
+ * @summary Deletes the orchestration templates that you no longer need.
12034
12303
  *
12035
12304
  * @param headers map
12036
12305
  * @param runtime runtime options for this request RuntimeOptions
@@ -12054,7 +12323,7 @@ class Client extends openapi_client_1.default {
12054
12323
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
12055
12324
  }
12056
12325
  /**
12057
- * @summary You can call the DeleteTemplate operation to delete an orchestration template by template ID.
12326
+ * @summary Deletes the orchestration templates that you no longer need.
12058
12327
  *
12059
12328
  * @return DeleteTemplateResponse
12060
12329
  */
@@ -12098,7 +12367,7 @@ class Client extends openapi_client_1.default {
12098
12367
  return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
12099
12368
  }
12100
12369
  /**
12101
- * @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
12370
+ * @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.
12102
12371
  *
12103
12372
  * @param request DeployPolicyInstanceRequest
12104
12373
  * @param headers map
@@ -12135,7 +12404,7 @@ class Client extends openapi_client_1.default {
12135
12404
  return $tea.cast(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
12136
12405
  }
12137
12406
  /**
12138
- * @summary You can call the DeployPolicyInstance operation to deploy a policy instance in a cluster.
12407
+ * @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.
12139
12408
  *
12140
12409
  * @param request DeployPolicyInstanceRequest
12141
12410
  * @return DeployPolicyInstanceResponse
@@ -12146,12 +12415,15 @@ class Client extends openapi_client_1.default {
12146
12415
  return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
12147
12416
  }
12148
12417
  /**
12418
+ * @deprecated OpenAPI DescirbeWorkflow is deprecated
12419
+ *
12149
12420
  * @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
12150
12421
  *
12151
12422
  * @param headers map
12152
12423
  * @param runtime runtime options for this request RuntimeOptions
12153
12424
  * @return DescirbeWorkflowResponse
12154
12425
  */
12426
+ // Deprecated
12155
12427
  async descirbeWorkflowWithOptions(workflowName, headers, runtime) {
12156
12428
  let req = new $OpenApi.OpenApiRequest({
12157
12429
  headers: headers,
@@ -12170,10 +12442,13 @@ class Client extends openapi_client_1.default {
12170
12442
  return $tea.cast(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
12171
12443
  }
12172
12444
  /**
12445
+ * @deprecated OpenAPI DescirbeWorkflow is deprecated
12446
+ *
12173
12447
  * @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
12174
12448
  *
12175
12449
  * @return DescirbeWorkflowResponse
12176
12450
  */
12451
+ // Deprecated
12177
12452
  async descirbeWorkflow(workflowName) {
12178
12453
  let runtime = new $Util.RuntimeOptions({});
12179
12454
  let headers = {};
@@ -12728,7 +13003,7 @@ class Client extends openapi_client_1.default {
12728
13003
  return await this.describeClusterNodePoolDetailWithOptions(ClusterId, NodepoolId, headers, runtime);
12729
13004
  }
12730
13005
  /**
12731
- * @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
13006
+ * @summary Queries node pools in a Container Service for Kubernetes (ACK) cluster.
12732
13007
  *
12733
13008
  * @param request DescribeClusterNodePoolsRequest
12734
13009
  * @param headers map
@@ -12759,7 +13034,7 @@ class Client extends openapi_client_1.default {
12759
13034
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
12760
13035
  }
12761
13036
  /**
12762
- * @summary You can call the DescribeClusterNodePools operation to query node pools in a Container Service for Kubernetes (ACK) cluster.
13037
+ * @summary Queries node pools in a Container Service for Kubernetes (ACK) cluster.
12763
13038
  *
12764
13039
  * @param request DescribeClusterNodePoolsRequest
12765
13040
  * @return DescribeClusterNodePoolsResponse
@@ -13010,7 +13285,7 @@ class Client extends openapi_client_1.default {
13010
13285
  return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
13011
13286
  }
13012
13287
  /**
13013
- * @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
13288
+ * @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.
13014
13289
  *
13015
13290
  * @param headers map
13016
13291
  * @param runtime runtime options for this request RuntimeOptions
@@ -13034,7 +13309,7 @@ class Client extends openapi_client_1.default {
13034
13309
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
13035
13310
  }
13036
13311
  /**
13037
- * @summary You can call the DescribeClusterVuls operation to query the vulnerability information of a cluster.
13312
+ * @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.
13038
13313
  *
13039
13314
  * @return DescribeClusterVulsResponse
13040
13315
  */
@@ -13519,7 +13794,7 @@ class Client extends openapi_client_1.default {
13519
13794
  return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
13520
13795
  }
13521
13796
  /**
13522
- * @summary You can call the DescribePolicies operation to query a list of policies.
13797
+ * @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.
13523
13798
  *
13524
13799
  * @param headers map
13525
13800
  * @param runtime runtime options for this request RuntimeOptions
@@ -13543,7 +13818,7 @@ class Client extends openapi_client_1.default {
13543
13818
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
13544
13819
  }
13545
13820
  /**
13546
- * @summary You can call the DescribePolicies operation to query a list of policies.
13821
+ * @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.
13547
13822
  *
13548
13823
  * @return DescribePoliciesResponse
13549
13824
  */
@@ -13587,7 +13862,7 @@ class Client extends openapi_client_1.default {
13587
13862
  return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
13588
13863
  }
13589
13864
  /**
13590
- * @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
13865
+ * @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.
13591
13866
  *
13592
13867
  * @param headers map
13593
13868
  * @param runtime runtime options for this request RuntimeOptions
@@ -13611,7 +13886,7 @@ class Client extends openapi_client_1.default {
13611
13886
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
13612
13887
  }
13613
13888
  /**
13614
- * @summary You can call the DescribePolicyGovernanceInCluster operation to query information about policies in a Container Service for Kubernetes (ACK) cluster.
13889
+ * @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.
13615
13890
  *
13616
13891
  * @return DescribePolicyGovernanceInClusterResponse
13617
13892
  */
@@ -13700,7 +13975,7 @@ class Client extends openapi_client_1.default {
13700
13975
  return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
13701
13976
  }
13702
13977
  /**
13703
- * @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.
13978
+ * @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.
13704
13979
  *
13705
13980
  * @description **
13706
13981
  * ****Only Alibaba Cloud accounts can call this API operation.
@@ -13737,7 +14012,7 @@ class Client extends openapi_client_1.default {
13737
14012
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
13738
14013
  }
13739
14014
  /**
13740
- * @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.
14015
+ * @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.
13741
14016
  *
13742
14017
  * @description **
13743
14018
  * ****Only Alibaba Cloud accounts can call this API operation.
@@ -14028,12 +14303,15 @@ class Client extends openapi_client_1.default {
14028
14303
  return await this.describeUserQuotaWithOptions(headers, runtime);
14029
14304
  }
14030
14305
  /**
14306
+ * @deprecated OpenAPI DescribeWorkflows is deprecated
14307
+ *
14031
14308
  * @summary You can call the DescribeWorkflows operation to query all workflows.
14032
14309
  *
14033
14310
  * @param headers map
14034
14311
  * @param runtime runtime options for this request RuntimeOptions
14035
14312
  * @return DescribeWorkflowsResponse
14036
14313
  */
14314
+ // Deprecated
14037
14315
  async describeWorkflowsWithOptions(headers, runtime) {
14038
14316
  let req = new $OpenApi.OpenApiRequest({
14039
14317
  headers: headers,
@@ -14052,10 +14330,13 @@ class Client extends openapi_client_1.default {
14052
14330
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
14053
14331
  }
14054
14332
  /**
14333
+ * @deprecated OpenAPI DescribeWorkflows is deprecated
14334
+ *
14055
14335
  * @summary You can call the DescribeWorkflows operation to query all workflows.
14056
14336
  *
14057
14337
  * @return DescribeWorkflowsResponse
14058
14338
  */
14339
+ // Deprecated
14059
14340
  async describeWorkflows() {
14060
14341
  let runtime = new $Util.RuntimeOptions({});
14061
14342
  let headers = {};
@@ -14238,6 +14519,74 @@ class Client extends openapi_client_1.default {
14238
14519
  let headers = {};
14239
14520
  return await this.getClusterCheckWithOptions(clusterId, checkId, headers, runtime);
14240
14521
  }
14522
+ /**
14523
+ * @summary 获取集群诊断检查项
14524
+ *
14525
+ * @param headers map
14526
+ * @param runtime runtime options for this request RuntimeOptions
14527
+ * @return GetClusterDiagnosisCheckItemsResponse
14528
+ */
14529
+ async getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, headers, runtime) {
14530
+ let req = new $OpenApi.OpenApiRequest({
14531
+ headers: headers,
14532
+ });
14533
+ let params = new $OpenApi.Params({
14534
+ action: "GetClusterDiagnosisCheckItems",
14535
+ version: "2015-12-15",
14536
+ protocol: "HTTPS",
14537
+ pathname: `/clusters/${openapi_util_1.default.getEncodeParam(clusterId)}/diagnosis/${openapi_util_1.default.getEncodeParam(diagnosisId)}/check_items`,
14538
+ method: "GET",
14539
+ authType: "AK",
14540
+ style: "ROA",
14541
+ reqBodyType: "json",
14542
+ bodyType: "json",
14543
+ });
14544
+ return $tea.cast(await this.callApi(params, req, runtime), new GetClusterDiagnosisCheckItemsResponse({}));
14545
+ }
14546
+ /**
14547
+ * @summary 获取集群诊断检查项
14548
+ *
14549
+ * @return GetClusterDiagnosisCheckItemsResponse
14550
+ */
14551
+ async getClusterDiagnosisCheckItems(clusterId, diagnosisId) {
14552
+ let runtime = new $Util.RuntimeOptions({});
14553
+ let headers = {};
14554
+ return await this.getClusterDiagnosisCheckItemsWithOptions(clusterId, diagnosisId, headers, runtime);
14555
+ }
14556
+ /**
14557
+ * @summary 获取集群诊断结果
14558
+ *
14559
+ * @param headers map
14560
+ * @param runtime runtime options for this request RuntimeOptions
14561
+ * @return GetClusterDiagnosisResultResponse
14562
+ */
14563
+ async getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, headers, runtime) {
14564
+ let req = new $OpenApi.OpenApiRequest({
14565
+ headers: headers,
14566
+ });
14567
+ let params = new $OpenApi.Params({
14568
+ action: "GetClusterDiagnosisResult",
14569
+ version: "2015-12-15",
14570
+ protocol: "HTTPS",
14571
+ pathname: `/clusters/${openapi_util_1.default.getEncodeParam(clusterId)}/diagnosis/${openapi_util_1.default.getEncodeParam(diagnosisId)}/result`,
14572
+ method: "GET",
14573
+ authType: "AK",
14574
+ style: "ROA",
14575
+ reqBodyType: "json",
14576
+ bodyType: "json",
14577
+ });
14578
+ return $tea.cast(await this.callApi(params, req, runtime), new GetClusterDiagnosisResultResponse({}));
14579
+ }
14580
+ /**
14581
+ * @summary 获取集群诊断结果
14582
+ *
14583
+ * @return GetClusterDiagnosisResultResponse
14584
+ */
14585
+ async getClusterDiagnosisResult(clusterId, diagnosisId) {
14586
+ let runtime = new $Util.RuntimeOptions({});
14587
+ let headers = {};
14588
+ return await this.getClusterDiagnosisResultWithOptions(clusterId, diagnosisId, headers, runtime);
14589
+ }
14241
14590
  /**
14242
14591
  * @summary You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
14243
14592
  *
@@ -14324,12 +14673,12 @@ class Client extends openapi_client_1.default {
14324
14673
  return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
14325
14674
  }
14326
14675
  /**
14327
- * @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.
14676
+ * @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.
14328
14677
  *
14329
- * @description ****
14330
- * * 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).
14331
- * * 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).
14332
- * * 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.
14678
+ * @description **Precautions**:
14679
+ * * 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).
14680
+ * * 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).
14681
+ * * 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.
14333
14682
  *
14334
14683
  * @param request GrantPermissionsRequest
14335
14684
  * @param headers map
@@ -14356,12 +14705,12 @@ class Client extends openapi_client_1.default {
14356
14705
  return $tea.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
14357
14706
  }
14358
14707
  /**
14359
- * @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.
14708
+ * @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.
14360
14709
  *
14361
- * @description ****
14362
- * * 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).
14363
- * * 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).
14364
- * * 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.
14710
+ * @description **Precautions**:
14711
+ * * 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).
14712
+ * * 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).
14713
+ * * 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.
14365
14714
  *
14366
14715
  * @param request GrantPermissionsRequest
14367
14716
  * @return GrantPermissionsResponse
@@ -15026,7 +15375,7 @@ class Client extends openapi_client_1.default {
15026
15375
  return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
15027
15376
  }
15028
15377
  /**
15029
- * @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
15378
+ * @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.
15030
15379
  *
15031
15380
  * @param request ModifyPolicyInstanceRequest
15032
15381
  * @param headers map
@@ -15066,7 +15415,7 @@ class Client extends openapi_client_1.default {
15066
15415
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
15067
15416
  }
15068
15417
  /**
15069
- * @summary You can call the ModifyPolicyInstance operation to update policy instances in a Container Service for Kubernetes (ACK) cluster.
15418
+ * @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.
15070
15419
  *
15071
15420
  * @param request ModifyPolicyInstanceRequest
15072
15421
  * @return ModifyPolicyInstanceResponse
@@ -15369,12 +15718,15 @@ class Client extends openapi_client_1.default {
15369
15718
  return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
15370
15719
  }
15371
15720
  /**
15721
+ * @deprecated OpenAPI RemoveWorkflow is deprecated
15722
+ *
15372
15723
  * @summary You can call the RemoveWorkflow operation to delete a workflow.
15373
15724
  *
15374
15725
  * @param headers map
15375
15726
  * @param runtime runtime options for this request RuntimeOptions
15376
15727
  * @return RemoveWorkflowResponse
15377
15728
  */
15729
+ // Deprecated
15378
15730
  async removeWorkflowWithOptions(workflowName, headers, runtime) {
15379
15731
  let req = new $OpenApi.OpenApiRequest({
15380
15732
  headers: headers,
@@ -15393,10 +15745,13 @@ class Client extends openapi_client_1.default {
15393
15745
  return $tea.cast(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
15394
15746
  }
15395
15747
  /**
15748
+ * @deprecated OpenAPI RemoveWorkflow is deprecated
15749
+ *
15396
15750
  * @summary You can call the RemoveWorkflow operation to delete a workflow.
15397
15751
  *
15398
15752
  * @return RemoveWorkflowResponse
15399
15753
  */
15754
+ // Deprecated
15400
15755
  async removeWorkflow(workflowName) {
15401
15756
  let runtime = new $Util.RuntimeOptions({});
15402
15757
  let headers = {};
@@ -15559,7 +15914,7 @@ class Client extends openapi_client_1.default {
15559
15914
  return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
15560
15915
  }
15561
15916
  /**
15562
- * @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
15917
+ * @summary Initiates cluster checks such as cluster update checks.
15563
15918
  *
15564
15919
  * @param request RunClusterCheckRequest
15565
15920
  * @param headers map
@@ -15596,7 +15951,7 @@ class Client extends openapi_client_1.default {
15596
15951
  return $tea.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
15597
15952
  }
15598
15953
  /**
15599
- * @summary You can call the RunClusterCheck operation to initiate cluster checks, such as cluster update prechecks.
15954
+ * @summary Initiates cluster checks such as cluster update checks.
15600
15955
  *
15601
15956
  * @param request RunClusterCheckRequest
15602
15957
  * @return RunClusterCheckResponse
@@ -15934,6 +16289,8 @@ class Client extends openapi_client_1.default {
15934
16289
  return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
15935
16290
  }
15936
16291
  /**
16292
+ * @deprecated OpenAPI StartWorkflow is deprecated
16293
+ *
15937
16294
  * @summary You can call the StartWorkflow operation to create a workflow.
15938
16295
  *
15939
16296
  * @param request StartWorkflowRequest
@@ -15941,6 +16298,7 @@ class Client extends openapi_client_1.default {
15941
16298
  * @param runtime runtime options for this request RuntimeOptions
15942
16299
  * @return StartWorkflowResponse
15943
16300
  */
16301
+ // Deprecated
15944
16302
  async startWorkflowWithOptions(request, headers, runtime) {
15945
16303
  tea_util_1.default.validateModel(request);
15946
16304
  let body = {};
@@ -16019,11 +16377,14 @@ class Client extends openapi_client_1.default {
16019
16377
  return $tea.cast(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
16020
16378
  }
16021
16379
  /**
16380
+ * @deprecated OpenAPI StartWorkflow is deprecated
16381
+ *
16022
16382
  * @summary You can call the StartWorkflow operation to create a workflow.
16023
16383
  *
16024
16384
  * @param request StartWorkflowRequest
16025
16385
  * @return StartWorkflowResponse
16026
16386
  */
16387
+ // Deprecated
16027
16388
  async startWorkflow(request) {
16028
16389
  let runtime = new $Util.RuntimeOptions({});
16029
16390
  let headers = {};
@@ -16160,7 +16521,7 @@ class Client extends openapi_client_1.default {
16160
16521
  return await this.tagResourcesWithOptions(request, headers, runtime);
16161
16522
  }
16162
16523
  /**
16163
- * @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
16524
+ * @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.
16164
16525
  *
16165
16526
  * @param request UnInstallClusterAddonsRequest
16166
16527
  * @param headers map
@@ -16187,7 +16548,7 @@ class Client extends openapi_client_1.default {
16187
16548
  return $tea.cast(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
16188
16549
  }
16189
16550
  /**
16190
- * @summary You can call the UnInstallClusterAddons operation to uninstall the components in a cluster by component names.
16551
+ * @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.
16191
16552
  *
16192
16553
  * @param request UnInstallClusterAddonsRequest
16193
16554
  * @return UnInstallClusterAddonsResponse
@@ -16392,7 +16753,7 @@ class Client extends openapi_client_1.default {
16392
16753
  return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
16393
16754
  }
16394
16755
  /**
16395
- * @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
16756
+ * @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.
16396
16757
  *
16397
16758
  * @param request UpdateTemplateRequest
16398
16759
  * @param headers map
@@ -16435,7 +16796,7 @@ class Client extends openapi_client_1.default {
16435
16796
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
16436
16797
  }
16437
16798
  /**
16438
- * @summary You can call the UpdateTemplate operation to update an orchestration template by template ID.
16799
+ * @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.
16439
16800
  *
16440
16801
  * @param request UpdateTemplateRequest
16441
16802
  * @return UpdateTemplateResponse
@@ -16446,7 +16807,10 @@ class Client extends openapi_client_1.default {
16446
16807
  return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
16447
16808
  }
16448
16809
  /**
16449
- * @summary 更新指定RAM用户/角色的RBAC权限
16810
+ * @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.
16811
+ *
16812
+ * @description **Precautions**:
16813
+ * * 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.
16450
16814
  *
16451
16815
  * @param request UpdateUserPermissionsRequest
16452
16816
  * @param headers map
@@ -16478,7 +16842,10 @@ class Client extends openapi_client_1.default {
16478
16842
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
16479
16843
  }
16480
16844
  /**
16481
- * @summary 更新指定RAM用户/角色的RBAC权限
16845
+ * @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.
16846
+ *
16847
+ * @description **Precautions**:
16848
+ * * 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.
16482
16849
  *
16483
16850
  * @param request UpdateUserPermissionsRequest
16484
16851
  * @return UpdateUserPermissionsResponse