Interface AscOperationsClient


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

      • get

        AscOperationInner get​(String location,
                              String operationId)
        Gets the status of an asynchronous operation for the Azure HPC Cache.
        Parameters:
        location - The name of the region used to look up the operation.
        operationId - The operation id which uniquely identifies the asynchronous operation.
        Returns:
        the status of an asynchronous operation for the Azure HPC Cache.
        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<AscOperationInner> getWithResponse​(String location,
                                                                             String operationId,
                                                                             com.azure.core.util.Context context)
        Gets the status of an asynchronous operation for the Azure HPC Cache.
        Parameters:
        location - The name of the region used to look up the operation.
        operationId - The operation id which uniquely identifies the asynchronous operation.
        context - The context to associate with this operation.
        Returns:
        the status of an asynchronous operation for the Azure HPC Cache 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.