Interface ElasticPoolOperationsClient


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

    • listByElasticPoolAsync

      com.azure.core.http.rest.PagedFlux<ElasticPoolOperationInner> listByElasticPoolAsync(String resourceGroupName, String serverName, String elasticPoolName)
      Gets a list of operations performed on the elastic pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      elasticPoolName - The elasticPoolName parameter.
      Returns:
      a list of operations performed on the elastic pool as paginated response with PagedFlux.
      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.
    • listByElasticPool

      com.azure.core.http.rest.PagedIterable<ElasticPoolOperationInner> listByElasticPool(String resourceGroupName, String serverName, String elasticPoolName)
      Gets a list of operations performed on the elastic pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      elasticPoolName - The elasticPoolName parameter.
      Returns:
      a list of operations performed on the elastic pool as paginated response with PagedIterable.
      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.
    • listByElasticPool

      com.azure.core.http.rest.PagedIterable<ElasticPoolOperationInner> listByElasticPool(String resourceGroupName, String serverName, String elasticPoolName, com.azure.core.util.Context context)
      Gets a list of operations performed on the elastic pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      elasticPoolName - The elasticPoolName parameter.
      context - The context to associate with this operation.
      Returns:
      a list of operations performed on the elastic pool as paginated response with PagedIterable.
      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.
    • cancelWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> cancelWithResponseAsync(String resourceGroupName, String serverName, String elasticPoolName, UUID operationId)
      Cancels the asynchronous operation on the elastic pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      elasticPoolName - The elasticPoolName parameter.
      operationId - The operation identifier.
      Returns:
      the Response on successful completion of Mono.
      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.
    • cancelAsync

      Mono<Void> cancelAsync(String resourceGroupName, String serverName, String elasticPoolName, UUID operationId)
      Cancels the asynchronous operation on the elastic pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      elasticPoolName - The elasticPoolName parameter.
      operationId - The operation identifier.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • cancelWithResponse

      com.azure.core.http.rest.Response<Void> cancelWithResponse(String resourceGroupName, String serverName, String elasticPoolName, UUID operationId, com.azure.core.util.Context context)
      Cancels the asynchronous operation on the elastic pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      elasticPoolName - The elasticPoolName parameter.
      operationId - The operation identifier.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • cancel

      void cancel(String resourceGroupName, String serverName, String elasticPoolName, UUID operationId)
      Cancels the asynchronous operation on the elastic pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      elasticPoolName - The elasticPoolName parameter.
      operationId - The operation identifier.
      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.