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

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

There is a newer version: 5.0.6
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.bpstudio20210931;

import com.aliyun.core.utils.SdkAutoCloseable;
import com.aliyun.sdk.service.bpstudio20210931.models.*;
import darabonba.core.*;
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();
    }

    /**
      * You can call this operation to switch a disaster recovery application back to the primary zone.
      *
     */
    CompletableFuture appFailBack(AppFailBackRequest request);

    /**
      * You can call this operation to switch a disaster recovery application to another supported zone.
      *
     */
    CompletableFuture appFailOver(AppFailOverRequest request);

    CompletableFuture changeResourceGroup(ChangeResourceGroupRequest request);

    CompletableFuture createApplication(CreateApplicationRequest request);

    /**
      * Before you call this operation to delete an application, make sure that the application is in the `Destroyed_Success` state. Otherwise, the application fails to be deleted.`` You can call the [GetApplication](https://www.alibabacloud.com/help/en/bp-studio/latest/api-bpstudio-2021-09-31-getapplication) operation to query the status of an application.
      *
     */
    CompletableFuture deleteApplication(DeleteApplicationRequest request);

    CompletableFuture deployApplication(DeployApplicationRequest request);

    CompletableFuture executeOperationASync(ExecuteOperationASyncRequest request);

    CompletableFuture executeOperationSync(ExecuteOperationSyncRequest request);

    CompletableFuture getApplication(GetApplicationRequest request);

    CompletableFuture getApplicationVariables(GetApplicationVariablesRequest request);

    CompletableFuture getApplicationVariables4Fail(GetApplicationVariables4FailRequest request);

    CompletableFuture getExecuteOperationResult(GetExecuteOperationResultRequest request);

    /**
      * You can call this operation to query the status of a disaster recovery switchover task by task ID.
      *
     */
    CompletableFuture getFoTaskStatus(GetFoTaskStatusRequest request);

    /**
      * You can call this operation to query the zones where the specified disaster recovery service can be switched.
      *
     */
    CompletableFuture getPotentialFailZones(GetPotentialFailZonesRequest request);

    CompletableFuture getTemplate(GetTemplateRequest request);

    /**
      * @deprecated
      * > This API is no longer recommended, and the image related to the Application has included access authorization in the GetApplication property.>
      *
     */
    CompletableFuture getToken(GetTokenRequest request);

    /**
      * You can call this operation to prepare for application switchover and initiate a switchover task.
      *
     */
    CompletableFuture initAppFailOver(InitAppFailOverRequest request);

    CompletableFuture listApplication(ListApplicationRequest request);

    /**
      * You can call this operation to query all disaster recovery plans.
      *
     */
    CompletableFuture listFoCreatedApps(ListFoCreatedAppsRequest request);

    CompletableFuture listTagResources(ListTagResourcesRequest request);

    CompletableFuture listTemplate(ListTemplateRequest request);

    CompletableFuture reConfigApplication(ReConfigApplicationRequest request);

    CompletableFuture releaseApplication(ReleaseApplicationRequest request);

    CompletableFuture validateApplication(ValidateApplicationRequest request);

    CompletableFuture valuateApplication(ValuateApplicationRequest request);

    CompletableFuture valuateTemplate(ValuateTemplateRequest request);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy