DatabaseAdvisors interface
Interface representing a DatabaseAdvisors.
Methods
get(string, string, string, string, Database |
Gets a database advisor. |
list |
Gets a list of database advisors. |
update(string, string, string, string, Advisor, Database |
Updates a database advisor. |
Method Details
get(string, string, string, string, DatabaseAdvisorsGetOptionalParams)
Gets a database advisor.
function get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, options?: DatabaseAdvisorsGetOptionalParams): 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.
- databaseName
-
string
The name of the database.
- advisorName
-
string
The name of the Database Advisor.
The options parameters.
Returns
Promise<Advisor>
listByDatabase(string, string, string, DatabaseAdvisorsListByDatabaseOptionalParams)
Gets a list of database advisors.
function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, options?: DatabaseAdvisorsListByDatabaseOptionalParams): Promise<DatabaseAdvisorsListByDatabaseResponse>
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.
- databaseName
-
string
The name of the database.
The options parameters.
Returns
update(string, string, string, string, Advisor, DatabaseAdvisorsUpdateOptionalParams)
Updates a database advisor.
function update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, parameters: Advisor, options?: DatabaseAdvisorsUpdateOptionalParams): 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.
- databaseName
-
string
The name of the database.
- advisorName
-
string
The name of the Database Advisor.
- parameters
- Advisor
The requested advisor resource state.
The options parameters.
Returns
Promise<Advisor>