ServerAdvisors interface

Interface representing a ServerAdvisors.

Methods

get(string, string, string, ServerAdvisorsGetOptionalParams)

Gets a server advisor.

listByServer(string, string, ServerAdvisorsListByServerOptionalParams)

Gets a list of server advisors.

update(string, string, string, Advisor, ServerAdvisorsUpdateOptionalParams)

Updates a server advisor.

Method Details

get(string, string, string, ServerAdvisorsGetOptionalParams)

Gets a server advisor.

function get(resourceGroupName: string, serverName: string, advisorName: string, options?: ServerAdvisorsGetOptionalParams): Promise<Advisor>

Parameters

resourceGroupName

string

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

string

The name of the server.

advisorName

string

The name of the Server Advisor.

options
ServerAdvisorsGetOptionalParams

The options parameters.

Returns

Promise<Advisor>

listByServer(string, string, ServerAdvisorsListByServerOptionalParams)

Gets a list of server advisors.

function listByServer(resourceGroupName: string, serverName: string, options?: ServerAdvisorsListByServerOptionalParams): Promise<ServerAdvisorsListByServerResponse>

Parameters

resourceGroupName

string

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

string

The name of the server.

options
ServerAdvisorsListByServerOptionalParams

The options parameters.

Returns

update(string, string, string, Advisor, ServerAdvisorsUpdateOptionalParams)

Updates a server advisor.

function update(resourceGroupName: string, serverName: string, advisorName: string, parameters: Advisor, options?: ServerAdvisorsUpdateOptionalParams): Promise<Advisor>

Parameters

resourceGroupName

string

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

string

The name of the server.

advisorName

string

The name of the Server Advisor.

parameters
Advisor

The requested advisor resource state.

options
ServerAdvisorsUpdateOptionalParams

The options parameters.

Returns

Promise<Advisor>