Interface AsyncOperationStatusClient


public interface AsyncOperationStatusClient
An instance of this class provides access to all the operations defined in AsyncOperationStatusClient.
  • Method Details

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<OperationStatusInner>> 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAsync

      Mono<OperationStatusInner> 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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<OperationStatusInner> getWithResponse(String location, String operationId, com.azure.core.util.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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.