Interface OperationStatusesClient


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

    • getWithResponse

      com.azure.core.http.rest.Response<OperationStatusInner> getWithResponse(String location, String operationId, com.azure.core.util.Context context)
      Get Operation Status

      Gets the current status of an async operation.

      Parameters:
      location - The Azure region.
      operationId - The ID of an ongoing async operation.
      context - The context to associate with this operation.
      Returns:
      the current status of an async operation 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)
      Get Operation Status

      Gets the current status of an async operation.

      Parameters:
      location - The Azure region.
      operationId - The ID of an ongoing async operation.
      Returns:
      the current status of an async operation.
      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.