@alicloud/cs20151215 4.8.9 → 4.8.11
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 +200 -39
- package/dist/client.js +856 -146
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1032 -171
package/dist/client.js
CHANGED
|
@@ -39,14 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.DescribeClusterEventsResponseBodyEventsData = exports.DescribeClusterDetailResponseBodyOperationPolicy = exports.DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade = exports.DescribeClusterDetailResponseBodyControlPlaneConfig = exports.DescribeAddonsResponseBodyComponentGroups = exports.DescribeAddonsResponseBodyComponentGroupsItems = exports.DescribeAddonResponseBodyNewerVersions = exports.DeleteClusterRequestDeleteOptions = exports.DeleteAlertContactGroupResponseBody = exports.DeleteAlertContactResponseBody = exports.DeleteAlertContactResponseBodyResult = exports.CreateClusterNodePoolRequestTeeConfig = exports.CreateClusterNodePoolRequestScalingGroup = exports.CreateClusterNodePoolRequestScalingGroupTags = exports.CreateClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.CreateClusterNodePoolRequestNodepoolInfo = exports.CreateClusterNodePoolRequestNodeConfig = exports.CreateClusterNodePoolRequestManagement = exports.CreateClusterNodePoolRequestManagementUpgradeConfig = exports.CreateClusterNodePoolRequestManagementAutoVulFixPolicy = exports.CreateClusterNodePoolRequestManagementAutoUpgradePolicy = exports.CreateClusterNodePoolRequestManagementAutoRepairPolicy = exports.CreateClusterNodePoolRequestKubernetesConfig = exports.CreateClusterNodePoolRequestInterconnectConfig = exports.CreateClusterNodePoolRequestAutoScaling = exports.CreateClusterRequestWorkerDataDisks = exports.CreateClusterRequestOperationPolicy = exports.CreateClusterRequestOperationPolicyClusterAutoUpgrade = exports.CreateClusterRequestControlPlaneConfig = 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.KubeletConfigTracing = exports.KubeletConfigReservedMemory = void 0;
|
|
40
40
|
exports.DescribeClustersV1ResponseBodyClustersOperationPolicy = exports.DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade = exports.DescribeClustersForRegionResponseBodyPageInfo = exports.DescribeClustersForRegionResponseBodyClusters = exports.DescribeClustersResponseBody = exports.DescribeClustersResponseBodyTags = exports.DescribeClusterVulsResponseBodyVulRecords = exports.DescribeClusterTasksResponseBodyTasks = exports.DescribeClusterTasksResponseBodyTasksError = exports.DescribeClusterTasksResponseBodyPageInfo = exports.DescribeClusterResourcesResponseBody = exports.DescribeClusterResourcesResponseBodyDeleteBehavior = exports.DescribeClusterResourcesResponseBodyAssociatedObject = exports.DescribeClusterResourcesResponseBodyDependencies = exports.DescribeClusterNodesResponseBodyPage = exports.DescribeClusterNodesResponseBodyNodes = exports.DescribeClusterNodePoolsResponseBodyNodepools = exports.DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsStatus = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo = exports.DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagement = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementUpgradeConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsManagementAutoRepairPolicy = exports.DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig = exports.DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling = exports.DescribeClusterNodePoolDetailResponseBodyTeeConfig = exports.DescribeClusterNodePoolDetailResponseBodyStatus = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroup = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupSpotPriceLimit = exports.DescribeClusterNodePoolDetailResponseBodyScalingGroupPrivatePoolOptions = exports.DescribeClusterNodePoolDetailResponseBodyNodepoolInfo = exports.DescribeClusterNodePoolDetailResponseBodyNodeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagement = exports.DescribeClusterNodePoolDetailResponseBodyManagementUpgradeConfig = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoVulFixPolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoUpgradePolicy = exports.DescribeClusterNodePoolDetailResponseBodyManagementAutoRepairPolicy = exports.DescribeClusterNodePoolDetailResponseBodyKubernetesConfig = exports.DescribeClusterNodePoolDetailResponseBodyInterconnectConfig = exports.DescribeClusterNodePoolDetailResponseBodyAutoScaling = exports.DescribeClusterLogsResponseBody = exports.DescribeClusterEventsResponseBodyPageInfo = exports.DescribeClusterEventsResponseBodyEvents = void 0;
|
|
41
41
|
exports.ListClusterKubeconfigStatesResponseBodyStates = exports.ListClusterKubeconfigStatesResponseBodyPage = exports.ListClusterChecksResponseBodyChecks = exports.ListClusterAddonInstancesResponseBodyAddons = exports.ListAddonsResponseBodyAddons = exports.InstallClusterAddonsRequestBody = exports.GrantPermissionsRequestBody = exports.GetUpgradeStatusResponseBodyUpgradeTask = exports.GetKubernetesTriggerResponseBody = exports.GetClusterDiagnosisCheckItemsResponseBodyCheckItems = exports.GetClusterAddonInstanceResponseBodyLogging = exports.FixNodePoolVulsRequestRolloutPolicy = exports.DescribeUserQuotaResponseBodyEdgeImprovedNodepoolQuota = exports.DescribeUserPermissionResponseBody = exports.DescribeTriggerResponseBody = exports.DescribeTemplatesResponseBodyTemplates = exports.DescribeTemplatesResponseBodyPageInfo = exports.DescribeTemplateAttributeResponseBody = exports.DescribeTaskInfoResponseBodyTaskResult = exports.DescribeTaskInfoResponseBodyTarget = exports.DescribeTaskInfoResponseBodyStages = exports.DescribeTaskInfoResponseBodyEvents = exports.DescribeTaskInfoResponseBodyError = exports.DescribeResourcesDeleteProtectionResponseBody = exports.DescribePolicyInstancesStatusResponseBodyPolicyInstances = exports.DescribePolicyInstancesResponseBody = exports.DescribePolicyGovernanceInClusterResponseBodyViolations = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolations = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsWarn = exports.DescribePolicyGovernanceInClusterResponseBodyTotalViolationsDeny = exports.DescribePolicyGovernanceInClusterResponseBodyOnState = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLog = exports.DescribePolicyGovernanceInClusterResponseBodyAdmitLogLog = exports.DescribeNodePoolVulsResponseBodyVulRecords = exports.DescribeNodePoolVulsResponseBodyVulRecordsVulList = exports.DescribeKubernetesVersionMetadataResponseBody = exports.DescribeKubernetesVersionMetadataResponseBodyImages = exports.DescribeEventsForRegionResponseBodyPageInfo = exports.DescribeEventsForRegionResponseBodyEvents = exports.DescribeEventsForRegionResponseBodyEventsData = exports.DescribeEventsResponseBodyPageInfo = exports.DescribeEventsResponseBodyEvents = exports.DescribeEventsResponseBodyEventsData = exports.DescribeEdgeMachinesResponseBodyPageInfo = exports.DescribeEdgeMachinesResponseBodyEdgeMachines = exports.DescribeEdgeMachineModelsResponseBodyModels = exports.DescribeClustersV1ResponseBodyPageInfo = exports.DescribeClustersV1ResponseBodyClusters = void 0;
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.UpgradeClusterNodepoolResponse = exports.UpgradeClusterNodepoolResponseBody = exports.UpgradeClusterNodepoolRequest = exports.UpgradeClusterAddonsResponse = exports.UpgradeClusterAddonsResponseBody = exports.UpgradeClusterAddonsRequest = exports.UpgradeClusterResponse = exports.UpgradeClusterResponseBody = exports.UpgradeClusterRequest = exports.UpdateUserPermissionsResponse = exports.UpdateUserPermissionsRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateResourcesDeleteProtectionResponse = exports.UpdateResourcesDeleteProtectionResponseBody = exports.UpdateResourcesDeleteProtectionRequest = exports.UpdateK8sClusterUserConfigExpireResponse = exports.UpdateK8sClusterUserConfigExpireRequest = exports.UpdateControlPlaneLogResponse = exports.UpdateControlPlaneLogResponseBody = exports.UpdateControlPlaneLogRequest = void 0;
|
|
42
|
+
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.ContainerdConfig = exports.Addon = exports.UpgradeClusterNodepoolRequestRollingPolicy = exports.UpgradeClusterAddonsRequestBody = exports.UpgradeClusterRequestRollingPolicy = exports.UpdateUserPermissionsRequestBody = exports.UnInstallClusterAddonsRequestAddons = exports.ScaleOutClusterRequestWorkerDataDisks = exports.ScaleClusterRequestWorkerDataDisks = exports.ScaleClusterRequestTaints = exports.ScaleClusterRequestTags = exports.RepairClusterNodePoolRequestOperations = exports.ModifyNodePoolNodeConfigRequestRollingPolicy = exports.ModifyNodePoolNodeConfigRequestOsConfig = exports.ModifyClusterNodePoolRequestTeeConfig = exports.ModifyClusterNodePoolRequestScalingGroup = exports.ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit = exports.ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions = exports.ModifyClusterNodePoolRequestNodepoolInfo = exports.ModifyClusterNodePoolRequestManagement = exports.ModifyClusterNodePoolRequestManagementUpgradeConfig = exports.ModifyClusterNodePoolRequestManagementAutoVulFixPolicy = exports.ModifyClusterNodePoolRequestManagementAutoUpgradePolicy = exports.ModifyClusterNodePoolRequestManagementAutoRepairPolicy = exports.ModifyClusterNodePoolRequestKubernetesConfig = exports.ModifyClusterNodePoolRequestAutoScaling = exports.ModifyClusterConfigurationRequestCustomizeConfig = exports.ModifyClusterConfigurationRequestCustomizeConfigConfigs = exports.ModifyClusterRequestSystemEventsLogging = exports.ModifyClusterRequestOperationPolicy = exports.ModifyClusterRequestOperationPolicyClusterAutoUpgrade = exports.ModifyClusterRequestControlPlaneConfig = exports.ModifyClusterRequestApiServerCustomCertSans = exports.ListUserKubeConfigStatesResponseBodyStates = exports.ListUserKubeConfigStatesResponseBodyPage = exports.ListTagResourcesResponseBodyTagResources = exports.ListTagResourcesResponseBodyTagResourcesTagResource = exports.ListOperationPlansResponseBodyPlans = void 0;
|
|
43
|
+
exports.DeleteAlertContactGroupResponse = exports.DeleteAlertContactGroupShrinkRequest = exports.DeleteAlertContactGroupRequest = exports.DeleteAlertContactResponse = exports.DeleteAlertContactShrinkRequest = exports.DeleteAlertContactRequest = exports.CreateTriggerResponse = exports.CreateTriggerResponseBody = exports.CreateTriggerRequest = exports.CreateTemplateResponse = exports.CreateTemplateResponseBody = exports.CreateTemplateRequest = exports.CreateKubernetesTriggerResponse = exports.CreateKubernetesTriggerResponseBody = 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.CreateAutoscalingConfigResponseBody = exports.CreateAutoscalingConfigRequest = exports.CleanUserPermissionsResponse = exports.CleanUserPermissionsResponseBody = exports.CleanUserPermissionsShrinkRequest = exports.CleanUserPermissionsRequest = exports.CleanClusterUserPermissionsResponse = exports.CleanClusterUserPermissionsRequest = exports.CheckServiceRoleResponse = exports.CheckServiceRoleResponseBody = exports.CheckServiceRoleRequest = exports.CheckControlPlaneLogEnableResponse = exports.CheckControlPlaneLogEnableResponseBody = exports.CancelTaskResponse = exports.CancelOperationPlanResponse = exports.CancelOperationPlanResponseBody = exports.CancelComponentUpgradeResponse = exports.CancelClusterUpgradeResponse = exports.AttachInstancesToNodePoolResponse = exports.AttachInstancesToNodePoolResponseBody = exports.AttachInstancesToNodePoolRequest = exports.AttachInstancesResponse = void 0;
|
|
44
|
+
exports.DescribeClusterNodePoolsResponse = exports.DescribeClusterNodePoolsResponseBody = exports.DescribeClusterNodePoolsRequest = exports.DescribeClusterNodePoolDetailResponse = exports.DescribeClusterNodePoolDetailResponseBody = exports.DescribeClusterLogsResponse = exports.DescribeClusterEventsResponse = exports.DescribeClusterEventsResponseBody = exports.DescribeClusterEventsRequest = exports.DescribeClusterDetailResponse = exports.DescribeClusterDetailResponseBody = exports.DescribeClusterAttachScriptsResponse = exports.DescribeClusterAttachScriptsRequest = exports.DescribeClusterAddonsVersionResponse = exports.DescribeClusterAddonsUpgradeStatusResponse = exports.DescribeClusterAddonsUpgradeStatusShrinkRequest = 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.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 = void 0;
|
|
45
|
+
exports.DescribePolicyDetailsResponse = exports.DescribePolicyDetailsResponseBody = exports.DescribePoliciesResponse = exports.DescribeNodePoolVulsResponse = exports.DescribeNodePoolVulsResponseBody = exports.DescribeNodePoolVulsRequest = exports.DescribeKubernetesVersionMetadataResponse = exports.DescribeKubernetesVersionMetadataRequest = exports.DescribeExternalAgentResponse = exports.DescribeExternalAgentResponseBody = exports.DescribeExternalAgentRequest = exports.DescribeEventsForRegionResponse = exports.DescribeEventsForRegionResponseBody = exports.DescribeEventsForRegionRequest = 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.DescribeClustersForRegionResponse = exports.DescribeClustersForRegionResponseBody = exports.DescribeClustersForRegionRequest = 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 = void 0;
|
|
46
|
+
exports.InstallClusterAddonsResponseBody = exports.InstallClusterAddonsRequest = exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetUpgradeStatusResponse = exports.GetUpgradeStatusResponseBody = exports.GetKubernetesTriggerResponse = exports.GetKubernetesTriggerRequest = exports.GetClusterDiagnosisResultResponse = exports.GetClusterDiagnosisResultResponseBody = exports.GetClusterDiagnosisResultRequest = exports.GetClusterDiagnosisCheckItemsResponse = exports.GetClusterDiagnosisCheckItemsResponseBody = exports.GetClusterDiagnosisCheckItemsRequest = exports.GetClusterCheckResponse = exports.GetClusterCheckResponseBody = exports.GetClusterAuditProjectResponse = exports.GetClusterAuditProjectResponseBody = exports.GetClusterAddonInstanceResponse = exports.GetClusterAddonInstanceResponseBody = exports.FixNodePoolVulsResponse = exports.FixNodePoolVulsResponseBody = exports.FixNodePoolVulsRequest = exports.EdgeClusterAddEdgeMachineResponse = exports.EdgeClusterAddEdgeMachineResponseBody = exports.EdgeClusterAddEdgeMachineRequest = exports.DescribeUserQuotaResponse = exports.DescribeUserQuotaResponseBody = exports.DescribeUserPermissionResponse = exports.DescribeUserClusterNamespacesResponse = exports.DescribeTriggerResponse = exports.DescribeTriggerRequest = exports.DescribeTemplatesResponse = exports.DescribeTemplatesResponseBody = exports.DescribeTemplatesRequest = exports.DescribeTemplateAttributeResponse = exports.DescribeTemplateAttributeRequest = exports.DescribeTaskInfoResponse = exports.DescribeTaskInfoResponseBody = exports.DescribeSubaccountK8sClusterUserConfigResponse = exports.DescribeSubaccountK8sClusterUserConfigResponseBody = exports.DescribeSubaccountK8sClusterUserConfigRequest = exports.DescribeResourcesDeleteProtectionResponse = exports.DescribeResourcesDeleteProtectionRequest = exports.DescribePolicyInstancesStatusResponse = exports.DescribePolicyInstancesStatusResponseBody = exports.DescribePolicyInstancesResponse = exports.DescribePolicyInstancesRequest = exports.DescribePolicyGovernanceInClusterResponse = exports.DescribePolicyGovernanceInClusterResponseBody = void 0;
|
|
47
|
+
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.ListUserKubeConfigStatesResponse = exports.ListUserKubeConfigStatesResponseBody = exports.ListUserKubeConfigStatesRequest = exports.ListTagResourcesResponse = exports.ListTagResourcesResponseBody = exports.ListTagResourcesShrinkRequest = exports.ListTagResourcesRequest = exports.ListOperationPlansResponse = exports.ListOperationPlansResponseBody = exports.ListOperationPlansRequest = exports.ListClusterKubeconfigStatesResponse = exports.ListClusterKubeconfigStatesResponseBody = exports.ListClusterKubeconfigStatesRequest = exports.ListClusterChecksResponse = exports.ListClusterChecksResponseBody = exports.ListClusterChecksRequest = exports.ListClusterAddonInstancesResponse = exports.ListClusterAddonInstancesResponseBody = exports.ListAddonsResponse = exports.ListAddonsResponseBody = exports.ListAddonsRequest = exports.InstallClusterAddonsResponse = void 0;
|
|
48
|
+
exports.UpdateContactGroupForAlertResponseBody = exports.UpdateContactGroupForAlertRequest = exports.UpdateClusterAuditLogConfigResponse = exports.UpdateClusterAuditLogConfigResponseBody = exports.UpdateClusterAuditLogConfigRequest = exports.UntagResourcesResponse = exports.UntagResourcesResponseBody = exports.UntagResourcesShrinkRequest = exports.UntagResourcesRequest = exports.UnInstallClusterAddonsResponse = exports.UnInstallClusterAddonsResponseBody = exports.UnInstallClusterAddonsRequest = exports.TagResourcesResponse = exports.TagResourcesResponseBody = exports.TagResourcesRequest = exports.SyncClusterNodePoolResponse = exports.SyncClusterNodePoolResponseBody = exports.StopAlertResponse = exports.StopAlertResponseBody = exports.StopAlertRequest = exports.StartAlertResponse = exports.StartAlertResponseBody = exports.StartAlertRequest = exports.ScanClusterVulsResponse = exports.ScanClusterVulsResponseBody = exports.ScaleOutClusterResponse = exports.ScaleOutClusterResponseBody = exports.ScaleOutClusterRequest = exports.ScaleClusterNodePoolResponse = exports.ScaleClusterNodePoolResponseBody = exports.ScaleClusterNodePoolRequest = exports.ScaleClusterResponse = exports.ScaleClusterResponseBody = exports.ScaleClusterRequest = exports.RunClusterCheckResponse = exports.RunClusterCheckResponseBody = exports.RunClusterCheckRequest = exports.RevokeK8sClusterKubeConfigResponse = exports.RevokeK8sClusterKubeConfigResponseBody = exports.ResumeUpgradeClusterResponse = exports.ResumeTaskResponse = exports.ResumeComponentUpgradeResponse = exports.RepairClusterNodePoolResponse = exports.RepairClusterNodePoolResponseBody = exports.RepairClusterNodePoolRequest = exports.RemoveNodePoolNodesResponse = exports.RemoveNodePoolNodesResponseBody = exports.RemoveNodePoolNodesShrinkRequest = exports.RemoveNodePoolNodesRequest = exports.RemoveClusterNodesResponse = void 0;
|
|
49
|
+
exports.UpgradeClusterNodepoolResponse = exports.UpgradeClusterNodepoolResponseBody = exports.UpgradeClusterNodepoolRequest = exports.UpgradeClusterAddonsResponse = exports.UpgradeClusterAddonsResponseBody = exports.UpgradeClusterAddonsRequest = exports.UpgradeClusterResponse = exports.UpgradeClusterResponseBody = exports.UpgradeClusterRequest = exports.UpdateUserPermissionsResponse = exports.UpdateUserPermissionsRequest = exports.UpdateTemplateResponse = exports.UpdateTemplateRequest = exports.UpdateResourcesDeleteProtectionResponse = exports.UpdateResourcesDeleteProtectionResponseBody = exports.UpdateResourcesDeleteProtectionRequest = exports.UpdateK8sClusterUserConfigExpireResponse = exports.UpdateK8sClusterUserConfigExpireRequest = exports.UpdateControlPlaneLogResponse = exports.UpdateControlPlaneLogResponseBody = exports.UpdateControlPlaneLogRequest = exports.UpdateContactGroupForAlertResponse = void 0;
|
|
50
50
|
// This file is auto-generated, don't edit it
|
|
51
51
|
/**
|
|
52
52
|
*/
|
|
@@ -5826,6 +5826,33 @@ class Addon extends $dara.Model {
|
|
|
5826
5826
|
}
|
|
5827
5827
|
}
|
|
5828
5828
|
exports.Addon = Addon;
|
|
5829
|
+
class ContainerdConfig extends $dara.Model {
|
|
5830
|
+
static names() {
|
|
5831
|
+
return {
|
|
5832
|
+
insecureRegistries: 'insecureRegistries',
|
|
5833
|
+
registryMirrors: 'registryMirrors',
|
|
5834
|
+
};
|
|
5835
|
+
}
|
|
5836
|
+
static types() {
|
|
5837
|
+
return {
|
|
5838
|
+
insecureRegistries: { 'type': 'array', 'itemType': 'string' },
|
|
5839
|
+
registryMirrors: { 'type': 'array', 'itemType': 'string' },
|
|
5840
|
+
};
|
|
5841
|
+
}
|
|
5842
|
+
validate() {
|
|
5843
|
+
if (Array.isArray(this.insecureRegistries)) {
|
|
5844
|
+
$dara.Model.validateArray(this.insecureRegistries);
|
|
5845
|
+
}
|
|
5846
|
+
if (Array.isArray(this.registryMirrors)) {
|
|
5847
|
+
$dara.Model.validateArray(this.registryMirrors);
|
|
5848
|
+
}
|
|
5849
|
+
super.validate();
|
|
5850
|
+
}
|
|
5851
|
+
constructor(map) {
|
|
5852
|
+
super(map);
|
|
5853
|
+
}
|
|
5854
|
+
}
|
|
5855
|
+
exports.ContainerdConfig = ContainerdConfig;
|
|
5829
5856
|
class DataDisk extends $dara.Model {
|
|
5830
5857
|
static names() {
|
|
5831
5858
|
return {
|
|
@@ -5882,12 +5909,17 @@ class InstancePatterns extends $dara.Model {
|
|
|
5882
5909
|
excludedInstanceTypes: 'excluded_instance_types',
|
|
5883
5910
|
instanceCategories: 'instance_categories',
|
|
5884
5911
|
instanceFamilyLevel: 'instance_family_level',
|
|
5912
|
+
instanceTypeFamilies: 'instance_type_families',
|
|
5885
5913
|
maxCpuCores: 'max_cpu_cores',
|
|
5886
5914
|
maxMemorySize: 'max_memory_size',
|
|
5887
5915
|
maxPrice: 'max_price',
|
|
5916
|
+
maximumGpuAmount: 'maximum_gpu_amount',
|
|
5888
5917
|
memory: 'memory',
|
|
5889
5918
|
minCpuCores: 'min_cpu_cores',
|
|
5890
5919
|
minMemorySize: 'min_memory_size',
|
|
5920
|
+
minimumEniIpv6AddressQuantity: 'minimum_eni_ipv6_address_quantity',
|
|
5921
|
+
minimumEniPrivateIpAddressQuantity: 'minimum_eni_private_ip_address_quantity',
|
|
5922
|
+
minimumEniQuantity: 'minimum_eni_quantity',
|
|
5891
5923
|
};
|
|
5892
5924
|
}
|
|
5893
5925
|
static types() {
|
|
@@ -5900,12 +5932,17 @@ class InstancePatterns extends $dara.Model {
|
|
|
5900
5932
|
excludedInstanceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
5901
5933
|
instanceCategories: { 'type': 'array', 'itemType': 'string' },
|
|
5902
5934
|
instanceFamilyLevel: 'string',
|
|
5935
|
+
instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
|
|
5903
5936
|
maxCpuCores: 'number',
|
|
5904
5937
|
maxMemorySize: 'number',
|
|
5905
5938
|
maxPrice: 'number',
|
|
5939
|
+
maximumGpuAmount: 'number',
|
|
5906
5940
|
memory: 'number',
|
|
5907
5941
|
minCpuCores: 'number',
|
|
5908
5942
|
minMemorySize: 'number',
|
|
5943
|
+
minimumEniIpv6AddressQuantity: 'number',
|
|
5944
|
+
minimumEniPrivateIpAddressQuantity: 'number',
|
|
5945
|
+
minimumEniQuantity: 'number',
|
|
5909
5946
|
};
|
|
5910
5947
|
}
|
|
5911
5948
|
validate() {
|
|
@@ -5921,6 +5958,9 @@ class InstancePatterns extends $dara.Model {
|
|
|
5921
5958
|
if (Array.isArray(this.instanceCategories)) {
|
|
5922
5959
|
$dara.Model.validateArray(this.instanceCategories);
|
|
5923
5960
|
}
|
|
5961
|
+
if (Array.isArray(this.instanceTypeFamilies)) {
|
|
5962
|
+
$dara.Model.validateArray(this.instanceTypeFamilies);
|
|
5963
|
+
}
|
|
5924
5964
|
super.validate();
|
|
5925
5965
|
}
|
|
5926
5966
|
constructor(map) {
|
|
@@ -13042,6 +13082,7 @@ exports.ModifyClusterTagsResponse = ModifyClusterTagsResponse;
|
|
|
13042
13082
|
class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
13043
13083
|
static names() {
|
|
13044
13084
|
return {
|
|
13085
|
+
containerdConfig: 'containerd_config',
|
|
13045
13086
|
kubeletConfig: 'kubelet_config',
|
|
13046
13087
|
osConfig: 'os_config',
|
|
13047
13088
|
rollingPolicy: 'rolling_policy',
|
|
@@ -13049,12 +13090,16 @@ class ModifyNodePoolNodeConfigRequest extends $dara.Model {
|
|
|
13049
13090
|
}
|
|
13050
13091
|
static types() {
|
|
13051
13092
|
return {
|
|
13093
|
+
containerdConfig: ContainerdConfig,
|
|
13052
13094
|
kubeletConfig: KubeletConfig,
|
|
13053
13095
|
osConfig: ModifyNodePoolNodeConfigRequestOsConfig,
|
|
13054
13096
|
rollingPolicy: ModifyNodePoolNodeConfigRequestRollingPolicy,
|
|
13055
13097
|
};
|
|
13056
13098
|
}
|
|
13057
13099
|
validate() {
|
|
13100
|
+
if (this.containerdConfig && typeof this.containerdConfig.validate === 'function') {
|
|
13101
|
+
this.containerdConfig.validate();
|
|
13102
|
+
}
|
|
13058
13103
|
if (this.kubeletConfig && typeof this.kubeletConfig.validate === 'function') {
|
|
13059
13104
|
this.kubeletConfig.validate();
|
|
13060
13105
|
}
|
|
@@ -15418,7 +15463,12 @@ class Client extends openapi_core_1.default {
|
|
|
15418
15463
|
reqBodyType: "json",
|
|
15419
15464
|
bodyType: "json",
|
|
15420
15465
|
});
|
|
15421
|
-
|
|
15466
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15467
|
+
return $dara.cast(await this.callApi(params, req, runtime), new AttachInstancesResponse({}));
|
|
15468
|
+
}
|
|
15469
|
+
else {
|
|
15470
|
+
return $dara.cast(await this.execute(params, req, runtime), new AttachInstancesResponse({}));
|
|
15471
|
+
}
|
|
15422
15472
|
}
|
|
15423
15473
|
/**
|
|
15424
15474
|
* Adds existing Elastic Compute Service (ECS) instances to a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -15469,7 +15519,12 @@ class Client extends openapi_core_1.default {
|
|
|
15469
15519
|
reqBodyType: "json",
|
|
15470
15520
|
bodyType: "json",
|
|
15471
15521
|
});
|
|
15472
|
-
|
|
15522
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15523
|
+
return $dara.cast(await this.callApi(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
15524
|
+
}
|
|
15525
|
+
else {
|
|
15526
|
+
return $dara.cast(await this.execute(params, req, runtime), new AttachInstancesToNodePoolResponse({}));
|
|
15527
|
+
}
|
|
15473
15528
|
}
|
|
15474
15529
|
/**
|
|
15475
15530
|
* 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.
|
|
@@ -15507,7 +15562,12 @@ class Client extends openapi_core_1.default {
|
|
|
15507
15562
|
reqBodyType: "json",
|
|
15508
15563
|
bodyType: "none",
|
|
15509
15564
|
});
|
|
15510
|
-
|
|
15565
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15566
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelClusterUpgradeResponse({}));
|
|
15567
|
+
}
|
|
15568
|
+
else {
|
|
15569
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelClusterUpgradeResponse({}));
|
|
15570
|
+
}
|
|
15511
15571
|
}
|
|
15512
15572
|
/**
|
|
15513
15573
|
* You can call the CancelClusterUpgrade operation to cancel the update of a cluster.
|
|
@@ -15546,7 +15606,12 @@ class Client extends openapi_core_1.default {
|
|
|
15546
15606
|
reqBodyType: "json",
|
|
15547
15607
|
bodyType: "none",
|
|
15548
15608
|
});
|
|
15549
|
-
|
|
15609
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15610
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
15611
|
+
}
|
|
15612
|
+
else {
|
|
15613
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelComponentUpgradeResponse({}));
|
|
15614
|
+
}
|
|
15550
15615
|
}
|
|
15551
15616
|
/**
|
|
15552
15617
|
* You can call the CancelComponentUpgrade operation to cancel the update of a component.
|
|
@@ -15582,7 +15647,12 @@ class Client extends openapi_core_1.default {
|
|
|
15582
15647
|
reqBodyType: "json",
|
|
15583
15648
|
bodyType: "json",
|
|
15584
15649
|
});
|
|
15585
|
-
|
|
15650
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15651
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
15652
|
+
}
|
|
15653
|
+
else {
|
|
15654
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelOperationPlanResponse({}));
|
|
15655
|
+
}
|
|
15586
15656
|
}
|
|
15587
15657
|
/**
|
|
15588
15658
|
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
|
|
@@ -15615,7 +15685,12 @@ class Client extends openapi_core_1.default {
|
|
|
15615
15685
|
reqBodyType: "json",
|
|
15616
15686
|
bodyType: "none",
|
|
15617
15687
|
});
|
|
15618
|
-
|
|
15688
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15689
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelTaskResponse({}));
|
|
15690
|
+
}
|
|
15691
|
+
else {
|
|
15692
|
+
return $dara.cast(await this.execute(params, req, runtime), new CancelTaskResponse({}));
|
|
15693
|
+
}
|
|
15619
15694
|
}
|
|
15620
15695
|
/**
|
|
15621
15696
|
* Cancels the execution of a cluster task.
|
|
@@ -15648,7 +15723,12 @@ class Client extends openapi_core_1.default {
|
|
|
15648
15723
|
reqBodyType: "json",
|
|
15649
15724
|
bodyType: "json",
|
|
15650
15725
|
});
|
|
15651
|
-
|
|
15726
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15727
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
15728
|
+
}
|
|
15729
|
+
else {
|
|
15730
|
+
return $dara.cast(await this.execute(params, req, runtime), new CheckControlPlaneLogEnableResponse({}));
|
|
15731
|
+
}
|
|
15652
15732
|
}
|
|
15653
15733
|
/**
|
|
15654
15734
|
* Queries the current log configuration of control plane components, including the log retention period and the log collection component. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager.
|
|
@@ -15688,7 +15768,12 @@ class Client extends openapi_core_1.default {
|
|
|
15688
15768
|
reqBodyType: "json",
|
|
15689
15769
|
bodyType: "json",
|
|
15690
15770
|
});
|
|
15691
|
-
|
|
15771
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15772
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CheckServiceRoleResponse({}));
|
|
15773
|
+
}
|
|
15774
|
+
else {
|
|
15775
|
+
return $dara.cast(await this.execute(params, req, runtime), new CheckServiceRoleResponse({}));
|
|
15776
|
+
}
|
|
15692
15777
|
}
|
|
15693
15778
|
/**
|
|
15694
15779
|
* Checks whether the specified service role is granted required permissions within the current Alibaba Cloud account.
|
|
@@ -15736,7 +15821,12 @@ class Client extends openapi_core_1.default {
|
|
|
15736
15821
|
reqBodyType: "json",
|
|
15737
15822
|
bodyType: "none",
|
|
15738
15823
|
});
|
|
15739
|
-
|
|
15824
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15825
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CleanClusterUserPermissionsResponse({}));
|
|
15826
|
+
}
|
|
15827
|
+
else {
|
|
15828
|
+
return $dara.cast(await this.execute(params, req, runtime), new CleanClusterUserPermissionsResponse({}));
|
|
15829
|
+
}
|
|
15740
15830
|
}
|
|
15741
15831
|
/**
|
|
15742
15832
|
* Deletes kubeconfig files that may pose potential risks from a user and revokes Role-Based Access Control (RBAC) permissions on a cluster.
|
|
@@ -15797,7 +15887,12 @@ class Client extends openapi_core_1.default {
|
|
|
15797
15887
|
reqBodyType: "json",
|
|
15798
15888
|
bodyType: "json",
|
|
15799
15889
|
});
|
|
15800
|
-
|
|
15890
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15891
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CleanUserPermissionsResponse({}));
|
|
15892
|
+
}
|
|
15893
|
+
else {
|
|
15894
|
+
return $dara.cast(await this.execute(params, req, runtime), new CleanUserPermissionsResponse({}));
|
|
15895
|
+
}
|
|
15801
15896
|
}
|
|
15802
15897
|
/**
|
|
15803
15898
|
* You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
|
|
@@ -15889,7 +15984,12 @@ class Client extends openapi_core_1.default {
|
|
|
15889
15984
|
reqBodyType: "json",
|
|
15890
15985
|
bodyType: "json",
|
|
15891
15986
|
});
|
|
15892
|
-
|
|
15987
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
15988
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
15989
|
+
}
|
|
15990
|
+
else {
|
|
15991
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateAutoscalingConfigResponse({}));
|
|
15992
|
+
}
|
|
15893
15993
|
}
|
|
15894
15994
|
/**
|
|
15895
15995
|
* Creates a scaling configuration to allow the system to scale resources based on the given scaling rules. When you create a scaling configuration, you can specify the scaling metrics, thresholds, scaling order, and scaling interval.
|
|
@@ -16231,7 +16331,12 @@ class Client extends openapi_core_1.default {
|
|
|
16231
16331
|
reqBodyType: "json",
|
|
16232
16332
|
bodyType: "json",
|
|
16233
16333
|
});
|
|
16234
|
-
|
|
16334
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16335
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateClusterResponse({}));
|
|
16336
|
+
}
|
|
16337
|
+
else {
|
|
16338
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateClusterResponse({}));
|
|
16339
|
+
}
|
|
16235
16340
|
}
|
|
16236
16341
|
/**
|
|
16237
16342
|
* You can call the CreateCluster operation to create a Container Service for Kubernetes (ACK) cluster. ACK clusters include ACK managed clusters, ACK dedicated clusters, ACK Serverless clusters, ACK Edge clusters, ACK clusters that support sandboxed containers, and registered clusters. For more information about how to create different types of ACK clusters, see the following usage notes.
|
|
@@ -16285,7 +16390,12 @@ class Client extends openapi_core_1.default {
|
|
|
16285
16390
|
reqBodyType: "json",
|
|
16286
16391
|
bodyType: "json",
|
|
16287
16392
|
});
|
|
16288
|
-
|
|
16393
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16394
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateClusterDiagnosisResponse({}));
|
|
16395
|
+
}
|
|
16396
|
+
else {
|
|
16397
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateClusterDiagnosisResponse({}));
|
|
16398
|
+
}
|
|
16289
16399
|
}
|
|
16290
16400
|
/**
|
|
16291
16401
|
* Starts a cluster diagnostic.
|
|
@@ -16363,7 +16473,12 @@ class Client extends openapi_core_1.default {
|
|
|
16363
16473
|
reqBodyType: "json",
|
|
16364
16474
|
bodyType: "json",
|
|
16365
16475
|
});
|
|
16366
|
-
|
|
16476
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16477
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
16478
|
+
}
|
|
16479
|
+
else {
|
|
16480
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateClusterNodePoolResponse({}));
|
|
16481
|
+
}
|
|
16367
16482
|
}
|
|
16368
16483
|
/**
|
|
16369
16484
|
* 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.
|
|
@@ -16411,7 +16526,12 @@ class Client extends openapi_core_1.default {
|
|
|
16411
16526
|
reqBodyType: "json",
|
|
16412
16527
|
bodyType: "json",
|
|
16413
16528
|
});
|
|
16414
|
-
|
|
16529
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16530
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
16531
|
+
}
|
|
16532
|
+
else {
|
|
16533
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateEdgeMachineResponse({}));
|
|
16534
|
+
}
|
|
16415
16535
|
}
|
|
16416
16536
|
/**
|
|
16417
16537
|
* You can call the CreateEdgeMachine operation to activate a cloud-native box.
|
|
@@ -16465,7 +16585,12 @@ class Client extends openapi_core_1.default {
|
|
|
16465
16585
|
reqBodyType: "json",
|
|
16466
16586
|
bodyType: "json",
|
|
16467
16587
|
});
|
|
16468
|
-
|
|
16588
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16589
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
16590
|
+
}
|
|
16591
|
+
else {
|
|
16592
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateKubernetesTriggerResponse({}));
|
|
16593
|
+
}
|
|
16469
16594
|
}
|
|
16470
16595
|
/**
|
|
16471
16596
|
* You can call the CreateKubernetesTrigger operation to create a trigger for an application.
|
|
@@ -16522,7 +16647,12 @@ class Client extends openapi_core_1.default {
|
|
|
16522
16647
|
reqBodyType: "json",
|
|
16523
16648
|
bodyType: "json",
|
|
16524
16649
|
});
|
|
16525
|
-
|
|
16650
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16651
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateTemplateResponse({}));
|
|
16652
|
+
}
|
|
16653
|
+
else {
|
|
16654
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateTemplateResponse({}));
|
|
16655
|
+
}
|
|
16526
16656
|
}
|
|
16527
16657
|
/**
|
|
16528
16658
|
* Creates an orchestration template. An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can use orchestration templates to manage resources in Kubernetes clusters and automate resource deployment, such as pods, Services, Deployments, ConfigMaps, and persistent volumes (PVs).
|
|
@@ -16573,7 +16703,12 @@ class Client extends openapi_core_1.default {
|
|
|
16573
16703
|
reqBodyType: "json",
|
|
16574
16704
|
bodyType: "json",
|
|
16575
16705
|
});
|
|
16576
|
-
|
|
16706
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16707
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CreateTriggerResponse({}));
|
|
16708
|
+
}
|
|
16709
|
+
else {
|
|
16710
|
+
return $dara.cast(await this.execute(params, req, runtime), new CreateTriggerResponse({}));
|
|
16711
|
+
}
|
|
16577
16712
|
}
|
|
16578
16713
|
/**
|
|
16579
16714
|
* Creates a trigger for an application to redeploy the application pods when specific conditions are met.
|
|
@@ -16620,7 +16755,12 @@ class Client extends openapi_core_1.default {
|
|
|
16620
16755
|
reqBodyType: "json",
|
|
16621
16756
|
bodyType: "array",
|
|
16622
16757
|
});
|
|
16623
|
-
|
|
16758
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16759
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
16760
|
+
}
|
|
16761
|
+
else {
|
|
16762
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteAlertContactResponse({}));
|
|
16763
|
+
}
|
|
16624
16764
|
}
|
|
16625
16765
|
/**
|
|
16626
16766
|
* Deletes one or more ACK alert contacts.
|
|
@@ -16667,7 +16807,12 @@ class Client extends openapi_core_1.default {
|
|
|
16667
16807
|
reqBodyType: "json",
|
|
16668
16808
|
bodyType: "array",
|
|
16669
16809
|
});
|
|
16670
|
-
|
|
16810
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16811
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
16812
|
+
}
|
|
16813
|
+
else {
|
|
16814
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteAlertContactGroupResponse({}));
|
|
16815
|
+
}
|
|
16671
16816
|
}
|
|
16672
16817
|
/**
|
|
16673
16818
|
* Deletes an ACK alert contact group.
|
|
@@ -16726,7 +16871,12 @@ class Client extends openapi_core_1.default {
|
|
|
16726
16871
|
reqBodyType: "json",
|
|
16727
16872
|
bodyType: "json",
|
|
16728
16873
|
});
|
|
16729
|
-
|
|
16874
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16875
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteClusterResponse({}));
|
|
16876
|
+
}
|
|
16877
|
+
else {
|
|
16878
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteClusterResponse({}));
|
|
16879
|
+
}
|
|
16730
16880
|
}
|
|
16731
16881
|
/**
|
|
16732
16882
|
* 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.
|
|
@@ -16768,7 +16918,12 @@ class Client extends openapi_core_1.default {
|
|
|
16768
16918
|
reqBodyType: "json",
|
|
16769
16919
|
bodyType: "json",
|
|
16770
16920
|
});
|
|
16771
|
-
|
|
16921
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16922
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
16923
|
+
}
|
|
16924
|
+
else {
|
|
16925
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteClusterNodepoolResponse({}));
|
|
16926
|
+
}
|
|
16772
16927
|
}
|
|
16773
16928
|
/**
|
|
16774
16929
|
* null
|
|
@@ -16787,8 +16942,7 @@ class Client extends openapi_core_1.default {
|
|
|
16787
16942
|
* @remarks
|
|
16788
16943
|
* When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
16789
16944
|
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
16790
|
-
* * When
|
|
16791
|
-
* * The system removes only worker nodes. It does not remove master nodes.
|
|
16945
|
+
* * When you remove a node, the system sets the status of the node to Unschedulable.
|
|
16792
16946
|
*
|
|
16793
16947
|
* @param request - DeleteClusterNodesRequest
|
|
16794
16948
|
* @param headers - map
|
|
@@ -16822,7 +16976,12 @@ class Client extends openapi_core_1.default {
|
|
|
16822
16976
|
reqBodyType: "json",
|
|
16823
16977
|
bodyType: "json",
|
|
16824
16978
|
});
|
|
16825
|
-
|
|
16979
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
16980
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteClusterNodesResponse({}));
|
|
16981
|
+
}
|
|
16982
|
+
else {
|
|
16983
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteClusterNodesResponse({}));
|
|
16984
|
+
}
|
|
16826
16985
|
}
|
|
16827
16986
|
/**
|
|
16828
16987
|
* Removes nodes from a Container Service for Kubernetes (ACK) cluster. When you remove nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and drain the nodes. When you remove nodes, pods on the nodes are migrated. This may adversely affect your businesses. We recommend that you back up data and perform this operation during off-peak hours.
|
|
@@ -16830,8 +16989,7 @@ class Client extends openapi_core_1.default {
|
|
|
16830
16989
|
* @remarks
|
|
16831
16990
|
* When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
16832
16991
|
* * The operation may have unexpected risks. Back up the data before you perform this operation.
|
|
16833
|
-
* * When
|
|
16834
|
-
* * The system removes only worker nodes. It does not remove master nodes.
|
|
16992
|
+
* * When you remove a node, the system sets the status of the node to Unschedulable.
|
|
16835
16993
|
*
|
|
16836
16994
|
* @param request - DeleteClusterNodesRequest
|
|
16837
16995
|
* @returns DeleteClusterNodesResponse
|
|
@@ -16870,7 +17028,12 @@ class Client extends openapi_core_1.default {
|
|
|
16870
17028
|
reqBodyType: "json",
|
|
16871
17029
|
bodyType: "none",
|
|
16872
17030
|
});
|
|
16873
|
-
|
|
17031
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17032
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
17033
|
+
}
|
|
17034
|
+
else {
|
|
17035
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteEdgeMachineResponse({}));
|
|
17036
|
+
}
|
|
16874
17037
|
}
|
|
16875
17038
|
/**
|
|
16876
17039
|
* You can call the DeleteEdgeMachine operation to delete a cloud-native box.
|
|
@@ -16908,7 +17071,12 @@ class Client extends openapi_core_1.default {
|
|
|
16908
17071
|
reqBodyType: "json",
|
|
16909
17072
|
bodyType: "none",
|
|
16910
17073
|
});
|
|
16911
|
-
|
|
17074
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17075
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
17076
|
+
}
|
|
17077
|
+
else {
|
|
17078
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteKubernetesTriggerResponse({}));
|
|
17079
|
+
}
|
|
16912
17080
|
}
|
|
16913
17081
|
/**
|
|
16914
17082
|
* You can call the DeleteKubernetesTrigger operation to delete an application trigger by trigger ID
|
|
@@ -16951,7 +17119,12 @@ class Client extends openapi_core_1.default {
|
|
|
16951
17119
|
reqBodyType: "json",
|
|
16952
17120
|
bodyType: "json",
|
|
16953
17121
|
});
|
|
16954
|
-
|
|
17122
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17123
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
17124
|
+
}
|
|
17125
|
+
else {
|
|
17126
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeletePolicyInstanceResponse({}));
|
|
17127
|
+
}
|
|
16955
17128
|
}
|
|
16956
17129
|
/**
|
|
16957
17130
|
* Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -16986,7 +17159,12 @@ class Client extends openapi_core_1.default {
|
|
|
16986
17159
|
reqBodyType: "json",
|
|
16987
17160
|
bodyType: "none",
|
|
16988
17161
|
});
|
|
16989
|
-
|
|
17162
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17163
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteTemplateResponse({}));
|
|
17164
|
+
}
|
|
17165
|
+
else {
|
|
17166
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteTemplateResponse({}));
|
|
17167
|
+
}
|
|
16990
17168
|
}
|
|
16991
17169
|
/**
|
|
16992
17170
|
* Deletes the orchestration templates that you no longer need.
|
|
@@ -17019,7 +17197,12 @@ class Client extends openapi_core_1.default {
|
|
|
17019
17197
|
reqBodyType: "json",
|
|
17020
17198
|
bodyType: "none",
|
|
17021
17199
|
});
|
|
17022
|
-
|
|
17200
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17201
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeleteTriggerResponse({}));
|
|
17202
|
+
}
|
|
17203
|
+
else {
|
|
17204
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeleteTriggerResponse({}));
|
|
17205
|
+
}
|
|
17023
17206
|
}
|
|
17024
17207
|
/**
|
|
17025
17208
|
* Deletes an application trigger.
|
|
@@ -17065,7 +17248,12 @@ class Client extends openapi_core_1.default {
|
|
|
17065
17248
|
reqBodyType: "json",
|
|
17066
17249
|
bodyType: "json",
|
|
17067
17250
|
});
|
|
17068
|
-
|
|
17251
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17252
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
17253
|
+
}
|
|
17254
|
+
else {
|
|
17255
|
+
return $dara.cast(await this.execute(params, req, runtime), new DeployPolicyInstanceResponse({}));
|
|
17256
|
+
}
|
|
17069
17257
|
}
|
|
17070
17258
|
/**
|
|
17071
17259
|
* 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.
|
|
@@ -17125,7 +17313,12 @@ class Client extends openapi_core_1.default {
|
|
|
17125
17313
|
reqBodyType: "json",
|
|
17126
17314
|
bodyType: "json",
|
|
17127
17315
|
});
|
|
17128
|
-
|
|
17316
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17317
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeAddonResponse({}));
|
|
17318
|
+
}
|
|
17319
|
+
else {
|
|
17320
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeAddonResponse({}));
|
|
17321
|
+
}
|
|
17129
17322
|
}
|
|
17130
17323
|
/**
|
|
17131
17324
|
* Queries the information about a component based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, cluster version, and component name. The information includes whether the component is managed, the component type, supported custom parameter schema, compatible operating system architecture, and earliest supported cluster version.
|
|
@@ -17182,7 +17375,12 @@ class Client extends openapi_core_1.default {
|
|
|
17182
17375
|
reqBodyType: "json",
|
|
17183
17376
|
bodyType: "json",
|
|
17184
17377
|
});
|
|
17185
|
-
|
|
17378
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17379
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeAddonsResponse({}));
|
|
17380
|
+
}
|
|
17381
|
+
else {
|
|
17382
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeAddonsResponse({}));
|
|
17383
|
+
}
|
|
17186
17384
|
}
|
|
17187
17385
|
/**
|
|
17188
17386
|
* You can call the DescribeAddons operation to query the details about all components that are supported by Container Service for Kubernetes (ACK).
|
|
@@ -17223,7 +17421,12 @@ class Client extends openapi_core_1.default {
|
|
|
17223
17421
|
reqBodyType: "json",
|
|
17224
17422
|
bodyType: "json",
|
|
17225
17423
|
});
|
|
17226
|
-
|
|
17424
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17425
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
|
|
17426
|
+
}
|
|
17427
|
+
else {
|
|
17428
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonInstanceResponse({}));
|
|
17429
|
+
}
|
|
17227
17430
|
}
|
|
17228
17431
|
/**
|
|
17229
17432
|
* You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
|
|
@@ -17269,7 +17472,12 @@ class Client extends openapi_core_1.default {
|
|
|
17269
17472
|
reqBodyType: "json",
|
|
17270
17473
|
bodyType: "json",
|
|
17271
17474
|
});
|
|
17272
|
-
|
|
17475
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17476
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
|
|
17477
|
+
}
|
|
17478
|
+
else {
|
|
17479
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonMetadataResponse({}));
|
|
17480
|
+
}
|
|
17273
17481
|
}
|
|
17274
17482
|
/**
|
|
17275
17483
|
* You can call the DescribeClusterAddonMetadata operation to query the metadata of a component version. The metadata includes the component version and available parameters.
|
|
@@ -17310,7 +17518,12 @@ class Client extends openapi_core_1.default {
|
|
|
17310
17518
|
reqBodyType: "json",
|
|
17311
17519
|
bodyType: "json",
|
|
17312
17520
|
});
|
|
17313
|
-
|
|
17521
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17522
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
|
|
17523
|
+
}
|
|
17524
|
+
else {
|
|
17525
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonUpgradeStatusResponse({}));
|
|
17526
|
+
}
|
|
17314
17527
|
}
|
|
17315
17528
|
/**
|
|
17316
17529
|
* You can call the DescribeClusterAddonUpgradeStatus operation to query the update progress of a cluster component.
|
|
@@ -17361,7 +17574,12 @@ class Client extends openapi_core_1.default {
|
|
|
17361
17574
|
reqBodyType: "json",
|
|
17362
17575
|
bodyType: "json",
|
|
17363
17576
|
});
|
|
17364
|
-
|
|
17577
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17578
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
17579
|
+
}
|
|
17580
|
+
else {
|
|
17581
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonsUpgradeStatusResponse({}));
|
|
17582
|
+
}
|
|
17365
17583
|
}
|
|
17366
17584
|
/**
|
|
17367
17585
|
* You can call the DescribeClusterAddonsUpgradeStatus operation to query the update progress of a component by component name.
|
|
@@ -17402,7 +17620,12 @@ class Client extends openapi_core_1.default {
|
|
|
17402
17620
|
reqBodyType: "json",
|
|
17403
17621
|
bodyType: "json",
|
|
17404
17622
|
});
|
|
17405
|
-
|
|
17623
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17624
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
|
|
17625
|
+
}
|
|
17626
|
+
else {
|
|
17627
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAddonsVersionResponse({}));
|
|
17628
|
+
}
|
|
17406
17629
|
}
|
|
17407
17630
|
/**
|
|
17408
17631
|
* You can call the DescribeClusterAddonsVersion operation to query the details about all components in a cluster by cluster ID.
|
|
@@ -17460,7 +17683,12 @@ class Client extends openapi_core_1.default {
|
|
|
17460
17683
|
reqBodyType: "json",
|
|
17461
17684
|
bodyType: "string",
|
|
17462
17685
|
});
|
|
17463
|
-
|
|
17686
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17687
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
17688
|
+
}
|
|
17689
|
+
else {
|
|
17690
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterAttachScriptsResponse({}));
|
|
17691
|
+
}
|
|
17464
17692
|
}
|
|
17465
17693
|
/**
|
|
17466
17694
|
* Queries the scripts used to add existing nodes to a Container Service for Kubernetes (ACK) cluster. ACK allows you to manually add existing Elastic Compute Service (ECS) instances to an ACK cluster as worker nodes or re-add worker nodes that you remove from the cluster to a node pool.
|
|
@@ -17495,7 +17723,12 @@ class Client extends openapi_core_1.default {
|
|
|
17495
17723
|
reqBodyType: "json",
|
|
17496
17724
|
bodyType: "json",
|
|
17497
17725
|
});
|
|
17498
|
-
|
|
17726
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17727
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
17728
|
+
}
|
|
17729
|
+
else {
|
|
17730
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterDetailResponse({}));
|
|
17731
|
+
}
|
|
17499
17732
|
}
|
|
17500
17733
|
/**
|
|
17501
17734
|
* You can call the DescribeClusterDetail operation to query the details of a Container Service for Kubernetes (ACK) cluster by cluster ID.
|
|
@@ -17541,7 +17774,12 @@ class Client extends openapi_core_1.default {
|
|
|
17541
17774
|
reqBodyType: "json",
|
|
17542
17775
|
bodyType: "json",
|
|
17543
17776
|
});
|
|
17544
|
-
|
|
17777
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17778
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
17779
|
+
}
|
|
17780
|
+
else {
|
|
17781
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterEventsResponse({}));
|
|
17782
|
+
}
|
|
17545
17783
|
}
|
|
17546
17784
|
/**
|
|
17547
17785
|
* Queries events and event details in a Container Service for Kubernetes (ACK) cluster, including the severity level, status, and start time of each event. Events are generated when clusters created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
@@ -17576,7 +17814,12 @@ class Client extends openapi_core_1.default {
|
|
|
17576
17814
|
reqBodyType: "json",
|
|
17577
17815
|
bodyType: "array",
|
|
17578
17816
|
});
|
|
17579
|
-
|
|
17817
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17818
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
17819
|
+
}
|
|
17820
|
+
else {
|
|
17821
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterLogsResponse({}));
|
|
17822
|
+
}
|
|
17580
17823
|
}
|
|
17581
17824
|
/**
|
|
17582
17825
|
* Queries the cluster log to help analyze cluster issues and locate the cause.
|
|
@@ -17609,7 +17852,12 @@ class Client extends openapi_core_1.default {
|
|
|
17609
17852
|
reqBodyType: "json",
|
|
17610
17853
|
bodyType: "json",
|
|
17611
17854
|
});
|
|
17612
|
-
|
|
17855
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17856
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
17857
|
+
}
|
|
17858
|
+
else {
|
|
17859
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterNodePoolDetailResponse({}));
|
|
17860
|
+
}
|
|
17613
17861
|
}
|
|
17614
17862
|
/**
|
|
17615
17863
|
* You can call the DescribeClusterNodePoolDetail.html operation to query the details about a node pool in a cluster by node pool ID.
|
|
@@ -17649,7 +17897,12 @@ class Client extends openapi_core_1.default {
|
|
|
17649
17897
|
reqBodyType: "json",
|
|
17650
17898
|
bodyType: "json",
|
|
17651
17899
|
});
|
|
17652
|
-
|
|
17900
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17901
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
17902
|
+
}
|
|
17903
|
+
else {
|
|
17904
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterNodePoolsResponse({}));
|
|
17905
|
+
}
|
|
17653
17906
|
}
|
|
17654
17907
|
/**
|
|
17655
17908
|
* Queries the information about all node pools in a cluster.
|
|
@@ -17703,7 +17956,12 @@ class Client extends openapi_core_1.default {
|
|
|
17703
17956
|
reqBodyType: "json",
|
|
17704
17957
|
bodyType: "json",
|
|
17705
17958
|
});
|
|
17706
|
-
|
|
17959
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
17960
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
17961
|
+
}
|
|
17962
|
+
else {
|
|
17963
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterNodesResponse({}));
|
|
17964
|
+
}
|
|
17707
17965
|
}
|
|
17708
17966
|
/**
|
|
17709
17967
|
* null
|
|
@@ -17745,7 +18003,12 @@ class Client extends openapi_core_1.default {
|
|
|
17745
18003
|
reqBodyType: "json",
|
|
17746
18004
|
bodyType: "array",
|
|
17747
18005
|
});
|
|
17748
|
-
|
|
18006
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18007
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
18008
|
+
}
|
|
18009
|
+
else {
|
|
18010
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterResourcesResponse({}));
|
|
18011
|
+
}
|
|
17749
18012
|
}
|
|
17750
18013
|
/**
|
|
17751
18014
|
* You can call the DescribeClusterResources operation to query all resources in a cluster by cluster ID.
|
|
@@ -17790,7 +18053,12 @@ class Client extends openapi_core_1.default {
|
|
|
17790
18053
|
reqBodyType: "json",
|
|
17791
18054
|
bodyType: "json",
|
|
17792
18055
|
});
|
|
17793
|
-
|
|
18056
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18057
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
18058
|
+
}
|
|
18059
|
+
else {
|
|
18060
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterTasksResponse({}));
|
|
18061
|
+
}
|
|
17794
18062
|
}
|
|
17795
18063
|
/**
|
|
17796
18064
|
* Queries tasks in a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -17838,7 +18106,12 @@ class Client extends openapi_core_1.default {
|
|
|
17838
18106
|
reqBodyType: "json",
|
|
17839
18107
|
bodyType: "json",
|
|
17840
18108
|
});
|
|
17841
|
-
|
|
18109
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18110
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
|
|
18111
|
+
}
|
|
18112
|
+
else {
|
|
18113
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterUserKubeconfigResponse({}));
|
|
18114
|
+
}
|
|
17842
18115
|
}
|
|
17843
18116
|
/**
|
|
17844
18117
|
* Kubeconfig files store identity and authentication information that is used by clients to access Container Service for Kubernetes (ACK) clusters. To use a kubectl client to manage an ACK cluster, you need to use the corresponding kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
@@ -17889,7 +18162,12 @@ class Client extends openapi_core_1.default {
|
|
|
17889
18162
|
reqBodyType: "json",
|
|
17890
18163
|
bodyType: "json",
|
|
17891
18164
|
});
|
|
17892
|
-
|
|
18165
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18166
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
|
|
18167
|
+
}
|
|
18168
|
+
else {
|
|
18169
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterV2UserKubeconfigResponse({}));
|
|
18170
|
+
}
|
|
17893
18171
|
}
|
|
17894
18172
|
/**
|
|
17895
18173
|
* 获取集群kubeconfig接口
|
|
@@ -17927,7 +18205,12 @@ class Client extends openapi_core_1.default {
|
|
|
17927
18205
|
reqBodyType: "json",
|
|
17928
18206
|
bodyType: "json",
|
|
17929
18207
|
});
|
|
17930
|
-
|
|
18208
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18209
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
18210
|
+
}
|
|
18211
|
+
else {
|
|
18212
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClusterVulsResponse({}));
|
|
18213
|
+
}
|
|
17931
18214
|
}
|
|
17932
18215
|
/**
|
|
17933
18216
|
* 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.
|
|
@@ -17976,7 +18259,12 @@ class Client extends openapi_core_1.default {
|
|
|
17976
18259
|
reqBodyType: "json",
|
|
17977
18260
|
bodyType: "array",
|
|
17978
18261
|
});
|
|
17979
|
-
|
|
18262
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18263
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClustersResponse({}));
|
|
18264
|
+
}
|
|
18265
|
+
else {
|
|
18266
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClustersResponse({}));
|
|
18267
|
+
}
|
|
17980
18268
|
}
|
|
17981
18269
|
/**
|
|
17982
18270
|
* Queries all the clusters that belong to the current Alibaba Cloud account, including Kubernetes clusters and Swarm clusters.
|
|
@@ -18039,7 +18327,12 @@ class Client extends openapi_core_1.default {
|
|
|
18039
18327
|
reqBodyType: "json",
|
|
18040
18328
|
bodyType: "json",
|
|
18041
18329
|
});
|
|
18042
|
-
|
|
18330
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18331
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClustersForRegionResponse({}));
|
|
18332
|
+
}
|
|
18333
|
+
else {
|
|
18334
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClustersForRegionResponse({}));
|
|
18335
|
+
}
|
|
18043
18336
|
}
|
|
18044
18337
|
/**
|
|
18045
18338
|
* Queries all clusters in a specified region.
|
|
@@ -18102,7 +18395,12 @@ class Client extends openapi_core_1.default {
|
|
|
18102
18395
|
reqBodyType: "json",
|
|
18103
18396
|
bodyType: "json",
|
|
18104
18397
|
});
|
|
18105
|
-
|
|
18398
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18399
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeClustersV1Response({}));
|
|
18400
|
+
}
|
|
18401
|
+
else {
|
|
18402
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeClustersV1Response({}));
|
|
18403
|
+
}
|
|
18106
18404
|
}
|
|
18107
18405
|
/**
|
|
18108
18406
|
* Queries the details about Container Service for Kubernetes (ACK) clusters of specified types or specifications within an account.
|
|
@@ -18140,7 +18438,12 @@ class Client extends openapi_core_1.default {
|
|
|
18140
18438
|
reqBodyType: "json",
|
|
18141
18439
|
bodyType: "json",
|
|
18142
18440
|
});
|
|
18143
|
-
|
|
18441
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18442
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
18443
|
+
}
|
|
18444
|
+
else {
|
|
18445
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEdgeMachineActiveProcessResponse({}));
|
|
18446
|
+
}
|
|
18144
18447
|
}
|
|
18145
18448
|
/**
|
|
18146
18449
|
* You can call the DescribeEdgeMachineActiveProcess operation to query the activation progress of a cloud-native box.
|
|
@@ -18176,7 +18479,12 @@ class Client extends openapi_core_1.default {
|
|
|
18176
18479
|
reqBodyType: "json",
|
|
18177
18480
|
bodyType: "json",
|
|
18178
18481
|
});
|
|
18179
|
-
|
|
18482
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18483
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
18484
|
+
}
|
|
18485
|
+
else {
|
|
18486
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEdgeMachineModelsResponse({}));
|
|
18487
|
+
}
|
|
18180
18488
|
}
|
|
18181
18489
|
/**
|
|
18182
18490
|
* You can call the DescribeEdgeMachineModels operation to query the cloud-native box models.
|
|
@@ -18209,7 +18517,12 @@ class Client extends openapi_core_1.default {
|
|
|
18209
18517
|
reqBodyType: "json",
|
|
18210
18518
|
bodyType: "json",
|
|
18211
18519
|
});
|
|
18212
|
-
|
|
18520
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18521
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
18522
|
+
}
|
|
18523
|
+
else {
|
|
18524
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEdgeMachineTunnelConfigDetailResponse({}));
|
|
18525
|
+
}
|
|
18213
18526
|
}
|
|
18214
18527
|
/**
|
|
18215
18528
|
* You can call the DescribeEdgeMachineTunnelConfigDetail operation to obtain the SSH token of a cloud-native box.
|
|
@@ -18264,7 +18577,12 @@ class Client extends openapi_core_1.default {
|
|
|
18264
18577
|
reqBodyType: "json",
|
|
18265
18578
|
bodyType: "json",
|
|
18266
18579
|
});
|
|
18267
|
-
|
|
18580
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18581
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
18582
|
+
}
|
|
18583
|
+
else {
|
|
18584
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEdgeMachinesResponse({}));
|
|
18585
|
+
}
|
|
18268
18586
|
}
|
|
18269
18587
|
/**
|
|
18270
18588
|
* You can call the DescribeEdgeMachines operation to query a list of cloud-native boxes.
|
|
@@ -18315,7 +18633,12 @@ class Client extends openapi_core_1.default {
|
|
|
18315
18633
|
reqBodyType: "json",
|
|
18316
18634
|
bodyType: "json",
|
|
18317
18635
|
});
|
|
18318
|
-
|
|
18636
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18637
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEventsResponse({}));
|
|
18638
|
+
}
|
|
18639
|
+
else {
|
|
18640
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEventsResponse({}));
|
|
18641
|
+
}
|
|
18319
18642
|
}
|
|
18320
18643
|
/**
|
|
18321
18644
|
* Queries the detailed information about a type of events, including the severity level, status, and time. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
@@ -18363,7 +18686,12 @@ class Client extends openapi_core_1.default {
|
|
|
18363
18686
|
reqBodyType: "json",
|
|
18364
18687
|
bodyType: "json",
|
|
18365
18688
|
});
|
|
18366
|
-
|
|
18689
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18690
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeEventsForRegionResponse({}));
|
|
18691
|
+
}
|
|
18692
|
+
else {
|
|
18693
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeEventsForRegionResponse({}));
|
|
18694
|
+
}
|
|
18367
18695
|
}
|
|
18368
18696
|
/**
|
|
18369
18697
|
* Queries all events in a specified region.
|
|
@@ -18414,7 +18742,12 @@ class Client extends openapi_core_1.default {
|
|
|
18414
18742
|
reqBodyType: "json",
|
|
18415
18743
|
bodyType: "json",
|
|
18416
18744
|
});
|
|
18417
|
-
|
|
18745
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18746
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
18747
|
+
}
|
|
18748
|
+
else {
|
|
18749
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeExternalAgentResponse({}));
|
|
18750
|
+
}
|
|
18418
18751
|
}
|
|
18419
18752
|
/**
|
|
18420
18753
|
* Queries the proxy configurations of a registered cluster based on the cluster ID.
|
|
@@ -18480,7 +18813,12 @@ class Client extends openapi_core_1.default {
|
|
|
18480
18813
|
reqBodyType: "json",
|
|
18481
18814
|
bodyType: "array",
|
|
18482
18815
|
});
|
|
18483
|
-
|
|
18816
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18817
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
18818
|
+
}
|
|
18819
|
+
else {
|
|
18820
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeKubernetesVersionMetadataResponse({}));
|
|
18821
|
+
}
|
|
18484
18822
|
}
|
|
18485
18823
|
/**
|
|
18486
18824
|
* Queries the detailed information about Kubernetes versions, including the version number, release date, expiration date, compatible OSs, and runtime.
|
|
@@ -18522,7 +18860,12 @@ class Client extends openapi_core_1.default {
|
|
|
18522
18860
|
reqBodyType: "json",
|
|
18523
18861
|
bodyType: "json",
|
|
18524
18862
|
});
|
|
18525
|
-
|
|
18863
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18864
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
18865
|
+
}
|
|
18866
|
+
else {
|
|
18867
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeNodePoolVulsResponse({}));
|
|
18868
|
+
}
|
|
18526
18869
|
}
|
|
18527
18870
|
/**
|
|
18528
18871
|
* Queries the vulnerability information of a node pool, such as vulnerability names and severity levels, by specifying the ID of the node pool. We recommend that you periodically scan node pools for vulnerabilities to enhance cluster security.
|
|
@@ -18557,7 +18900,12 @@ class Client extends openapi_core_1.default {
|
|
|
18557
18900
|
reqBodyType: "json",
|
|
18558
18901
|
bodyType: "json",
|
|
18559
18902
|
});
|
|
18560
|
-
|
|
18903
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18904
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePoliciesResponse({}));
|
|
18905
|
+
}
|
|
18906
|
+
else {
|
|
18907
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePoliciesResponse({}));
|
|
18908
|
+
}
|
|
18561
18909
|
}
|
|
18562
18910
|
/**
|
|
18563
18911
|
* Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
|
|
@@ -18590,7 +18938,12 @@ class Client extends openapi_core_1.default {
|
|
|
18590
18938
|
reqBodyType: "json",
|
|
18591
18939
|
bodyType: "json",
|
|
18592
18940
|
});
|
|
18593
|
-
|
|
18941
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18942
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
18943
|
+
}
|
|
18944
|
+
else {
|
|
18945
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolicyDetailsResponse({}));
|
|
18946
|
+
}
|
|
18594
18947
|
}
|
|
18595
18948
|
/**
|
|
18596
18949
|
* Queries the detailed information about a policy. The information includes the content, action, and severity level of the policy. Container Service for Kubernetes (ACK) provides the following types of predefined security policies: Compliance, Infra, K8s-general, and pod security policy (PSP). These policies ensure that containers are running in the production environment in a secure manner.
|
|
@@ -18623,7 +18976,12 @@ class Client extends openapi_core_1.default {
|
|
|
18623
18976
|
reqBodyType: "json",
|
|
18624
18977
|
bodyType: "json",
|
|
18625
18978
|
});
|
|
18626
|
-
|
|
18979
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18980
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
18981
|
+
}
|
|
18982
|
+
else {
|
|
18983
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolicyGovernanceInClusterResponse({}));
|
|
18984
|
+
}
|
|
18627
18985
|
}
|
|
18628
18986
|
/**
|
|
18629
18987
|
* Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment. You can call the DescribePolicyGovernanceInCluster operation to query the details of policies for an ACK cluster. For example, you can query the number of policies that are enabled per severity level, the audit logs of policies, and the blocking and alerting information.
|
|
@@ -18666,7 +19024,12 @@ class Client extends openapi_core_1.default {
|
|
|
18666
19024
|
reqBodyType: "json",
|
|
18667
19025
|
bodyType: "array",
|
|
18668
19026
|
});
|
|
18669
|
-
|
|
19027
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19028
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
19029
|
+
}
|
|
19030
|
+
else {
|
|
19031
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolicyInstancesResponse({}));
|
|
19032
|
+
}
|
|
18670
19033
|
}
|
|
18671
19034
|
/**
|
|
18672
19035
|
* Queries the detailed information about policy instances of the specified type in a Container Service for Kubernetes (ACK) cluster, such as the policy description and severity level. You can choose a type of security policy for an ACK cluster, specify the action and applicable scope of the policy, and then create and deploy a policy instance.
|
|
@@ -18701,7 +19064,12 @@ class Client extends openapi_core_1.default {
|
|
|
18701
19064
|
reqBodyType: "json",
|
|
18702
19065
|
bodyType: "json",
|
|
18703
19066
|
});
|
|
18704
|
-
|
|
19067
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19068
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
19069
|
+
}
|
|
19070
|
+
else {
|
|
19071
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribePolicyInstancesStatusResponse({}));
|
|
19072
|
+
}
|
|
18705
19073
|
}
|
|
18706
19074
|
/**
|
|
18707
19075
|
* Queries the deployment of policy instances in the current Container Service for Kubernetes (ACK) cluster, including the number of policy instances of each type and the number of policy types of each severity level.
|
|
@@ -18744,7 +19112,12 @@ class Client extends openapi_core_1.default {
|
|
|
18744
19112
|
reqBodyType: "json",
|
|
18745
19113
|
bodyType: "array",
|
|
18746
19114
|
});
|
|
18747
|
-
|
|
19115
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19116
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
|
|
19117
|
+
}
|
|
19118
|
+
else {
|
|
19119
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeResourcesDeleteProtectionResponse({}));
|
|
19120
|
+
}
|
|
18748
19121
|
}
|
|
18749
19122
|
/**
|
|
18750
19123
|
* Queries whether the deletion protection feature is enabled for the specified resources. The resources that you can query include namespaces and Services.
|
|
@@ -18792,7 +19165,12 @@ class Client extends openapi_core_1.default {
|
|
|
18792
19165
|
reqBodyType: "json",
|
|
18793
19166
|
bodyType: "json",
|
|
18794
19167
|
});
|
|
18795
|
-
|
|
19168
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19169
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
19170
|
+
}
|
|
19171
|
+
else {
|
|
19172
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeSubaccountK8sClusterUserConfigResponse({}));
|
|
19173
|
+
}
|
|
18796
19174
|
}
|
|
18797
19175
|
/**
|
|
18798
19176
|
* 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.
|
|
@@ -18830,7 +19208,12 @@ class Client extends openapi_core_1.default {
|
|
|
18830
19208
|
reqBodyType: "json",
|
|
18831
19209
|
bodyType: "json",
|
|
18832
19210
|
});
|
|
18833
|
-
|
|
19211
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19212
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
19213
|
+
}
|
|
19214
|
+
else {
|
|
19215
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTaskInfoResponse({}));
|
|
19216
|
+
}
|
|
18834
19217
|
}
|
|
18835
19218
|
/**
|
|
18836
19219
|
* Queries detailed information about a task, such as the task type, status, and progress.
|
|
@@ -18870,7 +19253,12 @@ class Client extends openapi_core_1.default {
|
|
|
18870
19253
|
reqBodyType: "json",
|
|
18871
19254
|
bodyType: "array",
|
|
18872
19255
|
});
|
|
18873
|
-
|
|
19256
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19257
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
19258
|
+
}
|
|
19259
|
+
else {
|
|
19260
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTemplateAttributeResponse({}));
|
|
19261
|
+
}
|
|
18874
19262
|
}
|
|
18875
19263
|
/**
|
|
18876
19264
|
* An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
@@ -18918,7 +19306,12 @@ class Client extends openapi_core_1.default {
|
|
|
18918
19306
|
reqBodyType: "json",
|
|
18919
19307
|
bodyType: "json",
|
|
18920
19308
|
});
|
|
18921
|
-
|
|
19309
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19310
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
19311
|
+
}
|
|
19312
|
+
else {
|
|
19313
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTemplatesResponse({}));
|
|
19314
|
+
}
|
|
18922
19315
|
}
|
|
18923
19316
|
/**
|
|
18924
19317
|
* An orchestration template defines and describes a group of Kubernetes resources. It declaratively describes the configuration of an application or how an application runs. You can call the DescribeTemplates API operation to query orchestration templates and their detailed information, including access permissions, YAML content, and labels.
|
|
@@ -18969,7 +19362,12 @@ class Client extends openapi_core_1.default {
|
|
|
18969
19362
|
reqBodyType: "json",
|
|
18970
19363
|
bodyType: "array",
|
|
18971
19364
|
});
|
|
18972
|
-
|
|
19365
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19366
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeTriggerResponse({}));
|
|
19367
|
+
}
|
|
19368
|
+
else {
|
|
19369
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeTriggerResponse({}));
|
|
19370
|
+
}
|
|
18973
19371
|
}
|
|
18974
19372
|
/**
|
|
18975
19373
|
* Queries triggers that match specific conditions.
|
|
@@ -19004,7 +19402,12 @@ class Client extends openapi_core_1.default {
|
|
|
19004
19402
|
reqBodyType: "json",
|
|
19005
19403
|
bodyType: "array",
|
|
19006
19404
|
});
|
|
19007
|
-
|
|
19405
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19406
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
19407
|
+
}
|
|
19408
|
+
else {
|
|
19409
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserClusterNamespacesResponse({}));
|
|
19410
|
+
}
|
|
19008
19411
|
}
|
|
19009
19412
|
/**
|
|
19010
19413
|
* You can use Kubernetes namespaces to limit users from accessing resources in a Container Service for Kubernetes (ACK) cluster. Users that are granted Role-Based Access Control (RBAC) permissions only on one namespace cannot access resources in other namespaces. Queries the RBAC permissions that are granted to the current Resource Access Management (RAM) user or RAM role on an ACK cluster.
|
|
@@ -19041,7 +19444,12 @@ class Client extends openapi_core_1.default {
|
|
|
19041
19444
|
reqBodyType: "json",
|
|
19042
19445
|
bodyType: "array",
|
|
19043
19446
|
});
|
|
19044
|
-
|
|
19447
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19448
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
19449
|
+
}
|
|
19450
|
+
else {
|
|
19451
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserPermissionResponse({}));
|
|
19452
|
+
}
|
|
19045
19453
|
}
|
|
19046
19454
|
/**
|
|
19047
19455
|
* In an Container Service for Kubernetes (ACK) cluster, you can create and specify different Resource Access Management (RAM) users or roles to have different access permissions. This ensures access control and resource isolation. You can call the DescribeUserPermission operation to query the permissions that are granted to a RAM user or RAM role on ACK clusters, including the resources that are allowed to access, the scope of the permissions, the predefined role, and the permission source.
|
|
@@ -19078,7 +19486,12 @@ class Client extends openapi_core_1.default {
|
|
|
19078
19486
|
reqBodyType: "json",
|
|
19079
19487
|
bodyType: "json",
|
|
19080
19488
|
});
|
|
19081
|
-
|
|
19489
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19490
|
+
return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
19491
|
+
}
|
|
19492
|
+
else {
|
|
19493
|
+
return $dara.cast(await this.execute(params, req, runtime), new DescribeUserQuotaResponse({}));
|
|
19494
|
+
}
|
|
19082
19495
|
}
|
|
19083
19496
|
/**
|
|
19084
19497
|
* Queries quotas related to Container Service for Kubernetes (ACK) clusters, node pools, and nodes. To increase a quota, submit an application in the Quota Center console.
|
|
@@ -19127,7 +19540,12 @@ class Client extends openapi_core_1.default {
|
|
|
19127
19540
|
reqBodyType: "json",
|
|
19128
19541
|
bodyType: "json",
|
|
19129
19542
|
});
|
|
19130
|
-
|
|
19543
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19544
|
+
return $dara.cast(await this.callApi(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
19545
|
+
}
|
|
19546
|
+
else {
|
|
19547
|
+
return $dara.cast(await this.execute(params, req, runtime), new EdgeClusterAddEdgeMachineResponse({}));
|
|
19548
|
+
}
|
|
19131
19549
|
}
|
|
19132
19550
|
/**
|
|
19133
19551
|
* You can call the EdgeClusterAddEdgeMachine operation to add a cloud-native box to a Container Service for Kubernetes (ACK) Edge cluster.
|
|
@@ -19187,7 +19605,12 @@ class Client extends openapi_core_1.default {
|
|
|
19187
19605
|
reqBodyType: "json",
|
|
19188
19606
|
bodyType: "json",
|
|
19189
19607
|
});
|
|
19190
|
-
|
|
19608
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19609
|
+
return $dara.cast(await this.callApi(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
19610
|
+
}
|
|
19611
|
+
else {
|
|
19612
|
+
return $dara.cast(await this.execute(params, req, runtime), new FixNodePoolVulsResponse({}));
|
|
19613
|
+
}
|
|
19191
19614
|
}
|
|
19192
19615
|
/**
|
|
19193
19616
|
* Patches node vulnerabilities in a node pool to enhance node security. Cloud Security provided by Alibaba Cloud periodically scans Elastic Compute Service (ECS) instances for vulnerabilities and provides suggestions on how to patch the detected vulnerabilities. Vulnerability patching may require node restarts. Make sure that your cluster has sufficient idle nodes for node draining.
|
|
@@ -19228,7 +19651,12 @@ class Client extends openapi_core_1.default {
|
|
|
19228
19651
|
reqBodyType: "json",
|
|
19229
19652
|
bodyType: "json",
|
|
19230
19653
|
});
|
|
19231
|
-
|
|
19654
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19655
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
19656
|
+
}
|
|
19657
|
+
else {
|
|
19658
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterAddonInstanceResponse({}));
|
|
19659
|
+
}
|
|
19232
19660
|
}
|
|
19233
19661
|
/**
|
|
19234
19662
|
* You can call the GetClusterAddonInstance operation to query the information of a component instance in a cluster, including the version, configurations, and log status of the component instance.
|
|
@@ -19261,7 +19689,12 @@ class Client extends openapi_core_1.default {
|
|
|
19261
19689
|
reqBodyType: "json",
|
|
19262
19690
|
bodyType: "json",
|
|
19263
19691
|
});
|
|
19264
|
-
|
|
19692
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19693
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterAuditProjectResponse({}));
|
|
19694
|
+
}
|
|
19695
|
+
else {
|
|
19696
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterAuditProjectResponse({}));
|
|
19697
|
+
}
|
|
19265
19698
|
}
|
|
19266
19699
|
/**
|
|
19267
19700
|
* You can call the GetClusterAuditProject operation to query the Simple Log Service (SLS) project that stores the audit logs of the API server of a cluster.
|
|
@@ -19294,7 +19727,12 @@ class Client extends openapi_core_1.default {
|
|
|
19294
19727
|
reqBodyType: "json",
|
|
19295
19728
|
bodyType: "json",
|
|
19296
19729
|
});
|
|
19297
|
-
|
|
19730
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19731
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterCheckResponse({}));
|
|
19732
|
+
}
|
|
19733
|
+
else {
|
|
19734
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterCheckResponse({}));
|
|
19735
|
+
}
|
|
19298
19736
|
}
|
|
19299
19737
|
/**
|
|
19300
19738
|
* Queries a cluster check task by cluster ID and task ID. You can view the status, check items, creation time, and end time of the task. Container Intelligence Service (CIS) provides a variety of Kubernetes cluster check features, including cluster update check, cluster migration check, component installation check, component update check, and node pool check.
|
|
@@ -19334,7 +19772,12 @@ class Client extends openapi_core_1.default {
|
|
|
19334
19772
|
reqBodyType: "json",
|
|
19335
19773
|
bodyType: "json",
|
|
19336
19774
|
});
|
|
19337
|
-
|
|
19775
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19776
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterDiagnosisCheckItemsResponse({}));
|
|
19777
|
+
}
|
|
19778
|
+
else {
|
|
19779
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterDiagnosisCheckItemsResponse({}));
|
|
19780
|
+
}
|
|
19338
19781
|
}
|
|
19339
19782
|
/**
|
|
19340
19783
|
* Queries cluster diagnostic items.
|
|
@@ -19376,7 +19819,12 @@ class Client extends openapi_core_1.default {
|
|
|
19376
19819
|
reqBodyType: "json",
|
|
19377
19820
|
bodyType: "json",
|
|
19378
19821
|
});
|
|
19379
|
-
|
|
19822
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19823
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetClusterDiagnosisResultResponse({}));
|
|
19824
|
+
}
|
|
19825
|
+
else {
|
|
19826
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetClusterDiagnosisResultResponse({}));
|
|
19827
|
+
}
|
|
19380
19828
|
}
|
|
19381
19829
|
/**
|
|
19382
19830
|
* Queries cluster diagnostic results.
|
|
@@ -19430,7 +19878,12 @@ class Client extends openapi_core_1.default {
|
|
|
19430
19878
|
reqBodyType: "json",
|
|
19431
19879
|
bodyType: "array",
|
|
19432
19880
|
});
|
|
19433
|
-
|
|
19881
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19882
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
19883
|
+
}
|
|
19884
|
+
else {
|
|
19885
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetKubernetesTriggerResponse({}));
|
|
19886
|
+
}
|
|
19434
19887
|
}
|
|
19435
19888
|
/**
|
|
19436
19889
|
* You can call the GetKubernetesTrigger operationto query the triggers of an application by application name.
|
|
@@ -19471,7 +19924,12 @@ class Client extends openapi_core_1.default {
|
|
|
19471
19924
|
reqBodyType: "json",
|
|
19472
19925
|
bodyType: "json",
|
|
19473
19926
|
});
|
|
19474
|
-
|
|
19927
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19928
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
19929
|
+
}
|
|
19930
|
+
else {
|
|
19931
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetUpgradeStatusResponse({}));
|
|
19932
|
+
}
|
|
19475
19933
|
}
|
|
19476
19934
|
/**
|
|
19477
19935
|
* You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID.
|
|
@@ -19515,7 +19973,12 @@ class Client extends openapi_core_1.default {
|
|
|
19515
19973
|
reqBodyType: "json",
|
|
19516
19974
|
bodyType: "none",
|
|
19517
19975
|
});
|
|
19518
|
-
|
|
19976
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
19977
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GrantPermissionsResponse({}));
|
|
19978
|
+
}
|
|
19979
|
+
else {
|
|
19980
|
+
return $dara.cast(await this.execute(params, req, runtime), new GrantPermissionsResponse({}));
|
|
19981
|
+
}
|
|
19519
19982
|
}
|
|
19520
19983
|
/**
|
|
19521
19984
|
* 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.
|
|
@@ -19558,7 +20021,12 @@ class Client extends openapi_core_1.default {
|
|
|
19558
20021
|
reqBodyType: "json",
|
|
19559
20022
|
bodyType: "json",
|
|
19560
20023
|
});
|
|
19561
|
-
|
|
20024
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20025
|
+
return $dara.cast(await this.callApi(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
20026
|
+
}
|
|
20027
|
+
else {
|
|
20028
|
+
return $dara.cast(await this.execute(params, req, runtime), new InstallClusterAddonsResponse({}));
|
|
20029
|
+
}
|
|
19562
20030
|
}
|
|
19563
20031
|
/**
|
|
19564
20032
|
* Installs a component by specifying the name and version of the component. To enhance Kubernetes capabilities, you can install a variety of components in Container Service for Kubernetes (ACK) clusters, such as fully-managed core components and application, logging and monitoring, network, storage, and security group components.
|
|
@@ -19615,7 +20083,12 @@ class Client extends openapi_core_1.default {
|
|
|
19615
20083
|
reqBodyType: "json",
|
|
19616
20084
|
bodyType: "json",
|
|
19617
20085
|
});
|
|
19618
|
-
|
|
20086
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20087
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListAddonsResponse({}));
|
|
20088
|
+
}
|
|
20089
|
+
else {
|
|
20090
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListAddonsResponse({}));
|
|
20091
|
+
}
|
|
19619
20092
|
}
|
|
19620
20093
|
/**
|
|
19621
20094
|
* Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
|
|
@@ -19650,7 +20123,12 @@ class Client extends openapi_core_1.default {
|
|
|
19650
20123
|
reqBodyType: "json",
|
|
19651
20124
|
bodyType: "json",
|
|
19652
20125
|
});
|
|
19653
|
-
|
|
20126
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20127
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
20128
|
+
}
|
|
20129
|
+
else {
|
|
20130
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListClusterAddonInstancesResponse({}));
|
|
20131
|
+
}
|
|
19654
20132
|
}
|
|
19655
20133
|
/**
|
|
19656
20134
|
* Queries the component instances that are running in the specified cluster and the information about the component instances. The information includes the component version and status.
|
|
@@ -19693,7 +20171,12 @@ class Client extends openapi_core_1.default {
|
|
|
19693
20171
|
reqBodyType: "json",
|
|
19694
20172
|
bodyType: "json",
|
|
19695
20173
|
});
|
|
19696
|
-
|
|
20174
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20175
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListClusterChecksResponse({}));
|
|
20176
|
+
}
|
|
20177
|
+
else {
|
|
20178
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListClusterChecksResponse({}));
|
|
20179
|
+
}
|
|
19697
20180
|
}
|
|
19698
20181
|
/**
|
|
19699
20182
|
* You can call the ListClusterChecks operation to query all the cluster check results of a cluster.
|
|
@@ -19742,7 +20225,12 @@ class Client extends openapi_core_1.default {
|
|
|
19742
20225
|
reqBodyType: "json",
|
|
19743
20226
|
bodyType: "json",
|
|
19744
20227
|
});
|
|
19745
|
-
|
|
20228
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20229
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListClusterKubeconfigStatesResponse({}));
|
|
20230
|
+
}
|
|
20231
|
+
else {
|
|
20232
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListClusterKubeconfigStatesResponse({}));
|
|
20233
|
+
}
|
|
19746
20234
|
}
|
|
19747
20235
|
/**
|
|
19748
20236
|
* Queries the kubeconfig files that are issued to users for the current cluster and the status of the kubeconfig files.
|
|
@@ -19791,7 +20279,12 @@ class Client extends openapi_core_1.default {
|
|
|
19791
20279
|
reqBodyType: "json",
|
|
19792
20280
|
bodyType: "json",
|
|
19793
20281
|
});
|
|
19794
|
-
|
|
20282
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20283
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListOperationPlansResponse({}));
|
|
20284
|
+
}
|
|
20285
|
+
else {
|
|
20286
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListOperationPlansResponse({}));
|
|
20287
|
+
}
|
|
19795
20288
|
}
|
|
19796
20289
|
/**
|
|
19797
20290
|
* Queries the automated maintenance schedules of a cluster.
|
|
@@ -19853,7 +20346,12 @@ class Client extends openapi_core_1.default {
|
|
|
19853
20346
|
reqBodyType: "json",
|
|
19854
20347
|
bodyType: "json",
|
|
19855
20348
|
});
|
|
19856
|
-
|
|
20349
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20350
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
20351
|
+
}
|
|
20352
|
+
else {
|
|
20353
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
|
|
20354
|
+
}
|
|
19857
20355
|
}
|
|
19858
20356
|
/**
|
|
19859
20357
|
* Queries resource labels and the detailed information, such as the key-value pairs of the labels and the clusters to which the labels are added. You can use labels to classify and manage Container Service for Kubernetes (ACK) clusters in order to meet monitoring, cost analysis, and tenant isolation requirements.
|
|
@@ -19901,7 +20399,12 @@ class Client extends openapi_core_1.default {
|
|
|
19901
20399
|
reqBodyType: "json",
|
|
19902
20400
|
bodyType: "json",
|
|
19903
20401
|
});
|
|
19904
|
-
|
|
20402
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20403
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListUserKubeConfigStatesResponse({}));
|
|
20404
|
+
}
|
|
20405
|
+
else {
|
|
20406
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListUserKubeConfigStatesResponse({}));
|
|
20407
|
+
}
|
|
19905
20408
|
}
|
|
19906
20409
|
/**
|
|
19907
20410
|
* You can call the ListUserKubeConfigStates operation to query the status of the kubeconfig files of all clusters managed by the current user.
|
|
@@ -19949,7 +20452,12 @@ class Client extends openapi_core_1.default {
|
|
|
19949
20452
|
reqBodyType: "json",
|
|
19950
20453
|
bodyType: "json",
|
|
19951
20454
|
});
|
|
19952
|
-
|
|
20455
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20456
|
+
return $dara.cast(await this.callApi(params, req, runtime), new MigrateClusterResponse({}));
|
|
20457
|
+
}
|
|
20458
|
+
else {
|
|
20459
|
+
return $dara.cast(await this.execute(params, req, runtime), new MigrateClusterResponse({}));
|
|
20460
|
+
}
|
|
19953
20461
|
}
|
|
19954
20462
|
/**
|
|
19955
20463
|
* Container Service for Kubernetes (ACK) Pro clusters are developed based on ACK Basic clusters. ACK Pro clusters provide all benefits of ACK managed clusters, such as fully-managed control planes and control plane high availability. In addition, ACK Pro clusters provide you with enhanced reliability, security, and schedulability. ACK Pro clusters are covered by the SLA that supports compensation clauses. ACK Pro clusters are suitable for large-scale businesses that require high stability and security in production environments. We recommend that you migrate from ACK Basic clusters to ACK Pro clusters.
|
|
@@ -20036,7 +20544,12 @@ class Client extends openapi_core_1.default {
|
|
|
20036
20544
|
reqBodyType: "json",
|
|
20037
20545
|
bodyType: "json",
|
|
20038
20546
|
});
|
|
20039
|
-
|
|
20547
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20548
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterResponse({}));
|
|
20549
|
+
}
|
|
20550
|
+
else {
|
|
20551
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterResponse({}));
|
|
20552
|
+
}
|
|
20040
20553
|
}
|
|
20041
20554
|
/**
|
|
20042
20555
|
* You can call the ModifyCluster operation to modify the cluster configurations by cluster ID.
|
|
@@ -20084,7 +20597,12 @@ class Client extends openapi_core_1.default {
|
|
|
20084
20597
|
reqBodyType: "json",
|
|
20085
20598
|
bodyType: "none",
|
|
20086
20599
|
});
|
|
20087
|
-
|
|
20600
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20601
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterAddonResponse({}));
|
|
20602
|
+
}
|
|
20603
|
+
else {
|
|
20604
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterAddonResponse({}));
|
|
20605
|
+
}
|
|
20088
20606
|
}
|
|
20089
20607
|
/**
|
|
20090
20608
|
* Modifies the configuration of a cluster component. This operation may affect your businesses. We recommend that you assess the impact, back up data, and perform the operation during off-peak hours.
|
|
@@ -20135,7 +20653,12 @@ class Client extends openapi_core_1.default {
|
|
|
20135
20653
|
reqBodyType: "json",
|
|
20136
20654
|
bodyType: "none",
|
|
20137
20655
|
});
|
|
20138
|
-
|
|
20656
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20657
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
20658
|
+
}
|
|
20659
|
+
else {
|
|
20660
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterConfigurationResponse({}));
|
|
20661
|
+
}
|
|
20139
20662
|
}
|
|
20140
20663
|
/**
|
|
20141
20664
|
* This API operation applies only to Container Service for Kubernetes (ACK) managed clusters.
|
|
@@ -20201,7 +20724,12 @@ class Client extends openapi_core_1.default {
|
|
|
20201
20724
|
reqBodyType: "json",
|
|
20202
20725
|
bodyType: "json",
|
|
20203
20726
|
});
|
|
20204
|
-
|
|
20727
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20728
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
20729
|
+
}
|
|
20730
|
+
else {
|
|
20731
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterNodePoolResponse({}));
|
|
20732
|
+
}
|
|
20205
20733
|
}
|
|
20206
20734
|
/**
|
|
20207
20735
|
* You can call the ModifyClusterNodePool operation to modify the configuration of a node pool with the specified node pool ID.
|
|
@@ -20215,7 +20743,7 @@ class Client extends openapi_core_1.default {
|
|
|
20215
20743
|
return await this.modifyClusterNodePoolWithOptions(ClusterId, NodepoolId, request, headers, runtime);
|
|
20216
20744
|
}
|
|
20217
20745
|
/**
|
|
20218
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
20746
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
20219
20747
|
*
|
|
20220
20748
|
* @param request - ModifyClusterTagsRequest
|
|
20221
20749
|
* @param headers - map
|
|
@@ -20239,10 +20767,15 @@ class Client extends openapi_core_1.default {
|
|
|
20239
20767
|
reqBodyType: "json",
|
|
20240
20768
|
bodyType: "none",
|
|
20241
20769
|
});
|
|
20242
|
-
|
|
20770
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20771
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
20772
|
+
}
|
|
20773
|
+
else {
|
|
20774
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyClusterTagsResponse({}));
|
|
20775
|
+
}
|
|
20243
20776
|
}
|
|
20244
20777
|
/**
|
|
20245
|
-
* You can add labels in key-value pairs to clusters. This allows cluster developers or O
|
|
20778
|
+
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\\\\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the ModifyClusterTags operation to modify the labels of a cluster.
|
|
20246
20779
|
*
|
|
20247
20780
|
* @param request - ModifyClusterTagsRequest
|
|
20248
20781
|
* @returns ModifyClusterTagsResponse
|
|
@@ -20266,6 +20799,9 @@ class Client extends openapi_core_1.default {
|
|
|
20266
20799
|
async modifyNodePoolNodeConfigWithOptions(ClusterId, NodepoolId, request, headers, runtime) {
|
|
20267
20800
|
request.validate();
|
|
20268
20801
|
let body = {};
|
|
20802
|
+
if (!$dara.isNull(request.containerdConfig)) {
|
|
20803
|
+
body["containerd_config"] = request.containerdConfig;
|
|
20804
|
+
}
|
|
20269
20805
|
if (!$dara.isNull(request.kubeletConfig)) {
|
|
20270
20806
|
body["kubelet_config"] = request.kubeletConfig;
|
|
20271
20807
|
}
|
|
@@ -20290,7 +20826,12 @@ class Client extends openapi_core_1.default {
|
|
|
20290
20826
|
reqBodyType: "json",
|
|
20291
20827
|
bodyType: "json",
|
|
20292
20828
|
});
|
|
20293
|
-
|
|
20829
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20830
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
|
|
20831
|
+
}
|
|
20832
|
+
else {
|
|
20833
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyNodePoolNodeConfigResponse({}));
|
|
20834
|
+
}
|
|
20294
20835
|
}
|
|
20295
20836
|
/**
|
|
20296
20837
|
* Modifies the configuration of a node pool, such as the kubelet configuration and node rolling update configuration. After you modify the node pool configuration, nodes are batch updated and the kubelet on each node is restarted. This may adversely affect the nodes and workloads. We recommend that you perform this operation during off-peak hours.
|
|
@@ -20344,7 +20885,12 @@ class Client extends openapi_core_1.default {
|
|
|
20344
20885
|
reqBodyType: "json",
|
|
20345
20886
|
bodyType: "json",
|
|
20346
20887
|
});
|
|
20347
|
-
|
|
20888
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20889
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
20890
|
+
}
|
|
20891
|
+
else {
|
|
20892
|
+
return $dara.cast(await this.execute(params, req, runtime), new ModifyPolicyInstanceResponse({}));
|
|
20893
|
+
}
|
|
20348
20894
|
}
|
|
20349
20895
|
/**
|
|
20350
20896
|
* 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.
|
|
@@ -20390,7 +20936,12 @@ class Client extends openapi_core_1.default {
|
|
|
20390
20936
|
reqBodyType: "json",
|
|
20391
20937
|
bodyType: "json",
|
|
20392
20938
|
});
|
|
20393
|
-
|
|
20939
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20940
|
+
return $dara.cast(await this.callApi(params, req, runtime), new OpenAckServiceResponse({}));
|
|
20941
|
+
}
|
|
20942
|
+
else {
|
|
20943
|
+
return $dara.cast(await this.execute(params, req, runtime), new OpenAckServiceResponse({}));
|
|
20944
|
+
}
|
|
20394
20945
|
}
|
|
20395
20946
|
/**
|
|
20396
20947
|
* When you use Container Service for Kubernetes (ACK) for the first time, you must activate ACK by using an Alibaba Cloud account or RAM user with the required permissions and complete ACK authorization.
|
|
@@ -20432,7 +20983,12 @@ class Client extends openapi_core_1.default {
|
|
|
20432
20983
|
reqBodyType: "json",
|
|
20433
20984
|
bodyType: "none",
|
|
20434
20985
|
});
|
|
20435
|
-
|
|
20986
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
20987
|
+
return $dara.cast(await this.callApi(params, req, runtime), new PauseClusterUpgradeResponse({}));
|
|
20988
|
+
}
|
|
20989
|
+
else {
|
|
20990
|
+
return $dara.cast(await this.execute(params, req, runtime), new PauseClusterUpgradeResponse({}));
|
|
20991
|
+
}
|
|
20436
20992
|
}
|
|
20437
20993
|
/**
|
|
20438
20994
|
* You can call the PauseClusterUpgrade operation to pause the update of a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -20471,7 +21027,12 @@ class Client extends openapi_core_1.default {
|
|
|
20471
21027
|
reqBodyType: "json",
|
|
20472
21028
|
bodyType: "none",
|
|
20473
21029
|
});
|
|
20474
|
-
|
|
21030
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21031
|
+
return $dara.cast(await this.callApi(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
21032
|
+
}
|
|
21033
|
+
else {
|
|
21034
|
+
return $dara.cast(await this.execute(params, req, runtime), new PauseComponentUpgradeResponse({}));
|
|
21035
|
+
}
|
|
20475
21036
|
}
|
|
20476
21037
|
/**
|
|
20477
21038
|
* You can call the PauseComponentUpgrade operation to pause the update of a component.
|
|
@@ -20507,7 +21068,12 @@ class Client extends openapi_core_1.default {
|
|
|
20507
21068
|
reqBodyType: "json",
|
|
20508
21069
|
bodyType: "none",
|
|
20509
21070
|
});
|
|
20510
|
-
|
|
21071
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21072
|
+
return $dara.cast(await this.callApi(params, req, runtime), new PauseTaskResponse({}));
|
|
21073
|
+
}
|
|
21074
|
+
else {
|
|
21075
|
+
return $dara.cast(await this.execute(params, req, runtime), new PauseTaskResponse({}));
|
|
21076
|
+
}
|
|
20511
21077
|
}
|
|
20512
21078
|
/**
|
|
20513
21079
|
* Pauses an on-going task.
|
|
@@ -20563,7 +21129,12 @@ class Client extends openapi_core_1.default {
|
|
|
20563
21129
|
reqBodyType: "json",
|
|
20564
21130
|
bodyType: "none",
|
|
20565
21131
|
});
|
|
20566
|
-
|
|
21132
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21133
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RemoveClusterNodesResponse({}));
|
|
21134
|
+
}
|
|
21135
|
+
else {
|
|
21136
|
+
return $dara.cast(await this.execute(params, req, runtime), new RemoveClusterNodesResponse({}));
|
|
21137
|
+
}
|
|
20567
21138
|
}
|
|
20568
21139
|
/**
|
|
20569
21140
|
* You can call the RemoveClusterNodes operation to remove nodes from a Container Service for Kubernetes (ACK) cluster.
|
|
@@ -20642,7 +21213,12 @@ class Client extends openapi_core_1.default {
|
|
|
20642
21213
|
reqBodyType: "json",
|
|
20643
21214
|
bodyType: "json",
|
|
20644
21215
|
});
|
|
20645
|
-
|
|
21216
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21217
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RemoveNodePoolNodesResponse({}));
|
|
21218
|
+
}
|
|
21219
|
+
else {
|
|
21220
|
+
return $dara.cast(await this.execute(params, req, runtime), new RemoveNodePoolNodesResponse({}));
|
|
21221
|
+
}
|
|
20646
21222
|
}
|
|
20647
21223
|
/**
|
|
20648
21224
|
* Removes nodes from a node pool.
|
|
@@ -20697,7 +21273,12 @@ class Client extends openapi_core_1.default {
|
|
|
20697
21273
|
reqBodyType: "json",
|
|
20698
21274
|
bodyType: "json",
|
|
20699
21275
|
});
|
|
20700
|
-
|
|
21276
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21277
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
21278
|
+
}
|
|
21279
|
+
else {
|
|
21280
|
+
return $dara.cast(await this.execute(params, req, runtime), new RepairClusterNodePoolResponse({}));
|
|
21281
|
+
}
|
|
20701
21282
|
}
|
|
20702
21283
|
/**
|
|
20703
21284
|
* Repairs a node pool.
|
|
@@ -20735,7 +21316,12 @@ class Client extends openapi_core_1.default {
|
|
|
20735
21316
|
reqBodyType: "json",
|
|
20736
21317
|
bodyType: "none",
|
|
20737
21318
|
});
|
|
20738
|
-
|
|
21319
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21320
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
21321
|
+
}
|
|
21322
|
+
else {
|
|
21323
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResumeComponentUpgradeResponse({}));
|
|
21324
|
+
}
|
|
20739
21325
|
}
|
|
20740
21326
|
/**
|
|
20741
21327
|
* You can call the ResumeComponentUpgrade operation to resume the update of a component.
|
|
@@ -20771,7 +21357,12 @@ class Client extends openapi_core_1.default {
|
|
|
20771
21357
|
reqBodyType: "json",
|
|
20772
21358
|
bodyType: "none",
|
|
20773
21359
|
});
|
|
20774
|
-
|
|
21360
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21361
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResumeTaskResponse({}));
|
|
21362
|
+
}
|
|
21363
|
+
else {
|
|
21364
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResumeTaskResponse({}));
|
|
21365
|
+
}
|
|
20775
21366
|
}
|
|
20776
21367
|
/**
|
|
20777
21368
|
* Resumes a task.
|
|
@@ -20807,7 +21398,12 @@ class Client extends openapi_core_1.default {
|
|
|
20807
21398
|
reqBodyType: "json",
|
|
20808
21399
|
bodyType: "none",
|
|
20809
21400
|
});
|
|
20810
|
-
|
|
21401
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21402
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ResumeUpgradeClusterResponse({}));
|
|
21403
|
+
}
|
|
21404
|
+
else {
|
|
21405
|
+
return $dara.cast(await this.execute(params, req, runtime), new ResumeUpgradeClusterResponse({}));
|
|
21406
|
+
}
|
|
20811
21407
|
}
|
|
20812
21408
|
/**
|
|
20813
21409
|
* You can call the ResumeUpgradeCluster operation to resume the update of a cluster by cluster ID.
|
|
@@ -20843,7 +21439,12 @@ class Client extends openapi_core_1.default {
|
|
|
20843
21439
|
reqBodyType: "json",
|
|
20844
21440
|
bodyType: "json",
|
|
20845
21441
|
});
|
|
20846
|
-
|
|
21442
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21443
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
|
|
21444
|
+
}
|
|
21445
|
+
else {
|
|
21446
|
+
return $dara.cast(await this.execute(params, req, runtime), new RevokeK8sClusterKubeConfigResponse({}));
|
|
21447
|
+
}
|
|
20847
21448
|
}
|
|
20848
21449
|
/**
|
|
20849
21450
|
* You can call the RevokeK8sClusterKubeConfig operation to revoke the kubeconfig file of a cluster that belongs to the current Alibaba Cloud account or RAM user. After the kubeconfig file is revoked, the cluster generates a new kubeconfig file, and the original kubeconfig file becomes invalid.
|
|
@@ -20889,7 +21490,12 @@ class Client extends openapi_core_1.default {
|
|
|
20889
21490
|
reqBodyType: "json",
|
|
20890
21491
|
bodyType: "json",
|
|
20891
21492
|
});
|
|
20892
|
-
|
|
21493
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21494
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunClusterCheckResponse({}));
|
|
21495
|
+
}
|
|
21496
|
+
else {
|
|
21497
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunClusterCheckResponse({}));
|
|
21498
|
+
}
|
|
20893
21499
|
}
|
|
20894
21500
|
/**
|
|
20895
21501
|
* Container Intelligence Service (CIS) provides a variety of cluster check capabilities to allow you to perform cluster update check, cluster migration check, component installation check, component update check, and node pool check. A precheck is automatically triggered before an update, migration, or installation is performed. You can perform changes only if the cluster passes the precheck. You can also manually call the RunClusterCheck operation to initiate cluster checks. We recommend that you periodically check and maintain your cluster to mitigate potential risks.
|
|
@@ -20988,7 +21594,12 @@ class Client extends openapi_core_1.default {
|
|
|
20988
21594
|
reqBodyType: "json",
|
|
20989
21595
|
bodyType: "json",
|
|
20990
21596
|
});
|
|
20991
|
-
|
|
21597
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21598
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ScaleClusterResponse({}));
|
|
21599
|
+
}
|
|
21600
|
+
else {
|
|
21601
|
+
return $dara.cast(await this.execute(params, req, runtime), new ScaleClusterResponse({}));
|
|
21602
|
+
}
|
|
20992
21603
|
}
|
|
20993
21604
|
/**
|
|
20994
21605
|
* 扩容Kubernetes集群
|
|
@@ -21033,7 +21644,12 @@ class Client extends openapi_core_1.default {
|
|
|
21033
21644
|
reqBodyType: "json",
|
|
21034
21645
|
bodyType: "json",
|
|
21035
21646
|
});
|
|
21036
|
-
|
|
21647
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21648
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
21649
|
+
}
|
|
21650
|
+
else {
|
|
21651
|
+
return $dara.cast(await this.execute(params, req, runtime), new ScaleClusterNodePoolResponse({}));
|
|
21652
|
+
}
|
|
21037
21653
|
}
|
|
21038
21654
|
/**
|
|
21039
21655
|
* Scales out a node pool.
|
|
@@ -21139,7 +21755,12 @@ class Client extends openapi_core_1.default {
|
|
|
21139
21755
|
reqBodyType: "json",
|
|
21140
21756
|
bodyType: "json",
|
|
21141
21757
|
});
|
|
21142
|
-
|
|
21758
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21759
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ScaleOutClusterResponse({}));
|
|
21760
|
+
}
|
|
21761
|
+
else {
|
|
21762
|
+
return $dara.cast(await this.execute(params, req, runtime), new ScaleOutClusterResponse({}));
|
|
21763
|
+
}
|
|
21143
21764
|
}
|
|
21144
21765
|
/**
|
|
21145
21766
|
* You can call the ScaleOutCluster operation to scale out a cluster by cluster ID.
|
|
@@ -21178,7 +21799,12 @@ class Client extends openapi_core_1.default {
|
|
|
21178
21799
|
reqBodyType: "json",
|
|
21179
21800
|
bodyType: "json",
|
|
21180
21801
|
});
|
|
21181
|
-
|
|
21802
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21803
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
21804
|
+
}
|
|
21805
|
+
else {
|
|
21806
|
+
return $dara.cast(await this.execute(params, req, runtime), new ScanClusterVulsResponse({}));
|
|
21807
|
+
}
|
|
21182
21808
|
}
|
|
21183
21809
|
/**
|
|
21184
21810
|
* Scans for vulnerabilities in a Container Service for Kubernetes (ACK) cluster, including workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows vulnerabilities. We recommend that you scan your cluster on a regular basis to ensure cluster security.
|
|
@@ -21190,6 +21816,8 @@ class Client extends openapi_core_1.default {
|
|
|
21190
21816
|
return await this.scanClusterVulsWithOptions(clusterId, headers, runtime);
|
|
21191
21817
|
}
|
|
21192
21818
|
/**
|
|
21819
|
+
* 启用告警
|
|
21820
|
+
*
|
|
21193
21821
|
* @param request - StartAlertRequest
|
|
21194
21822
|
* @param headers - map
|
|
21195
21823
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21219,9 +21847,16 @@ class Client extends openapi_core_1.default {
|
|
|
21219
21847
|
reqBodyType: "json",
|
|
21220
21848
|
bodyType: "json",
|
|
21221
21849
|
});
|
|
21222
|
-
|
|
21850
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21851
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StartAlertResponse({}));
|
|
21852
|
+
}
|
|
21853
|
+
else {
|
|
21854
|
+
return $dara.cast(await this.execute(params, req, runtime), new StartAlertResponse({}));
|
|
21855
|
+
}
|
|
21223
21856
|
}
|
|
21224
21857
|
/**
|
|
21858
|
+
* 启用告警
|
|
21859
|
+
*
|
|
21225
21860
|
* @param request - StartAlertRequest
|
|
21226
21861
|
* @returns StartAlertResponse
|
|
21227
21862
|
*/
|
|
@@ -21262,7 +21897,12 @@ class Client extends openapi_core_1.default {
|
|
|
21262
21897
|
reqBodyType: "json",
|
|
21263
21898
|
bodyType: "json",
|
|
21264
21899
|
});
|
|
21265
|
-
|
|
21900
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21901
|
+
return $dara.cast(await this.callApi(params, req, runtime), new StopAlertResponse({}));
|
|
21902
|
+
}
|
|
21903
|
+
else {
|
|
21904
|
+
return $dara.cast(await this.execute(params, req, runtime), new StopAlertResponse({}));
|
|
21905
|
+
}
|
|
21266
21906
|
}
|
|
21267
21907
|
/**
|
|
21268
21908
|
* You can call the StopAlert operation to disable an alert rule or an alert rule set in the alert center of Container Service for Kubernetes (ACK).
|
|
@@ -21297,7 +21937,12 @@ class Client extends openapi_core_1.default {
|
|
|
21297
21937
|
reqBodyType: "json",
|
|
21298
21938
|
bodyType: "json",
|
|
21299
21939
|
});
|
|
21300
|
-
|
|
21940
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21941
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
21942
|
+
}
|
|
21943
|
+
else {
|
|
21944
|
+
return $dara.cast(await this.execute(params, req, runtime), new SyncClusterNodePoolResponse({}));
|
|
21945
|
+
}
|
|
21301
21946
|
}
|
|
21302
21947
|
/**
|
|
21303
21948
|
* Synchronizes the information about a node pool, including the metadata and node information of the node pool.
|
|
@@ -21346,7 +21991,12 @@ class Client extends openapi_core_1.default {
|
|
|
21346
21991
|
reqBodyType: "json",
|
|
21347
21992
|
bodyType: "json",
|
|
21348
21993
|
});
|
|
21349
|
-
|
|
21994
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
21995
|
+
return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
21996
|
+
}
|
|
21997
|
+
else {
|
|
21998
|
+
return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
|
|
21999
|
+
}
|
|
21350
22000
|
}
|
|
21351
22001
|
/**
|
|
21352
22002
|
* You can add labels in key-value pairs to clusters. This allows cluster developers or O\\&M engineers to classify and manage clusters in a more flexible manner. This also meets the requirements for monitoring, cost analysis, and tenant isolation. You can call the TagResources operation to add labels to a cluster.
|
|
@@ -21384,7 +22034,12 @@ class Client extends openapi_core_1.default {
|
|
|
21384
22034
|
reqBodyType: "json",
|
|
21385
22035
|
bodyType: "json",
|
|
21386
22036
|
});
|
|
21387
|
-
|
|
22037
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22038
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
22039
|
+
}
|
|
22040
|
+
else {
|
|
22041
|
+
return $dara.cast(await this.execute(params, req, runtime), new UnInstallClusterAddonsResponse({}));
|
|
22042
|
+
}
|
|
21388
22043
|
}
|
|
21389
22044
|
/**
|
|
21390
22045
|
* 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.
|
|
@@ -21446,7 +22101,12 @@ class Client extends openapi_core_1.default {
|
|
|
21446
22101
|
reqBodyType: "json",
|
|
21447
22102
|
bodyType: "json",
|
|
21448
22103
|
});
|
|
21449
|
-
|
|
22104
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22105
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
22106
|
+
}
|
|
22107
|
+
else {
|
|
22108
|
+
return $dara.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
|
|
22109
|
+
}
|
|
21450
22110
|
}
|
|
21451
22111
|
/**
|
|
21452
22112
|
* If you no longer need the labels (key-value pairs) of a cluster, you can call the UntagResources operation to delete the labels.
|
|
@@ -21494,7 +22154,12 @@ class Client extends openapi_core_1.default {
|
|
|
21494
22154
|
reqBodyType: "json",
|
|
21495
22155
|
bodyType: "json",
|
|
21496
22156
|
});
|
|
21497
|
-
|
|
22157
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22158
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateClusterAuditLogConfigResponse({}));
|
|
22159
|
+
}
|
|
22160
|
+
else {
|
|
22161
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateClusterAuditLogConfigResponse({}));
|
|
22162
|
+
}
|
|
21498
22163
|
}
|
|
21499
22164
|
/**
|
|
21500
22165
|
* You can call the UpdateClusterAuditLogConfig operation to enable or disable the audit log feature in a Container Service for Kubernetes (ACK) cluster and update the audit log configuration. This operation also allows you to record requests to the Kubernetes API and the responses, which can be used to trace cluster operation history and troubleshoot cluster issues.
|
|
@@ -21548,7 +22213,12 @@ class Client extends openapi_core_1.default {
|
|
|
21548
22213
|
reqBodyType: "json",
|
|
21549
22214
|
bodyType: "json",
|
|
21550
22215
|
});
|
|
21551
|
-
|
|
22216
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22217
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
22218
|
+
}
|
|
22219
|
+
else {
|
|
22220
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateContactGroupForAlertResponse({}));
|
|
22221
|
+
}
|
|
21552
22222
|
}
|
|
21553
22223
|
/**
|
|
21554
22224
|
* null
|
|
@@ -21599,7 +22269,12 @@ class Client extends openapi_core_1.default {
|
|
|
21599
22269
|
reqBodyType: "json",
|
|
21600
22270
|
bodyType: "json",
|
|
21601
22271
|
});
|
|
21602
|
-
|
|
22272
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22273
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
22274
|
+
}
|
|
22275
|
+
else {
|
|
22276
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateControlPlaneLogResponse({}));
|
|
22277
|
+
}
|
|
21603
22278
|
}
|
|
21604
22279
|
/**
|
|
21605
22280
|
* Modifies the log configurations of control plane components. The configurations include the log retention period and components whose logs that you want to collect. Container Service for Kubernetes (ACK) managed clusters can collect the logs of control plane components and deliver the logs to projects in Simple Log Service. These control plane components include Kube-apiserver, kube-scheduler, Kubernetes controller manager, and cloud controller manager (CCM).
|
|
@@ -21648,7 +22323,12 @@ class Client extends openapi_core_1.default {
|
|
|
21648
22323
|
reqBodyType: "json",
|
|
21649
22324
|
bodyType: "none",
|
|
21650
22325
|
});
|
|
21651
|
-
|
|
22326
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22327
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
|
|
22328
|
+
}
|
|
22329
|
+
else {
|
|
22330
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateK8sClusterUserConfigExpireResponse({}));
|
|
22331
|
+
}
|
|
21652
22332
|
}
|
|
21653
22333
|
/**
|
|
21654
22334
|
* Sets the validity period of a kubeconfig file used by a Resource Access Management (RAM) user or RAM role to connect to a Container Service for Kubernetes (ACK) cluster. The validity period ranges from 1 to 876,000 hours. You can call this API operation when you customize configurations by using an Alibaba Cloud account. The default validity period of a kubeconfig file is three years.
|
|
@@ -21703,7 +22383,12 @@ class Client extends openapi_core_1.default {
|
|
|
21703
22383
|
reqBodyType: "json",
|
|
21704
22384
|
bodyType: "json",
|
|
21705
22385
|
});
|
|
21706
|
-
|
|
22386
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22387
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
|
|
22388
|
+
}
|
|
22389
|
+
else {
|
|
22390
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateResourcesDeleteProtectionResponse({}));
|
|
22391
|
+
}
|
|
21707
22392
|
}
|
|
21708
22393
|
/**
|
|
21709
22394
|
* Updates the deletion protection status of the specified resources. You can enable or disable deletion protection for namespaces and Services.
|
|
@@ -21757,7 +22442,12 @@ class Client extends openapi_core_1.default {
|
|
|
21757
22442
|
reqBodyType: "json",
|
|
21758
22443
|
bodyType: "none",
|
|
21759
22444
|
});
|
|
21760
|
-
|
|
22445
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22446
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateTemplateResponse({}));
|
|
22447
|
+
}
|
|
22448
|
+
else {
|
|
22449
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateTemplateResponse({}));
|
|
22450
|
+
}
|
|
21761
22451
|
}
|
|
21762
22452
|
/**
|
|
21763
22453
|
* 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.
|
|
@@ -21804,7 +22494,12 @@ class Client extends openapi_core_1.default {
|
|
|
21804
22494
|
reqBodyType: "json",
|
|
21805
22495
|
bodyType: "none",
|
|
21806
22496
|
});
|
|
21807
|
-
|
|
22497
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22498
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
22499
|
+
}
|
|
22500
|
+
else {
|
|
22501
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateUserPermissionsResponse({}));
|
|
22502
|
+
}
|
|
21808
22503
|
}
|
|
21809
22504
|
/**
|
|
21810
22505
|
* 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.
|
|
@@ -21869,7 +22564,12 @@ class Client extends openapi_core_1.default {
|
|
|
21869
22564
|
reqBodyType: "json",
|
|
21870
22565
|
bodyType: "json",
|
|
21871
22566
|
});
|
|
21872
|
-
|
|
22567
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22568
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpgradeClusterResponse({}));
|
|
22569
|
+
}
|
|
22570
|
+
else {
|
|
22571
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpgradeClusterResponse({}));
|
|
22572
|
+
}
|
|
21873
22573
|
}
|
|
21874
22574
|
/**
|
|
21875
22575
|
* You can call the UpgradeCluster operation to upgrade a cluster by cluster ID.
|
|
@@ -21914,7 +22614,12 @@ class Client extends openapi_core_1.default {
|
|
|
21914
22614
|
reqBodyType: "json",
|
|
21915
22615
|
bodyType: "json",
|
|
21916
22616
|
});
|
|
21917
|
-
|
|
22617
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22618
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
22619
|
+
}
|
|
22620
|
+
else {
|
|
22621
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpgradeClusterAddonsResponse({}));
|
|
22622
|
+
}
|
|
21918
22623
|
}
|
|
21919
22624
|
/**
|
|
21920
22625
|
* Updates cluster components to use new features and patch vulnerabilities. You must update cluster components one after one and update a component only after the previous one is successfully updated. Before you update a component, we recommend that you read the update notes for each component. Cluster component updates may affect your businesses. Assess the impact, back up data, and perform the update during off-peak hours.
|
|
@@ -21977,7 +22682,12 @@ class Client extends openapi_core_1.default {
|
|
|
21977
22682
|
reqBodyType: "json",
|
|
21978
22683
|
bodyType: "json",
|
|
21979
22684
|
});
|
|
21980
|
-
|
|
22685
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
22686
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
|
|
22687
|
+
}
|
|
22688
|
+
else {
|
|
22689
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpgradeClusterNodepoolResponse({}));
|
|
22690
|
+
}
|
|
21981
22691
|
}
|
|
21982
22692
|
/**
|
|
21983
22693
|
* You can call the UpgradeClusterNodepool operation to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|