Interface DatabaseAutomaticTuningsClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DatabaseAutomaticTuningInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName)
      Gets a database's automatic tuning.
      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.
      databaseName - The name of the database.
      Returns:
      a database's automatic tuning 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<DatabaseAutomaticTuningInner> getAsync(String resourceGroupName, String serverName, String databaseName)
      Gets a database's automatic tuning.
      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.
      databaseName - The name of the database.
      Returns:
      a database's automatic tuning 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<DatabaseAutomaticTuningInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
      Gets a database's automatic tuning.
      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.
      databaseName - The name of the database.
      context - The context to associate with this operation.
      Returns:
      a database's automatic tuning 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

      DatabaseAutomaticTuningInner get(String resourceGroupName, String serverName, String databaseName)
      Gets a database's automatic tuning.
      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.
      databaseName - The name of the database.
      Returns:
      a database's automatic tuning.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DatabaseAutomaticTuningInner>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DatabaseAutomaticTuningInner parameters)
      Update automatic tuning properties for target database.
      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.
      databaseName - The name of the database.
      parameters - The requested automatic tuning resource state.
      Returns:
      database-level Automatic Tuning 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.
    • updateAsync

      Mono<DatabaseAutomaticTuningInner> updateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseAutomaticTuningInner parameters)
      Update automatic tuning properties for target database.
      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.
      databaseName - The name of the database.
      parameters - The requested automatic tuning resource state.
      Returns:
      database-level Automatic Tuning 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<DatabaseAutomaticTuningInner> updateWithResponse(String resourceGroupName, String serverName, String databaseName, DatabaseAutomaticTuningInner parameters, com.azure.core.util.Context context)
      Update automatic tuning properties for target database.
      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.
      databaseName - The name of the database.
      parameters - The requested automatic tuning resource state.
      context - The context to associate with this operation.
      Returns:
      database-level Automatic Tuning 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.
    • update

      DatabaseAutomaticTuningInner update(String resourceGroupName, String serverName, String databaseName, DatabaseAutomaticTuningInner parameters)
      Update automatic tuning properties for target database.
      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.
      databaseName - The name of the database.
      parameters - The requested automatic tuning resource state.
      Returns:
      database-level Automatic Tuning.
      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.