Interface OperationStatuses


public interface OperationStatuses
Resource collection API of OperationStatuses.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String location, String asyncOperationId)
    Get the status of a long running azure asynchronous operation.
    com.azure.core.http.rest.Response<OperationStatus>
    getWithResponse(String location, String asyncOperationId, com.azure.core.util.Context context)
    Get the status of a long running azure asynchronous operation.
  • Method Details

    • get

      OperationStatus get(String location, String asyncOperationId)
      Get the status of a long running azure asynchronous operation.
      Parameters:
      location - The region name of operation.
      asyncOperationId - The operation Id.
      Returns:
      the status of a long running azure asynchronous 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.
    • getWithResponse

      com.azure.core.http.rest.Response<OperationStatus> getWithResponse(String location, String asyncOperationId, com.azure.core.util.Context context)
      Get the status of a long running azure asynchronous operation.
      Parameters:
      location - The region name of operation.
      asyncOperationId - The operation Id.
      context - The context to associate with this operation.
      Returns:
      the status of a long running azure asynchronous 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.