Interface TuningOptionsOperationsClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<TuningOptionsInner>> getWithResponseAsync(String resourceGroupName, String serverName, TuningOptionParameterEnum tuningOption)
      Gets the tuning options of a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      tuningOption - The name of the tuning option.
      Returns:
      the tuning options of a server along with 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.
    • getAsync

      Mono<TuningOptionsInner> getAsync(String resourceGroupName, String serverName, TuningOptionParameterEnum tuningOption)
      Gets the tuning options of a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      tuningOption - The name of the tuning option.
      Returns:
      the tuning options of a server 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.
    • getWithResponse

      com.azure.core.http.rest.Response<TuningOptionsInner> getWithResponse(String resourceGroupName, String serverName, TuningOptionParameterEnum tuningOption, com.azure.core.util.Context context)
      Gets the tuning options of a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      tuningOption - The name of the tuning option.
      context - The context to associate with this operation.
      Returns:
      the tuning options of a server 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

      TuningOptionsInner get(String resourceGroupName, String serverName, TuningOptionParameterEnum tuningOption)
      Gets the tuning options of a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      tuningOption - The name of the tuning option.
      Returns:
      the tuning options of a server.
      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.
    • listRecommendationsAsync

      com.azure.core.http.rest.PagedFlux<ObjectRecommendationInner> listRecommendationsAsync(String resourceGroupName, String serverName, TuningOptionParameterEnum tuningOption, RecommendationTypeParameterEnum recommendationType)
      Lists available object recommendations.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      tuningOption - The name of the tuning option.
      recommendationType - Recommendations list filter. Retrieves recommendations based on type.
      Returns:
      list of available object recommendations 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.
    • listRecommendationsAsync

      com.azure.core.http.rest.PagedFlux<ObjectRecommendationInner> listRecommendationsAsync(String resourceGroupName, String serverName, TuningOptionParameterEnum tuningOption)
      Lists available object recommendations.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      tuningOption - The name of the tuning option.
      Returns:
      list of available object recommendations 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.
    • listRecommendations

      com.azure.core.http.rest.PagedIterable<ObjectRecommendationInner> listRecommendations(String resourceGroupName, String serverName, TuningOptionParameterEnum tuningOption)
      Lists available object recommendations.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      tuningOption - The name of the tuning option.
      Returns:
      list of available object recommendations 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.
    • listRecommendations

      com.azure.core.http.rest.PagedIterable<ObjectRecommendationInner> listRecommendations(String resourceGroupName, String serverName, TuningOptionParameterEnum tuningOption, RecommendationTypeParameterEnum recommendationType, com.azure.core.util.Context context)
      Lists available object recommendations.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      tuningOption - The name of the tuning option.
      recommendationType - Recommendations list filter. Retrieves recommendations based on type.
      context - The context to associate with this operation.
      Returns:
      list of available object recommendations 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.
    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<TuningOptionsInner> listByServerAsync(String resourceGroupName, String serverName)
      Lists the tuning options of a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      list of server tuning options 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<TuningOptionsInner> listByServer(String resourceGroupName, String serverName)
      Lists the tuning options of a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      Returns:
      list of server tuning options 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<TuningOptionsInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Lists the tuning options of a server.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      list of server tuning options 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.