Interface OperationsClient


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

    • getWithResponse

      com.azure.core.http.rest.Response<OperationResultInner> getWithResponse(String locationName, String name, com.azure.core.util.Context context)
      Get operation.
      Parameters:
      locationName - The name of the location.
      name - The name of the operation.
      context - The context to associate with this operation.
      Returns:
      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.
    • get

      OperationResultInner get(String locationName, String name)
      Get operation.
      Parameters:
      locationName - The name of the location.
      name - The name of the operation.
      Returns:
      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.