Interface OperationResults


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

      • get

        OperationResultsDescription get​(String locationName,
                                        String operationResultId)
        Get the operation result for a long running operation.
        Parameters:
        locationName - The location of the operation.
        operationResultId - The ID of the operation result to get.
        Returns:
        the operation result for a long running 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<OperationResultsDescription> getWithResponse​(String locationName,
                                                                                       String operationResultId,
                                                                                       com.azure.core.util.Context context)
        Get the operation result for a long running operation.
        Parameters:
        locationName - The location of the operation.
        operationResultId - The ID of the operation result to get.
        context - The context to associate with this operation.
        Returns:
        the operation result for a long running 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.