Interface OperationStatus


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

    Modifier and Type
    Method
    Description
    get(String location, String operationId)
    Gets the operation status for a resource.
    com.azure.core.http.rest.Response<OperationResource>
    getWithResponse(String location, String operationId, com.azure.core.util.Context context)
    Gets the operation status for a resource.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<OperationResource> getWithResponse(String location, String operationId, com.azure.core.util.Context context)
      Gets the operation status for a resource.
      Parameters:
      location - The location parameter.
      operationId - The operationId parameter.
      context - The context to associate with this operation.
      Returns:
      the operation status for a resource 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

      OperationResource get(String location, String operationId)
      Gets the operation status for a resource.
      Parameters:
      location - The location parameter.
      operationId - The operationId parameter.
      Returns:
      the operation status for a resource.
      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.