Interface OperationResultsClient


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

    • getWithResponse

      OperationResultsGetResponse 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

      OperationJobExtendedInfoInner 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.