Advisors Interface

public interface Advisors

Resource collection API of Advisors.

Method Summary

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

Get a recommendation action advisor.

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

Get a recommendation action advisor.

abstract PagedIterable<Advisor> listByServer(String resourceGroupName, String serverName)

List recommendation action advisors.

abstract PagedIterable<Advisor> listByServer(String resourceGroupName, String serverName, Context context)

List recommendation action advisors.

Method Details

get

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

Get a recommendation action advisor.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
advisorName - The advisor name for recommendation action.

Returns:

a recommendation action advisor.

getWithResponse

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

Get a recommendation action advisor.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
advisorName - The advisor name for recommendation action.
context - The context to associate with this operation.

Returns:

a recommendation action advisor along with Response<T>.

listByServer

public abstract PagedIterable<Advisor> listByServer(String resourceGroupName, String serverName)

List recommendation action advisors.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.

Returns:

a list of query statistics.

listByServer

public abstract PagedIterable<Advisor> listByServer(String resourceGroupName, String serverName, Context context)

List recommendation action advisors.

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:

a list of query statistics.

Applies to