你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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