Interface OperationsStatusClient


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

      • get

        OperationStatusInner get​(String location,
                                 String operationId)
        Gets the status of operation.
        Parameters:
        location - The region the operation is in.
        operationId - The operation's unique identifier.
        Returns:
        the status of 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<OperationStatusInner> getWithResponse​(String location,
                                                                                String operationId,
                                                                                com.azure.core.util.Context context)
        Gets the status of operation.
        Parameters:
        location - The region the operation is in.
        operationId - The operation's unique identifier.
        context - The context to associate with this operation.
        Returns:
        the status of 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.