Interface OperationResults


public interface OperationResults
Resource collection API of OperationResults.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<OperationJobExtendedInfo> getWithResponse(String operationId, String location, com.azure.core.util.Context context)
      Gets the operation status for a resource.

      Gets the operation result for a resource.

      Parameters:
      operationId - The operationId parameter.
      location - The location parameter.
      context - The context to associate with this operation.
      Returns:
      the operation result 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.
    • get

      OperationJobExtendedInfo get(String operationId, String location)
      Gets the operation status for a resource.

      Gets the operation result for a resource.

      Parameters:
      operationId - The operationId parameter.
      location - The location parameter.
      Returns:
      the operation result 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.