Interface OperationsClient


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

    • list

      Gets a list of operations.

      Returns list of operations.

      Returns:
      a list of REST API operations supported by an Azure Resource Provider.
      Throws:
      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.
    • listWithResponse

      com.azure.core.http.rest.Response<OperationListResultInner> listWithResponse(com.azure.core.util.Context context)
      Gets a list of operations.

      Returns list of operations.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of REST API operations supported by an Azure Resource Provider 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.