Interface DatabaseAutomaticTuningsClient
-
public interface DatabaseAutomaticTuningsClientAn instance of this class provides access to all the operations defined in DatabaseAutomaticTuningsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatabaseAutomaticTuningInnerget(String resourceGroupName, String serverName, String databaseName)Gets a database's automatic tuning.Mono<DatabaseAutomaticTuningInner>getAsync(String resourceGroupName, String serverName, String databaseName)Gets a database's automatic tuning.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.Mono<com.azure.core.http.rest.Response<DatabaseAutomaticTuningInner>>getWithResponseAsync(String resourceGroupName, String serverName, String databaseName)Gets a database's automatic tuning.DatabaseAutomaticTuningInnerupdate(String resourceGroupName, String serverName, String databaseName, DatabaseAutomaticTuningInner parameters)Update automatic tuning properties for target database.Mono<DatabaseAutomaticTuningInner>updateAsync(String resourceGroupName, String serverName, String databaseName, DatabaseAutomaticTuningInner parameters)Update automatic tuning properties for target database.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.Mono<com.azure.core.http.rest.Response<DatabaseAutomaticTuningInner>>updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, DatabaseAutomaticTuningInner parameters)Update automatic tuning properties for target database.
-
-
-
Method Detail
-
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.
- 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.
- 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.
-
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.
- 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- Database-level Automatic Tuning.- 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.
-
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- Database-level Automatic Tuning.- 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.
-
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- Database-level Automatic Tuning.- 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.
-
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- Database-level Automatic Tuning.context- The context to associate with this operation.- 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.
-
-