ServerAdvisors interface
Interface representing a ServerAdvisors.
Methods
get(string, string, string, Server |
Gets a server advisor. |
list |
Gets a list of server advisors. |
update(string, string, string, Advisor, Server |
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.
The options parameters.
Returns
Promise<ServerAdvisorsListByServerResponse>
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.
The options parameters.
Returns
Promise<Advisor>