DatabaseRecommendedActions interface
Interface representing a DatabaseRecommendedActions.
Methods
get(string, string, string, string, string, Database |
Gets a database recommended action. |
list |
Gets list of Database Recommended Actions. |
update(string, string, string, string, string, Recommended |
Updates a database recommended action. |
Method Details
get(string, string, string, string, string, DatabaseRecommendedActionsGetOptionalParams)
Gets a database recommended action.
function get(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, options?: DatabaseRecommendedActionsGetOptionalParams): Promise<RecommendedAction>
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.
- recommendedActionName
-
string
The name of Database Recommended Action.
The options parameters.
Returns
Promise<RecommendedAction>
listByDatabaseAdvisor(string, string, string, string, DatabaseRecommendedActionsListByDatabaseAdvisorOptionalParams)
Gets list of Database Recommended Actions.
function listByDatabaseAdvisor(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, options?: DatabaseRecommendedActionsListByDatabaseAdvisorOptionalParams): Promise<DatabaseRecommendedActionsListByDatabaseAdvisorResponse>
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
update(string, string, string, string, string, RecommendedAction, DatabaseRecommendedActionsUpdateOptionalParams)
Updates a database recommended action.
function update(resourceGroupName: string, serverName: string, databaseName: string, advisorName: string, recommendedActionName: string, parameters: RecommendedAction, options?: DatabaseRecommendedActionsUpdateOptionalParams): Promise<RecommendedAction>
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.
- recommendedActionName
-
string
The name of Database Recommended Action.
- parameters
- RecommendedAction
The requested recommended action resource state.
The options parameters.
Returns
Promise<RecommendedAction>