Interface AscOperations


public interface AscOperations
Resource collection API of AscOperations.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String location, String operationId)
    Gets the status of an asynchronous operation for the Azure HPC Cache.
    com.azure.core.http.rest.Response<AscOperation>
    getWithResponse(String location, String operationId, com.azure.core.util.Context context)
    Gets the status of an asynchronous operation for the Azure HPC Cache.
  • Method Details

    • get

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