共用方式為


DatabaseRecommendedActions interface

Interface representing a DatabaseRecommendedActions.

Methods

get(string, string, string, string, string, DatabaseRecommendedActionsGetOptionalParams)

Gets a database recommended action.

listByDatabaseAdvisor(string, string, string, string, DatabaseRecommendedActionsListByDatabaseAdvisorOptionalParams)

Gets list of Database Recommended Actions.

update(string, string, string, string, string, RecommendedAction, DatabaseRecommendedActionsUpdateOptionalParams)

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.

options
DatabaseRecommendedActionsGetOptionalParams

The options parameters.

Returns

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.

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.

options
DatabaseRecommendedActionsUpdateOptionalParams

The options parameters.

Returns