Interface OperationStatus


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

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