AsyncOperationStatusClient Interface

public interface AsyncOperationStatusClient

An instance of this class provides access to all the operations defined in AsyncOperationStatusClient.

Method Summary

Modifier and Type Method and Description
abstract OperationStatusInner get(String location, String operationId)

For checking the ongoing status of an operation.

abstract Mono<OperationStatusInner> getAsync(String location, String operationId)

For checking the ongoing status of an operation.

abstract Response<OperationStatusInner> getWithResponse(String location, String operationId, Context context)

For checking the ongoing status of an operation.

abstract Mono<Response<OperationStatusInner>> getWithResponseAsync(String location, String operationId)

For checking the ongoing status of an operation.

Method Details

get

public abstract OperationStatusInner get(String location, String operationId)

For checking the ongoing status of an operation.

Parameters:

location - The location at which operation was triggered.
operationId - The ID of asynchronous operation.

Returns:

asynchronous operation status.

getAsync

public abstract Mono getAsync(String location, String operationId)

For checking the ongoing status of an operation.

Parameters:

location - The location at which operation was triggered.
operationId - The ID of asynchronous operation.

Returns:

asynchronous operation status on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String location, String operationId, Context context)

For checking the ongoing status of an operation.

Parameters:

location - The location at which operation was triggered.
operationId - The ID of asynchronous operation.
context - The context to associate with this operation.

Returns:

asynchronous operation status along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String location, String operationId)

For checking the ongoing status of an operation.

Parameters:

location - The location at which operation was triggered.
operationId - The ID of asynchronous operation.

Returns:

asynchronous operation status along with Response<T> on successful completion of Mono.

Applies to