OperationStatuses Interface

public interface OperationStatuses

Resource collection API of OperationStatuses.

Method Summary

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

Get the status of a long running azure asynchronous operation.

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

Get the status of a long running azure asynchronous operation.

Method Details

get

public abstract OperationStatusResult get(String location, String operationId)

Get the status of a long running azure asynchronous operation.

Parameters:

location - The name of the Azure region.
operationId - The ID of an ongoing async operation.

Returns:

the status of a long running azure asynchronous operation.

getWithResponse

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

Get the status of a long running azure asynchronous operation.

Parameters:

location - The name of the Azure region.
operationId - The ID of an ongoing async operation.
context - The context to associate with this operation.

Returns:

the status of a long running azure asynchronous operation along with Response<T>.

Applies to