All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.edas20170801.AsyncClient Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.edas20170801;

import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.edas20170801.models.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;

import java.util.concurrent.CompletableFuture;

public interface AsyncClient extends SdkAutoCloseable {

    static DefaultAsyncClientBuilder builder() {
        return new DefaultAsyncClientBuilder();
    }

    static AsyncClient create() {
        return builder().build();
    }

    CompletableFuture abortAndRollbackChangeOrder(AbortAndRollbackChangeOrderRequest request);

    CompletableFuture abortChangeOrder(AbortChangeOrderRequest request);

    CompletableFuture addLogPath(AddLogPathRequest request);

    CompletableFuture authorizeApplication(AuthorizeApplicationRequest request);

    CompletableFuture authorizeResourceGroup(AuthorizeResourceGroupRequest request);

    CompletableFuture authorizeRole(AuthorizeRoleRequest request);

    CompletableFuture bindEcsSlb(BindEcsSlbRequest request);

    CompletableFuture bindK8sSlb(BindK8sSlbRequest request);

    CompletableFuture bindSlb(BindSlbRequest request);

    CompletableFuture changeDeployGroup(ChangeDeployGroupRequest request);

    CompletableFuture continuePipeline(ContinuePipelineRequest request);

    CompletableFuture convertK8sResource(ConvertK8sResourceRequest request);

    CompletableFuture createApplicationScalingRule(CreateApplicationScalingRuleRequest request);

    CompletableFuture createConfigTemplate(CreateConfigTemplateRequest request);

    /**
      * ## Description
      * You must call the CreateIDCImportCommand operation first to generate a command used to import hybrid cloud ECS instances to a hybrid cloud ECS cluster. Then, run this command on the instances to import the instances to the cluster.
      *
     */
    CompletableFuture createIDCImportCommand(CreateIDCImportCommandRequest request);

    CompletableFuture createK8sConfigMap(CreateK8sConfigMapRequest request);

    CompletableFuture createK8sIngressRule(CreateK8sIngressRuleRequest request);

    CompletableFuture createK8sSecret(CreateK8sSecretRequest request);

    CompletableFuture createK8sService(CreateK8sServiceRequest request);

    CompletableFuture deleteApplication(DeleteApplicationRequest request);

    CompletableFuture deleteApplicationScalingRule(DeleteApplicationScalingRuleRequest request);

    CompletableFuture deleteCluster(DeleteClusterRequest request);

    CompletableFuture deleteClusterMember(DeleteClusterMemberRequest request);

    CompletableFuture deleteConfigTemplate(DeleteConfigTemplateRequest request);

    CompletableFuture deleteDeployGroup(DeleteDeployGroupRequest request);

    CompletableFuture deleteEcu(DeleteEcuRequest request);

    CompletableFuture deleteK8sApplication(DeleteK8sApplicationRequest request);

    CompletableFuture deleteK8sConfigMap(DeleteK8sConfigMapRequest request);

    CompletableFuture deleteK8sIngressRule(DeleteK8sIngressRuleRequest request);

    CompletableFuture deleteK8sSecret(DeleteK8sSecretRequest request);

    CompletableFuture deleteK8sService(DeleteK8sServiceRequest request);

    CompletableFuture deleteLogPath(DeleteLogPathRequest request);

    CompletableFuture deleteRole(DeleteRoleRequest request);

    CompletableFuture deleteServiceGroup(DeleteServiceGroupRequest request);

    CompletableFuture deleteSwimmingLane(DeleteSwimmingLaneRequest request);

    CompletableFuture deleteUserDefineRegion(DeleteUserDefineRegionRequest request);

    /**
      * > To deploy an application in a Container Service for Kubernetes (ACK) cluster that is imported into Enterprise Distributed Application Service (EDAS), call the DeployK8sApplication operation provided by EDAS. For more information, see [](~~149420~~)DeployK8sApplication.
      *
     */
    CompletableFuture deployApplication(DeployApplicationRequest request);

    CompletableFuture deployK8sApplication(DeployK8sApplicationRequest request);

    CompletableFuture describeAppInstanceList(DescribeAppInstanceListRequest request);

    CompletableFuture describeApplicationScalingRules(DescribeApplicationScalingRulesRequest request);

    CompletableFuture disableApplicationScalingRule(DisableApplicationScalingRuleRequest request);

    CompletableFuture enableApplicationScalingRule(EnableApplicationScalingRuleRequest request);

    CompletableFuture getAppDeployment(GetAppDeploymentRequest request);

    CompletableFuture getApplication(GetApplicationRequest request);

    CompletableFuture getChangeOrderInfo(GetChangeOrderInfoRequest request);

    CompletableFuture getCluster(GetClusterRequest request);

    CompletableFuture getContainerConfiguration(GetContainerConfigurationRequest request);

    CompletableFuture getJavaStartUpConfig(GetJavaStartUpConfigRequest request);

    CompletableFuture getJvmConfiguration(GetJvmConfigurationRequest request);

    CompletableFuture getK8sAppPrecheckResult(GetK8sAppPrecheckResultRequest request);

    CompletableFuture getK8sApplication(GetK8sApplicationRequest request);

    CompletableFuture getK8sCluster(GetK8sClusterRequest request);

    CompletableFuture getK8sServices(GetK8sServicesRequest request);

    CompletableFuture getPackageStorageCredential(GetPackageStorageCredentialRequest request);

    CompletableFuture getScalingRules(GetScalingRulesRequest request);

    CompletableFuture getSecureToken(GetSecureTokenRequest request);

    CompletableFuture getServiceConsumersPage(GetServiceConsumersPageRequest request);

    CompletableFuture getServiceDetail(GetServiceDetailRequest request);

    CompletableFuture getServiceListPage(GetServiceListPageRequest request);

    CompletableFuture getServiceMethodPage(GetServiceMethodPageRequest request);

    CompletableFuture getServiceProvidersPage(GetServiceProvidersPageRequest request);

    /**
      * ***
      *
     */
    CompletableFuture getWebContainerConfig(GetWebContainerConfigRequest request);

    CompletableFuture importK8sCluster(ImportK8sClusterRequest request);

    /**
      * > To create an application in a Kubernetes cluster, call the InsertK8sApplication operation provided by Enterprise Distributed Application Service (EDAS).
      *
     */
    CompletableFuture insertApplication(InsertApplicationRequest request);

    CompletableFuture insertCluster(InsertClusterRequest request);

    /**
      * ##
      * If you call this operation to import an ECS instance, the operating system of the ECS instance is reinstalled. After the operating system is reinstalled, all original data of the ECS instance is deleted. In addition, you must set a logon password for the ECS instance. Make sure that no important data exists on the ECS instance that you want to import or data has been backed up for the ECS instance.
      * > We recommend that you call the InstallAgent operation instead of this operation. For more information, see [InstallAgent](~~127023~~).
      *
     */
    CompletableFuture insertClusterMember(InsertClusterMemberRequest request);

    CompletableFuture insertDeployGroup(InsertDeployGroupRequest request);

    CompletableFuture insertK8sApplication(InsertK8sApplicationRequest request);

    CompletableFuture insertOrUpdateRegion(InsertOrUpdateRegionRequest request);

    CompletableFuture insertRole(InsertRoleRequest request);

    CompletableFuture insertServiceGroup(InsertServiceGroupRequest request);

    CompletableFuture insertSwimmingLane(InsertSwimmingLaneRequest request);

    CompletableFuture insertSwimmingLaneGroup(InsertSwimmingLaneGroupRequest request);

    /**
      * If you call this operation to import an ECS instance into EDAS, the operating system of the ECS instance is not reinstalled. We recommend that you call this operation to import ECS instances into EDAS.
      *
     */
    CompletableFuture installAgent(InstallAgentRequest request);

    CompletableFuture listAliyunRegion(ListAliyunRegionRequest request);

    CompletableFuture listApplication(ListApplicationRequest request);

    CompletableFuture listApplicationEcu(ListApplicationEcuRequest request);

    CompletableFuture listAuthority(ListAuthorityRequest request);

    CompletableFuture listBuildPack(ListBuildPackRequest request);

    CompletableFuture listCluster(ListClusterRequest request);

    CompletableFuture listClusterMembers(ListClusterMembersRequest request);

    CompletableFuture listComponents(ListComponentsRequest request);

    CompletableFuture listConfigTemplates(ListConfigTemplatesRequest request);

    CompletableFuture listConsumedServices(ListConsumedServicesRequest request);

    CompletableFuture listConvertableEcu(ListConvertableEcuRequest request);

    CompletableFuture listDeployGroup(ListDeployGroupRequest request);

    CompletableFuture listEcsNotInCluster(ListEcsNotInClusterRequest request);

    /**
      * ## Terms
      * *   **Namespace**: the logical concept that is used to isolate resources such as clusters, ECS instances, and applications, and microservices published in EDAS. This concept involves the default namespace and custom namespaces. Each region has a default namespace and supports multiple custom namespaces. By default, only the default namespace is available. You do not need to create a custom namespace if you do not want to isolate resources and microservices.
      * *   **Elastic compute unit (ECU)**: After an ECS instance is imported to a cluster, the instance becomes an ECU.
      * *   **Elastic compute container (ECC)**: After you deploy an application to an ECU in a cluster, the ECU becomes an ECC.
      *
     */
    CompletableFuture listEcuByRegion(ListEcuByRegionRequest request);

    CompletableFuture listHistoryDeployVersion(ListHistoryDeployVersionRequest request);

    CompletableFuture listK8sConfigMaps(ListK8sConfigMapsRequest request);

    CompletableFuture listK8sIngressRules(ListK8sIngressRulesRequest request);

    CompletableFuture listK8sNamespaces(ListK8sNamespacesRequest request);

    CompletableFuture listK8sSecrets(ListK8sSecretsRequest request);

    CompletableFuture listMethods(ListMethodsRequest request);

    CompletableFuture listPublishedServices(ListPublishedServicesRequest request);

    CompletableFuture listRecentChangeOrder(ListRecentChangeOrderRequest request);

    CompletableFuture listResourceGroup(ListResourceGroupRequest request);

    CompletableFuture listRole(ListRoleRequest request);

    /**
      * ## Terms
      * *   **Namespace**: the logical concept that is used to isolate resources such as clusters, ECS instances, and applications, and microservices published in EDAS. This concept involves the default namespace and custom namespaces. Each region has a default namespace and supports multiple custom namespaces. By default, only the default namespace is available. You do not need to create a custom namespace if you do not want to isolate resources and microservices.
      * *   **Elastic compute unit (ECU)**: After an ECS instance is imported to a cluster, the instance becomes an ECU.
      * *   **Elastic compute container (ECC)**: After you deploy an application to an ECU in a cluster, the ECU becomes an ECC.
      *
     */
    CompletableFuture listScaleOutEcu(ListScaleOutEcuRequest request);

    CompletableFuture listServiceGroups(ListServiceGroupsRequest request);

    CompletableFuture listSlb(ListSlbRequest request);

    CompletableFuture listSubAccount(ListSubAccountRequest request);

    CompletableFuture listSwimmingLane(ListSwimmingLaneRequest request);

    CompletableFuture listSwimmingLaneGroup(ListSwimmingLaneGroupRequest request);

    CompletableFuture listTagResources(ListTagResourcesRequest request);

    CompletableFuture listUserDefineRegion(ListUserDefineRegionRequest request);

    CompletableFuture listVpc(ListVpcRequest request);

    /**
      * ## Limits
      * We recommend that you do not call this operation. Instead, we recommend that you call the TransformClusterMember operation. For more information, see [TransformClusterMember](~~71514~~).
      * When you call this operation to import an Elastic Compute Service (ECS) instance, the operating system of the ECS instance is reinstalled. After the operating system is reinstalled, all data of the ECS instance is deleted. You must set a logon password for the ECS instance. Make sure that no important data exists on or data has been backed up for the ECS instance that you want to import.
      * ## Terms
      * *   **Namespace**: the logical concept that is used to isolate resources and microservices in Enterprise Distributed Application Service (EDAS). The resources include clusters, ECS instances, and applications. You can use a default or custom namespace. Each region has a default namespace and supports multiple custom namespaces. By default, only the default namespace is available. You do not need to create a custom namespace if you do not want to isolate resources or microservices.
      * *   **ECU**: After an ECS instance is imported to a cluster, the instance becomes an ECU.
      * *   **Elastic compute container (ECC)**: After you deploy an application to an ECU in a cluster, the ECU becomes an ECC.
      *
     */
    CompletableFuture migrateEcu(MigrateEcuRequest request);

    CompletableFuture modifyScalingRule(ModifyScalingRuleRequest request);

    CompletableFuture queryApplicationStatus(QueryApplicationStatusRequest request);

    CompletableFuture queryEccInfo(QueryEccInfoRequest request);

    CompletableFuture queryMigrateEcuList(QueryMigrateEcuListRequest request);

    CompletableFuture queryMigrateRegionList(QueryMigrateRegionListRequest request);

    CompletableFuture queryRegionConfig(QueryRegionConfigRequest request);

    CompletableFuture querySlsLogStoreList(QuerySlsLogStoreListRequest request);

    CompletableFuture resetApplication(ResetApplicationRequest request);

    CompletableFuture restartApplication(RestartApplicationRequest request);

    CompletableFuture restartK8sApplication(RestartK8sApplicationRequest request);

    CompletableFuture retryChangeOrderTask(RetryChangeOrderTaskRequest request);

    CompletableFuture rollbackApplication(RollbackApplicationRequest request);

    CompletableFuture rollbackChangeOrder(RollbackChangeOrderRequest request);

    CompletableFuture scaleInApplication(ScaleInApplicationRequest request);

    CompletableFuture scaleK8sApplication(ScaleK8sApplicationRequest request);

    CompletableFuture scaleOutApplication(ScaleOutApplicationRequest request);

    /**
      * ## Limits
      * Assume that the auto scaling feature is configured and enabled for an application. When an auto scale-in is triggered for the application, the ECS instances that are purchased by calling this operation are removed first.
      *
     */
    CompletableFuture scaleoutApplicationWithNewInstances(ScaleoutApplicationWithNewInstancesRequest request);

    CompletableFuture startApplication(StartApplicationRequest request);

    CompletableFuture startK8sAppPrecheck(StartK8sAppPrecheckRequest request);

    CompletableFuture startK8sApplication(StartK8sApplicationRequest request);

    CompletableFuture stopApplication(StopApplicationRequest request);

    CompletableFuture stopK8sApplication(StopK8sApplicationRequest request);

    /**
      * To call the SwitchAdvancedMonitoring operation, you must make sure that the version of Enterprise Distributed Application Service (EDAS) SDK for Java or Python is 3.15.2 or later.
      *
     */
    CompletableFuture switchAdvancedMonitoring(SwitchAdvancedMonitoringRequest request);

    /**
      * If you call this operation to synchronize ECS resource information, all instance data is synchronized from ECS. If you have more than 100 ECS instances, we recommend that you do not frequently call this operation.
      *
     */
    CompletableFuture synchronizeResource(SynchronizeResourceRequest request);

    CompletableFuture tagResources(TagResourcesRequest request);

    /**
      * ## Limits
      * When you call this operation to import an ECS instance, the operating system of the ECS instance is reinstalled. After the operating system is reinstalled, all data of the ECS instance is deleted. You must set a logon password for the ECS instance. Make sure that no important data exists on or data has been backed up for the ECS instance that you want to import.
      *
     */
    CompletableFuture transformClusterMember(TransformClusterMemberRequest request);

    CompletableFuture unbindK8sSlb(UnbindK8sSlbRequest request);

    CompletableFuture unbindSlb(UnbindSlbRequest request);

    CompletableFuture untagResources(UntagResourcesRequest request);

    CompletableFuture updateAccountInfo(UpdateAccountInfoRequest request);

    CompletableFuture updateApplicationBaseInfo(UpdateApplicationBaseInfoRequest request);

    CompletableFuture updateApplicationScalingRule(UpdateApplicationScalingRuleRequest request);

    CompletableFuture updateConfigTemplate(UpdateConfigTemplateRequest request);

    CompletableFuture updateContainer(UpdateContainerRequest request);

    CompletableFuture updateContainerConfiguration(UpdateContainerConfigurationRequest request);

    CompletableFuture updateHealthCheckUrl(UpdateHealthCheckUrlRequest request);

    CompletableFuture updateHookConfiguration(UpdateHookConfigurationRequest request);

    CompletableFuture updateJvmConfiguration(UpdateJvmConfigurationRequest request);

    CompletableFuture updateK8sApplicationBaseInfo(UpdateK8sApplicationBaseInfoRequest request);

    CompletableFuture updateK8sApplicationConfig(UpdateK8sApplicationConfigRequest request);

    CompletableFuture updateK8sConfigMap(UpdateK8sConfigMapRequest request);

    CompletableFuture updateK8sIngressRule(UpdateK8sIngressRuleRequest request);

    /**
      * > You can update only Deployments.
      *
     */
    CompletableFuture updateK8sResource(UpdateK8sResourceRequest request);

    CompletableFuture updateK8sSecret(UpdateK8sSecretRequest request);

    CompletableFuture updateK8sService(UpdateK8sServiceRequest request);

    CompletableFuture updateK8sSlb(UpdateK8sSlbRequest request);

    CompletableFuture updateRole(UpdateRoleRequest request);

    CompletableFuture updateSlsLogStore(UpdateSlsLogStoreRequest request);

    CompletableFuture updateSwimmingLane(UpdateSwimmingLaneRequest request);

    CompletableFuture updateSwimmingLaneGroup(UpdateSwimmingLaneGroupRequest request);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy