Interface OperationResults


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

    Modifier and Type
    Method
    Description
    get(String operationResultId)
    Get an azure operation result.
    com.azure.core.http.rest.Response<OperationResult>
    getWithResponse(String operationResultId, com.azure.core.util.Context context)
    Get an azure operation result.
  • Method Details

    • get

      OperationResult get(String operationResultId)
      Get an azure operation result.

      Returns an azure operation result.

      Parameters:
      operationResultId - The operation result ID / name.
      Returns:
      a long running operation result.
      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<OperationResult> getWithResponse(String operationResultId, com.azure.core.util.Context context)
      Get an azure operation result.

      Returns an azure operation result.

      Parameters:
      operationResultId - The operation result ID / name.
      context - The context to associate with this operation.
      Returns:
      a long running operation result 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.