Interface RecommendedElasticPoolsClient


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

      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RecommendedElasticPoolInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                                  String serverName,
                                                                                                  String recommendedElasticPoolName)
        Gets a recommended 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.
        recommendedElasticPoolName - The name of the recommended elastic pool to be retrieved.
        Returns:
        a recommended elastic pool.
        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.
      • getAsync

        Mono<RecommendedElasticPoolInner> getAsync​(String resourceGroupName,
                                                   String serverName,
                                                   String recommendedElasticPoolName)
        Gets a recommended 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.
        recommendedElasticPoolName - The name of the recommended elastic pool to be retrieved.
        Returns:
        a recommended elastic pool.
        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

        RecommendedElasticPoolInner get​(String resourceGroupName,
                                        String serverName,
                                        String recommendedElasticPoolName)
        Gets a recommended 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.
        recommendedElasticPoolName - The name of the recommended elastic pool to be retrieved.
        Returns:
        a recommended elastic pool.
        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<RecommendedElasticPoolInner> getWithResponse​(String resourceGroupName,
                                                                                       String serverName,
                                                                                       String recommendedElasticPoolName,
                                                                                       com.azure.core.util.Context context)
        Gets a recommended 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.
        recommendedElasticPoolName - The name of the recommended elastic pool to be retrieved.
        context - The context to associate with this operation.
        Returns:
        a recommended elastic pool.
        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.
      • listByServerAsync

        com.azure.core.http.rest.PagedFlux<RecommendedElasticPoolInner> listByServerAsync​(String resourceGroupName,
                                                                                          String serverName)
        Returns recommended elastic pools.
        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.
        Returns:
        represents the response to a list recommended elastic pool request.
        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.
      • listByServer

        com.azure.core.http.rest.PagedIterable<RecommendedElasticPoolInner> listByServer​(String resourceGroupName,
                                                                                         String serverName)
        Returns recommended elastic pools.
        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.
        Returns:
        represents the response to a list recommended elastic pool request.
        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.
      • listByServer

        com.azure.core.http.rest.PagedIterable<RecommendedElasticPoolInner> listByServer​(String resourceGroupName,
                                                                                         String serverName,
                                                                                         com.azure.core.util.Context context)
        Returns recommended elastic pools.
        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.
        context - The context to associate with this operation.
        Returns:
        represents the response to a list recommended elastic pool request.
        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.
      • listMetricsAsync

        com.azure.core.http.rest.PagedFlux<RecommendedElasticPoolMetricInner> listMetricsAsync​(String resourceGroupName,
                                                                                               String serverName,
                                                                                               String recommendedElasticPoolName)
        Returns recommended elastic pool metrics.
        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.
        recommendedElasticPoolName - The name of the recommended elastic pool to be retrieved.
        Returns:
        represents the response to a list recommended elastic pool metrics request.
        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.
      • listMetrics

        com.azure.core.http.rest.PagedIterable<RecommendedElasticPoolMetricInner> listMetrics​(String resourceGroupName,
                                                                                              String serverName,
                                                                                              String recommendedElasticPoolName)
        Returns recommended elastic pool metrics.
        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.
        recommendedElasticPoolName - The name of the recommended elastic pool to be retrieved.
        Returns:
        represents the response to a list recommended elastic pool metrics request.
        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.
      • listMetrics

        com.azure.core.http.rest.PagedIterable<RecommendedElasticPoolMetricInner> listMetrics​(String resourceGroupName,
                                                                                              String serverName,
                                                                                              String recommendedElasticPoolName,
                                                                                              com.azure.core.util.Context context)
        Returns recommended elastic pool metrics.
        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.
        recommendedElasticPoolName - The name of the recommended elastic pool to be retrieved.
        context - The context to associate with this operation.
        Returns:
        represents the response to a list recommended elastic pool metrics request.
        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.