DatabaseAdvisorsClient Interface

public interface DatabaseAdvisorsClient

An instance of this class provides access to all the operations defined in DatabaseAdvisorsClient.

Method Summary

Modifier and Type Method and Description
abstract AdvisorInner get(String resourceGroupName, String serverName, String databaseName, String advisorName)

Gets a database advisor.

abstract Mono<AdvisorInner> getAsync(String resourceGroupName, String serverName, String databaseName, String advisorName)

Gets a database advisor.

abstract Response<AdvisorInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, Context context)

Gets a database advisor.

abstract Mono<Response<AdvisorInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName)

Gets a database advisor.

abstract List<AdvisorInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)

Gets a list of database advisors.

abstract Mono<List<AdvisorInner>> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Gets a list of database advisors.

abstract Response<List<AdvisorInner>> listByDatabaseWithResponse(String resourceGroupName, String serverName, String databaseName, String expand, Context context)

Gets a list of database advisors.

abstract Mono<Response<List<AdvisorInner>>> listByDatabaseWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String expand)

Gets a list of database advisors.

abstract AdvisorInner update(String resourceGroupName, String serverName, String databaseName, String advisorName, AdvisorInner parameters)

Updates a database advisor.

abstract Mono<AdvisorInner> updateAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, AdvisorInner parameters)

Updates a database advisor.

abstract Response<AdvisorInner> updateWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, AdvisorInner parameters, Context context)

Updates a database advisor.

abstract Mono<Response<AdvisorInner>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, AdvisorInner parameters)

Updates a database advisor.

Method Details

get

public abstract AdvisorInner get(String resourceGroupName, String serverName, String databaseName, String advisorName)

Gets a database advisor.

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.
advisorName - The name of the Database Advisor.

Returns:

a database advisor.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String databaseName, String advisorName)

Gets a database advisor.

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.
advisorName - The name of the Database Advisor.

Returns:

a database advisor on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, Context context)

Gets a database advisor.

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.
advisorName - The name of the Database Advisor.
context - The context to associate with this operation.

Returns:

a database advisor along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName)

Gets a database advisor.

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.
advisorName - The name of the Database Advisor.

Returns:

a database advisor along with Response<T> on successful completion of Mono.

listByDatabase

public abstract List listByDatabase(String resourceGroupName, String serverName, String databaseName)

Gets a list of database advisors.

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 list of database advisors.

listByDatabaseAsync

public abstract Mono> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Gets a list of database advisors.

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 list of database advisors on successful completion of Mono.

listByDatabaseWithResponse

public abstract Response> listByDatabaseWithResponse(String resourceGroupName, String serverName, String databaseName, String expand, Context context)

Gets a list of database advisors.

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.
expand - The child resources to include in the response.
context - The context to associate with this operation.

Returns:

a list of database advisors along with Response<T>.

listByDatabaseWithResponseAsync

public abstract Mono>> listByDatabaseWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String expand)

Gets a list of database advisors.

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.
expand - The child resources to include in the response.

Returns:

a list of database advisors along with Response<T> on successful completion of Mono.

update

public abstract AdvisorInner update(String resourceGroupName, String serverName, String databaseName, String advisorName, AdvisorInner parameters)

Updates a database advisor.

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.
advisorName - The name of the Database Advisor.
parameters - The requested advisor resource state.

Returns:

database, Server or Elastic Pool Advisor.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, AdvisorInner parameters)

Updates a database advisor.

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.
advisorName - The name of the Database Advisor.
parameters - The requested advisor resource state.

Returns:

database, Server or Elastic Pool Advisor on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String serverName, String databaseName, String advisorName, AdvisorInner parameters, Context context)

Updates a database advisor.

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.
advisorName - The name of the Database Advisor.
parameters - The requested advisor resource state.
context - The context to associate with this operation.

Returns:

database, Server or Elastic Pool Advisor along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String advisorName, AdvisorInner parameters)

Updates a database advisor.

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.
advisorName - The name of the Database Advisor.
parameters - The requested advisor resource state.

Returns:

database, Server or Elastic Pool Advisor along with Response<T> on successful completion of Mono.

Applies to