ServerAdvisorsClient Interface

public interface ServerAdvisorsClient

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

Method Summary

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

Gets a server advisor.

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

Gets a server advisor.

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

Gets a server advisor.

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

Gets a server advisor.

abstract List<AdvisorInner> listByServer(String resourceGroupName, String serverName)

Gets a list of server advisors.

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

Gets a list of server advisors.

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

Gets a list of server advisors.

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

Gets a list of server advisors.

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

Updates a server advisor.

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

Updates a server advisor.

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

Updates a server advisor.

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

Updates a server advisor.

Method Details

get

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

Gets a server 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.
advisorName - The name of the Server Advisor.

Returns:

a server advisor.

getAsync

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

Gets a server 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.
advisorName - The name of the Server Advisor.

Returns:

a server advisor on successful completion of Mono.

getWithResponse

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

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

Returns:

a server advisor along with Response<T>.

getWithResponseAsync

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

Gets a server 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.
advisorName - The name of the Server Advisor.

Returns:

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

listByServer

public abstract List listByServer(String resourceGroupName, String serverName)

Gets a list of server 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.

Returns:

a list of server advisors.

listByServerAsync

public abstract Mono> listByServerAsync(String resourceGroupName, String serverName)

Gets a list of server 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.

Returns:

a list of server advisors on successful completion of Mono.

listByServerWithResponse

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

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

Returns:

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

listByServerWithResponseAsync

public abstract Mono>> listByServerWithResponseAsync(String resourceGroupName, String serverName, String expand)

Gets a list of server 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.
expand - The child resources to include in the response.

Returns:

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

update

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

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

Returns:

database, Server or Elastic Pool Advisor.

updateAsync

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

Updates a server 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.
advisorName - The name of the Server 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 advisorName, AdvisorInner parameters, Context context)

Updates a server 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.
advisorName - The name of the Server 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 advisorName, AdvisorInner parameters)

Updates a server 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.
advisorName - The name of the Server 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