@alicloud/cs20151215 4.2.0 → 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.d.ts +88 -40
- package/dist/client.js +122 -50
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +125 -40
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.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = exports.ScaleOutClusterRequestWorkerDataDisks = exports.ScaleClusterRequestWorkerDataDisks = exports.ScaleClusterRequestTaints = exports.ScaleClusterRequestTags = exports.RepairClusterNodePoolRequestOperations = exports.ModifyNodePoolNodeConfigRequestRollingPolicy = exports.ModifyNodePoolNodeConfigRequestOsConfig = exports.ModifyClusterNodePoolRequestTeeConfig = exports.ModifyClusterNodePoolRequestScalingGroup = exports.ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.ModifyClusterNodePoolRequestNodepoolInfo = exports.ModifyClusterNodePoolRequestManagement = exports.ModifyClusterNodePoolRequestManagementUpgradeConfig = exports.ModifyClusterNodePoolRequestManagementAutoVulFixPolicy = exports.ModifyClusterNodePoolRequestManagementAutoUpgradePolicy = exports.ModifyClusterNodePoolRequestManagementAutoRepairPolicy = 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 {
|
|
@@ -7350,6 +7378,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7350
7378
|
imageId: 'image_id',
|
|
7351
7379
|
imageType: 'image_type',
|
|
7352
7380
|
instanceChargeType: 'instance_charge_type',
|
|
7381
|
+
instancePatterns: 'instance_patterns',
|
|
7353
7382
|
instanceTypes: 'instance_types',
|
|
7354
7383
|
internetChargeType: 'internet_charge_type',
|
|
7355
7384
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
@@ -7398,6 +7427,7 @@ class CreateClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
7398
7427
|
imageId: 'string',
|
|
7399
7428
|
imageType: 'string',
|
|
7400
7429
|
instanceChargeType: 'string',
|
|
7430
|
+
instancePatterns: InstancePatterns,
|
|
7401
7431
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
7402
7432
|
internetChargeType: 'string',
|
|
7403
7433
|
internetMaxBandwidthOut: 'number',
|
|
@@ -7956,6 +7986,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
7956
7986
|
imageId: 'image_id',
|
|
7957
7987
|
imageType: 'image_type',
|
|
7958
7988
|
instanceChargeType: 'instance_charge_type',
|
|
7989
|
+
instancePatterns: 'instance_patterns',
|
|
7959
7990
|
instanceTypes: 'instance_types',
|
|
7960
7991
|
internetChargeType: 'internet_charge_type',
|
|
7961
7992
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
@@ -8006,6 +8037,7 @@ class DescribeClusterNodePoolDetailResponseBodyScalingGroup extends $tea.Model {
|
|
|
8006
8037
|
imageId: 'string',
|
|
8007
8038
|
imageType: 'string',
|
|
8008
8039
|
instanceChargeType: 'string',
|
|
8040
|
+
instancePatterns: InstancePatterns,
|
|
8009
8041
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
8010
8042
|
internetChargeType: 'string',
|
|
8011
8043
|
internetMaxBandwidthOut: 'number',
|
|
@@ -8376,6 +8408,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
8376
8408
|
imageId: 'image_id',
|
|
8377
8409
|
imageType: 'image_type',
|
|
8378
8410
|
instanceChargeType: 'instance_charge_type',
|
|
8411
|
+
instancePatterns: 'instance_patterns',
|
|
8379
8412
|
instanceTypes: 'instance_types',
|
|
8380
8413
|
internetChargeType: 'internet_charge_type',
|
|
8381
8414
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
@@ -8426,6 +8459,7 @@ class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $tea.Mod
|
|
|
8426
8459
|
imageId: 'string',
|
|
8427
8460
|
imageType: 'string',
|
|
8428
8461
|
instanceChargeType: 'string',
|
|
8462
|
+
instancePatterns: InstancePatterns,
|
|
8429
8463
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
8430
8464
|
internetChargeType: 'string',
|
|
8431
8465
|
internetMaxBandwidthOut: 'number',
|
|
@@ -10420,6 +10454,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
10420
10454
|
imageId: 'image_id',
|
|
10421
10455
|
imageType: 'image_type',
|
|
10422
10456
|
instanceChargeType: 'instance_charge_type',
|
|
10457
|
+
instancePatterns: 'instance_patterns',
|
|
10423
10458
|
instanceTypes: 'instance_types',
|
|
10424
10459
|
internetChargeType: 'internet_charge_type',
|
|
10425
10460
|
internetMaxBandwidthOut: 'internet_max_bandwidth_out',
|
|
@@ -10461,6 +10496,7 @@ class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model {
|
|
|
10461
10496
|
imageId: 'string',
|
|
10462
10497
|
imageType: 'string',
|
|
10463
10498
|
instanceChargeType: 'string',
|
|
10499
|
+
instancePatterns: InstancePatterns,
|
|
10464
10500
|
instanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
10465
10501
|
internetChargeType: 'string',
|
|
10466
10502
|
internetMaxBandwidthOut: 'number',
|
|
@@ -10857,7 +10893,7 @@ class Client extends openapi_client_1.default {
|
|
|
10857
10893
|
return await this.attachInstancesWithOptions(ClusterId, request, headers, runtime);
|
|
10858
10894
|
}
|
|
10859
10895
|
/**
|
|
10860
|
-
* @summary You can
|
|
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.
|
|
10861
10897
|
*
|
|
10862
10898
|
* @param request AttachInstancesToNodePoolRequest
|
|
10863
10899
|
* @param headers map
|
|
@@ -10897,7 +10933,7 @@ class Client extends openapi_client_1.default {
|
|
|
10897
10933
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
10898
10934
|
}
|
|
10899
10935
|
/**
|
|
10900
|
-
* @summary You can
|
|
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.
|
|
10901
10937
|
*
|
|
10902
10938
|
* @param request AttachInstancesToNodePoolRequest
|
|
10903
10939
|
* @return AttachInstancesToNodePoolResponse
|
|
@@ -10982,7 +11018,7 @@ class Client extends openapi_client_1.default {
|
|
|
10982
11018
|
return await this.cancelComponentUpgradeWithOptions(clusterId, componentId, headers, runtime);
|
|
10983
11019
|
}
|
|
10984
11020
|
/**
|
|
10985
|
-
* @summary
|
|
11021
|
+
* @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
|
|
10986
11022
|
*
|
|
10987
11023
|
* @param headers map
|
|
10988
11024
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -11006,7 +11042,7 @@ class Client extends openapi_client_1.default {
|
|
|
11006
11042
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
11007
11043
|
}
|
|
11008
11044
|
/**
|
|
11009
|
-
* @summary
|
|
11045
|
+
* @summary You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\&M plan.
|
|
11010
11046
|
*
|
|
11011
11047
|
* @return CancelOperationPlanResponse
|
|
11012
11048
|
*/
|
|
@@ -11016,7 +11052,7 @@ class Client extends openapi_client_1.default {
|
|
|
11016
11052
|
return await this.cancelOperationPlanWithOptions(planId, headers, runtime);
|
|
11017
11053
|
}
|
|
11018
11054
|
/**
|
|
11019
|
-
* @summary
|
|
11055
|
+
* @summary Cancels the execution of a cluster task.
|
|
11020
11056
|
*
|
|
11021
11057
|
* @param headers map
|
|
11022
11058
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -11040,7 +11076,7 @@ class Client extends openapi_client_1.default {
|
|
|
11040
11076
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
11041
11077
|
}
|
|
11042
11078
|
/**
|
|
11043
|
-
* @summary
|
|
11079
|
+
* @summary Cancels the execution of a cluster task.
|
|
11044
11080
|
*
|
|
11045
11081
|
* @return CancelTaskResponse
|
|
11046
11082
|
*/
|
|
@@ -11050,6 +11086,8 @@ class Client extends openapi_client_1.default {
|
|
|
11050
11086
|
return await this.cancelTaskWithOptions(taskId, headers, runtime);
|
|
11051
11087
|
}
|
|
11052
11088
|
/**
|
|
11089
|
+
* @deprecated OpenAPI CancelWorkflow is deprecated
|
|
11090
|
+
*
|
|
11053
11091
|
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
11054
11092
|
*
|
|
11055
11093
|
* @param request CancelWorkflowRequest
|
|
@@ -11057,6 +11095,7 @@ class Client extends openapi_client_1.default {
|
|
|
11057
11095
|
* @param runtime runtime options for this request RuntimeOptions
|
|
11058
11096
|
* @return CancelWorkflowResponse
|
|
11059
11097
|
*/
|
|
11098
|
+
// Deprecated
|
|
11060
11099
|
async cancelWorkflowWithOptions(workflowName, request, headers, runtime) {
|
|
11061
11100
|
tea_util_1.default.validateModel(request);
|
|
11062
11101
|
let body = {};
|
|
@@ -11081,11 +11120,14 @@ class Client extends openapi_client_1.default {
|
|
|
11081
11120
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelWorkflowResponse({}));
|
|
11082
11121
|
}
|
|
11083
11122
|
/**
|
|
11123
|
+
* @deprecated OpenAPI CancelWorkflow is deprecated
|
|
11124
|
+
*
|
|
11084
11125
|
* @summary You can call the CancelWorkflow operation to cancel an ongoing workflow.
|
|
11085
11126
|
*
|
|
11086
11127
|
* @param request CancelWorkflowRequest
|
|
11087
11128
|
* @return CancelWorkflowResponse
|
|
11088
11129
|
*/
|
|
11130
|
+
// Deprecated
|
|
11089
11131
|
async cancelWorkflow(workflowName, request) {
|
|
11090
11132
|
let runtime = new $Util.RuntimeOptions({});
|
|
11091
11133
|
let headers = {};
|
|
@@ -11984,7 +12026,7 @@ class Client extends openapi_client_1.default {
|
|
|
11984
12026
|
return await this.deleteAlertContactGroupWithOptions(request, headers, runtime);
|
|
11985
12027
|
}
|
|
11986
12028
|
/**
|
|
11987
|
-
* @summary You can call the DeleteCluster operation to delete a 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.
|
|
11988
12030
|
*
|
|
11989
12031
|
* @param tmpReq DeleteClusterRequest
|
|
11990
12032
|
* @param headers map
|
|
@@ -12032,7 +12074,7 @@ class Client extends openapi_client_1.default {
|
|
|
12032
12074
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
12033
12075
|
}
|
|
12034
12076
|
/**
|
|
12035
|
-
* @summary You can call the DeleteCluster operation to delete a 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.
|
|
12036
12078
|
*
|
|
12037
12079
|
* @param request DeleteClusterRequest
|
|
12038
12080
|
* @return DeleteClusterResponse
|
|
@@ -12257,7 +12299,7 @@ class Client extends openapi_client_1.default {
|
|
|
12257
12299
|
return await this.deletePolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
12258
12300
|
}
|
|
12259
12301
|
/**
|
|
12260
|
-
* @summary
|
|
12302
|
+
* @summary Deletes the orchestration templates that you no longer need.
|
|
12261
12303
|
*
|
|
12262
12304
|
* @param headers map
|
|
12263
12305
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12281,7 +12323,7 @@ class Client extends openapi_client_1.default {
|
|
|
12281
12323
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
12282
12324
|
}
|
|
12283
12325
|
/**
|
|
12284
|
-
* @summary
|
|
12326
|
+
* @summary Deletes the orchestration templates that you no longer need.
|
|
12285
12327
|
*
|
|
12286
12328
|
* @return DeleteTemplateResponse
|
|
12287
12329
|
*/
|
|
@@ -12325,7 +12367,7 @@ class Client extends openapi_client_1.default {
|
|
|
12325
12367
|
return await this.deleteTriggerWithOptions(clusterId, Id, headers, runtime);
|
|
12326
12368
|
}
|
|
12327
12369
|
/**
|
|
12328
|
-
* @summary
|
|
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.
|
|
12329
12371
|
*
|
|
12330
12372
|
* @param request DeployPolicyInstanceRequest
|
|
12331
12373
|
* @param headers map
|
|
@@ -12362,7 +12404,7 @@ class Client extends openapi_client_1.default {
|
|
|
12362
12404
|
return $tea.cast(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
12363
12405
|
}
|
|
12364
12406
|
/**
|
|
12365
|
-
* @summary
|
|
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.
|
|
12366
12408
|
*
|
|
12367
12409
|
* @param request DeployPolicyInstanceRequest
|
|
12368
12410
|
* @return DeployPolicyInstanceResponse
|
|
@@ -12373,12 +12415,15 @@ class Client extends openapi_client_1.default {
|
|
|
12373
12415
|
return await this.deployPolicyInstanceWithOptions(clusterId, policyName, request, headers, runtime);
|
|
12374
12416
|
}
|
|
12375
12417
|
/**
|
|
12418
|
+
* @deprecated OpenAPI DescirbeWorkflow is deprecated
|
|
12419
|
+
*
|
|
12376
12420
|
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
12377
12421
|
*
|
|
12378
12422
|
* @param headers map
|
|
12379
12423
|
* @param runtime runtime options for this request RuntimeOptions
|
|
12380
12424
|
* @return DescirbeWorkflowResponse
|
|
12381
12425
|
*/
|
|
12426
|
+
// Deprecated
|
|
12382
12427
|
async descirbeWorkflowWithOptions(workflowName, headers, runtime) {
|
|
12383
12428
|
let req = new $OpenApi.OpenApiRequest({
|
|
12384
12429
|
headers: headers,
|
|
@@ -12397,10 +12442,13 @@ class Client extends openapi_client_1.default {
|
|
|
12397
12442
|
return $tea.cast(await this.callApi(params, req, runtime), new DescirbeWorkflowResponse({}));
|
|
12398
12443
|
}
|
|
12399
12444
|
/**
|
|
12445
|
+
* @deprecated OpenAPI DescirbeWorkflow is deprecated
|
|
12446
|
+
*
|
|
12400
12447
|
* @summary You can call the DescirbeWorkflow operation to query detailed information about a workflow.
|
|
12401
12448
|
*
|
|
12402
12449
|
* @return DescirbeWorkflowResponse
|
|
12403
12450
|
*/
|
|
12451
|
+
// Deprecated
|
|
12404
12452
|
async descirbeWorkflow(workflowName) {
|
|
12405
12453
|
let runtime = new $Util.RuntimeOptions({});
|
|
12406
12454
|
let headers = {};
|
|
@@ -13237,7 +13285,7 @@ class Client extends openapi_client_1.default {
|
|
|
13237
13285
|
return await this.describeClusterV2UserKubeconfigWithOptions(ClusterId, request, headers, runtime);
|
|
13238
13286
|
}
|
|
13239
13287
|
/**
|
|
13240
|
-
* @summary
|
|
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.
|
|
13241
13289
|
*
|
|
13242
13290
|
* @param headers map
|
|
13243
13291
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13261,7 +13309,7 @@ class Client extends openapi_client_1.default {
|
|
|
13261
13309
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
13262
13310
|
}
|
|
13263
13311
|
/**
|
|
13264
|
-
* @summary
|
|
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.
|
|
13265
13313
|
*
|
|
13266
13314
|
* @return DescribeClusterVulsResponse
|
|
13267
13315
|
*/
|
|
@@ -13746,7 +13794,7 @@ class Client extends openapi_client_1.default {
|
|
|
13746
13794
|
return await this.describeNodePoolVulsWithOptions(clusterId, nodepoolId, request, headers, runtime);
|
|
13747
13795
|
}
|
|
13748
13796
|
/**
|
|
13749
|
-
* @summary
|
|
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.
|
|
13750
13798
|
*
|
|
13751
13799
|
* @param headers map
|
|
13752
13800
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13770,7 +13818,7 @@ class Client extends openapi_client_1.default {
|
|
|
13770
13818
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
13771
13819
|
}
|
|
13772
13820
|
/**
|
|
13773
|
-
* @summary
|
|
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.
|
|
13774
13822
|
*
|
|
13775
13823
|
* @return DescribePoliciesResponse
|
|
13776
13824
|
*/
|
|
@@ -13814,7 +13862,7 @@ class Client extends openapi_client_1.default {
|
|
|
13814
13862
|
return await this.describePolicyDetailsWithOptions(policyName, headers, runtime);
|
|
13815
13863
|
}
|
|
13816
13864
|
/**
|
|
13817
|
-
* @summary
|
|
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.
|
|
13818
13866
|
*
|
|
13819
13867
|
* @param headers map
|
|
13820
13868
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13838,7 +13886,7 @@ class Client extends openapi_client_1.default {
|
|
|
13838
13886
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
13839
13887
|
}
|
|
13840
13888
|
/**
|
|
13841
|
-
* @summary
|
|
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.
|
|
13842
13890
|
*
|
|
13843
13891
|
* @return DescribePolicyGovernanceInClusterResponse
|
|
13844
13892
|
*/
|
|
@@ -13927,7 +13975,7 @@ class Client extends openapi_client_1.default {
|
|
|
13927
13975
|
return await this.describePolicyInstancesStatusWithOptions(clusterId, headers, runtime);
|
|
13928
13976
|
}
|
|
13929
13977
|
/**
|
|
13930
|
-
* @summary
|
|
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.
|
|
13931
13979
|
*
|
|
13932
13980
|
* @description **
|
|
13933
13981
|
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
@@ -13964,7 +14012,7 @@ class Client extends openapi_client_1.default {
|
|
|
13964
14012
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
13965
14013
|
}
|
|
13966
14014
|
/**
|
|
13967
|
-
* @summary
|
|
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.
|
|
13968
14016
|
*
|
|
13969
14017
|
* @description **
|
|
13970
14018
|
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
@@ -14255,12 +14303,15 @@ class Client extends openapi_client_1.default {
|
|
|
14255
14303
|
return await this.describeUserQuotaWithOptions(headers, runtime);
|
|
14256
14304
|
}
|
|
14257
14305
|
/**
|
|
14306
|
+
* @deprecated OpenAPI DescribeWorkflows is deprecated
|
|
14307
|
+
*
|
|
14258
14308
|
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
14259
14309
|
*
|
|
14260
14310
|
* @param headers map
|
|
14261
14311
|
* @param runtime runtime options for this request RuntimeOptions
|
|
14262
14312
|
* @return DescribeWorkflowsResponse
|
|
14263
14313
|
*/
|
|
14314
|
+
// Deprecated
|
|
14264
14315
|
async describeWorkflowsWithOptions(headers, runtime) {
|
|
14265
14316
|
let req = new $OpenApi.OpenApiRequest({
|
|
14266
14317
|
headers: headers,
|
|
@@ -14279,10 +14330,13 @@ class Client extends openapi_client_1.default {
|
|
|
14279
14330
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWorkflowsResponse({}));
|
|
14280
14331
|
}
|
|
14281
14332
|
/**
|
|
14333
|
+
* @deprecated OpenAPI DescribeWorkflows is deprecated
|
|
14334
|
+
*
|
|
14282
14335
|
* @summary You can call the DescribeWorkflows operation to query all workflows.
|
|
14283
14336
|
*
|
|
14284
14337
|
* @return DescribeWorkflowsResponse
|
|
14285
14338
|
*/
|
|
14339
|
+
// Deprecated
|
|
14286
14340
|
async describeWorkflows() {
|
|
14287
14341
|
let runtime = new $Util.RuntimeOptions({});
|
|
14288
14342
|
let headers = {};
|
|
@@ -14619,12 +14673,12 @@ class Client extends openapi_client_1.default {
|
|
|
14619
14673
|
return await this.getUpgradeStatusWithOptions(ClusterId, headers, runtime);
|
|
14620
14674
|
}
|
|
14621
14675
|
/**
|
|
14622
|
-
* @summary
|
|
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.
|
|
14623
14677
|
*
|
|
14624
|
-
* @description
|
|
14625
|
-
* * Make sure that you have
|
|
14626
|
-
* * If you use a RAM user to call
|
|
14627
|
-
* *
|
|
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.
|
|
14628
14682
|
*
|
|
14629
14683
|
* @param request GrantPermissionsRequest
|
|
14630
14684
|
* @param headers map
|
|
@@ -14651,12 +14705,12 @@ class Client extends openapi_client_1.default {
|
|
|
14651
14705
|
return $tea.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
|
|
14652
14706
|
}
|
|
14653
14707
|
/**
|
|
14654
|
-
* @summary
|
|
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.
|
|
14655
14709
|
*
|
|
14656
|
-
* @description
|
|
14657
|
-
* * Make sure that you have
|
|
14658
|
-
* * If you use a RAM user to call
|
|
14659
|
-
* *
|
|
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.
|
|
14660
14714
|
*
|
|
14661
14715
|
* @param request GrantPermissionsRequest
|
|
14662
14716
|
* @return GrantPermissionsResponse
|
|
@@ -15321,7 +15375,7 @@ class Client extends openapi_client_1.default {
|
|
|
15321
15375
|
return await this.modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
15322
15376
|
}
|
|
15323
15377
|
/**
|
|
15324
|
-
* @summary
|
|
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.
|
|
15325
15379
|
*
|
|
15326
15380
|
* @param request ModifyPolicyInstanceRequest
|
|
15327
15381
|
* @param headers map
|
|
@@ -15361,7 +15415,7 @@ class Client extends openapi_client_1.default {
|
|
|
15361
15415
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
15362
15416
|
}
|
|
15363
15417
|
/**
|
|
15364
|
-
* @summary
|
|
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.
|
|
15365
15419
|
*
|
|
15366
15420
|
* @param request ModifyPolicyInstanceRequest
|
|
15367
15421
|
* @return ModifyPolicyInstanceResponse
|
|
@@ -15664,12 +15718,15 @@ class Client extends openapi_client_1.default {
|
|
|
15664
15718
|
return await this.removeNodePoolNodesWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
15665
15719
|
}
|
|
15666
15720
|
/**
|
|
15721
|
+
* @deprecated OpenAPI RemoveWorkflow is deprecated
|
|
15722
|
+
*
|
|
15667
15723
|
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
15668
15724
|
*
|
|
15669
15725
|
* @param headers map
|
|
15670
15726
|
* @param runtime runtime options for this request RuntimeOptions
|
|
15671
15727
|
* @return RemoveWorkflowResponse
|
|
15672
15728
|
*/
|
|
15729
|
+
// Deprecated
|
|
15673
15730
|
async removeWorkflowWithOptions(workflowName, headers, runtime) {
|
|
15674
15731
|
let req = new $OpenApi.OpenApiRequest({
|
|
15675
15732
|
headers: headers,
|
|
@@ -15688,10 +15745,13 @@ class Client extends openapi_client_1.default {
|
|
|
15688
15745
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveWorkflowResponse({}));
|
|
15689
15746
|
}
|
|
15690
15747
|
/**
|
|
15748
|
+
* @deprecated OpenAPI RemoveWorkflow is deprecated
|
|
15749
|
+
*
|
|
15691
15750
|
* @summary You can call the RemoveWorkflow operation to delete a workflow.
|
|
15692
15751
|
*
|
|
15693
15752
|
* @return RemoveWorkflowResponse
|
|
15694
15753
|
*/
|
|
15754
|
+
// Deprecated
|
|
15695
15755
|
async removeWorkflow(workflowName) {
|
|
15696
15756
|
let runtime = new $Util.RuntimeOptions({});
|
|
15697
15757
|
let headers = {};
|
|
@@ -15854,7 +15914,7 @@ class Client extends openapi_client_1.default {
|
|
|
15854
15914
|
return await this.resumeUpgradeClusterWithOptions(ClusterId, headers, runtime);
|
|
15855
15915
|
}
|
|
15856
15916
|
/**
|
|
15857
|
-
* @summary
|
|
15917
|
+
* @summary Initiates cluster checks such as cluster update checks.
|
|
15858
15918
|
*
|
|
15859
15919
|
* @param request RunClusterCheckRequest
|
|
15860
15920
|
* @param headers map
|
|
@@ -15891,7 +15951,7 @@ class Client extends openapi_client_1.default {
|
|
|
15891
15951
|
return $tea.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
15892
15952
|
}
|
|
15893
15953
|
/**
|
|
15894
|
-
* @summary
|
|
15954
|
+
* @summary Initiates cluster checks such as cluster update checks.
|
|
15895
15955
|
*
|
|
15896
15956
|
* @param request RunClusterCheckRequest
|
|
15897
15957
|
* @return RunClusterCheckResponse
|
|
@@ -16229,6 +16289,8 @@ class Client extends openapi_client_1.default {
|
|
|
16229
16289
|
return await this.startAlertWithOptions(ClusterId, request, headers, runtime);
|
|
16230
16290
|
}
|
|
16231
16291
|
/**
|
|
16292
|
+
* @deprecated OpenAPI StartWorkflow is deprecated
|
|
16293
|
+
*
|
|
16232
16294
|
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
16233
16295
|
*
|
|
16234
16296
|
* @param request StartWorkflowRequest
|
|
@@ -16236,6 +16298,7 @@ class Client extends openapi_client_1.default {
|
|
|
16236
16298
|
* @param runtime runtime options for this request RuntimeOptions
|
|
16237
16299
|
* @return StartWorkflowResponse
|
|
16238
16300
|
*/
|
|
16301
|
+
// Deprecated
|
|
16239
16302
|
async startWorkflowWithOptions(request, headers, runtime) {
|
|
16240
16303
|
tea_util_1.default.validateModel(request);
|
|
16241
16304
|
let body = {};
|
|
@@ -16314,11 +16377,14 @@ class Client extends openapi_client_1.default {
|
|
|
16314
16377
|
return $tea.cast(await this.callApi(params, req, runtime), new StartWorkflowResponse({}));
|
|
16315
16378
|
}
|
|
16316
16379
|
/**
|
|
16380
|
+
* @deprecated OpenAPI StartWorkflow is deprecated
|
|
16381
|
+
*
|
|
16317
16382
|
* @summary You can call the StartWorkflow operation to create a workflow.
|
|
16318
16383
|
*
|
|
16319
16384
|
* @param request StartWorkflowRequest
|
|
16320
16385
|
* @return StartWorkflowResponse
|
|
16321
16386
|
*/
|
|
16387
|
+
// Deprecated
|
|
16322
16388
|
async startWorkflow(request) {
|
|
16323
16389
|
let runtime = new $Util.RuntimeOptions({});
|
|
16324
16390
|
let headers = {};
|
|
@@ -16455,7 +16521,7 @@ class Client extends openapi_client_1.default {
|
|
|
16455
16521
|
return await this.tagResourcesWithOptions(request, headers, runtime);
|
|
16456
16522
|
}
|
|
16457
16523
|
/**
|
|
16458
|
-
* @summary You
|
|
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.
|
|
16459
16525
|
*
|
|
16460
16526
|
* @param request UnInstallClusterAddonsRequest
|
|
16461
16527
|
* @param headers map
|
|
@@ -16482,7 +16548,7 @@ class Client extends openapi_client_1.default {
|
|
|
16482
16548
|
return $tea.cast(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
16483
16549
|
}
|
|
16484
16550
|
/**
|
|
16485
|
-
* @summary You
|
|
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.
|
|
16486
16552
|
*
|
|
16487
16553
|
* @param request UnInstallClusterAddonsRequest
|
|
16488
16554
|
* @return UnInstallClusterAddonsResponse
|
|
@@ -16687,7 +16753,7 @@ class Client extends openapi_client_1.default {
|
|
|
16687
16753
|
return await this.updateK8sClusterUserConfigExpireWithOptions(ClusterId, request, headers, runtime);
|
|
16688
16754
|
}
|
|
16689
16755
|
/**
|
|
16690
|
-
* @summary
|
|
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.
|
|
16691
16757
|
*
|
|
16692
16758
|
* @param request UpdateTemplateRequest
|
|
16693
16759
|
* @param headers map
|
|
@@ -16730,7 +16796,7 @@ class Client extends openapi_client_1.default {
|
|
|
16730
16796
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
16731
16797
|
}
|
|
16732
16798
|
/**
|
|
16733
|
-
* @summary
|
|
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.
|
|
16734
16800
|
*
|
|
16735
16801
|
* @param request UpdateTemplateRequest
|
|
16736
16802
|
* @return UpdateTemplateResponse
|
|
@@ -16741,7 +16807,10 @@ class Client extends openapi_client_1.default {
|
|
|
16741
16807
|
return await this.updateTemplateWithOptions(TemplateId, request, headers, runtime);
|
|
16742
16808
|
}
|
|
16743
16809
|
/**
|
|
16744
|
-
* @summary
|
|
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.
|
|
16745
16814
|
*
|
|
16746
16815
|
* @param request UpdateUserPermissionsRequest
|
|
16747
16816
|
* @param headers map
|
|
@@ -16773,7 +16842,10 @@ class Client extends openapi_client_1.default {
|
|
|
16773
16842
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
16774
16843
|
}
|
|
16775
16844
|
/**
|
|
16776
|
-
* @summary
|
|
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.
|
|
16777
16849
|
*
|
|
16778
16850
|
* @param request UpdateUserPermissionsRequest
|
|
16779
16851
|
* @return UpdateUserPermissionsResponse
|