ResourceProviders Interface

public interface ResourceProviders

Resource collection API of ResourceProviders.

Method Summary

Modifier and Type Method and Description
abstract void createRecommendedActionSession(String resourceGroupName, String serverName, String advisorName, String databaseName)

Create recommendation action session for the advisor.

abstract void createRecommendedActionSession(String resourceGroupName, String serverName, String advisorName, String databaseName, Context context)

Create recommendation action session for the advisor.

abstract QueryPerformanceInsightResetDataResult resetQueryPerformanceInsightData(String resourceGroupName, String serverName)

Reset data for Query Performance Insight.

abstract Response<QueryPerformanceInsightResetDataResult> resetQueryPerformanceInsightDataWithResponse(String resourceGroupName, String serverName, Context context)

Reset data for Query Performance Insight.

Method Details

createRecommendedActionSession

public abstract void createRecommendedActionSession(String resourceGroupName, String serverName, String advisorName, String databaseName)

Create recommendation action session for the advisor.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
advisorName - The advisor name for recommendation action.
databaseName - The name of the database.

createRecommendedActionSession

public abstract void createRecommendedActionSession(String resourceGroupName, String serverName, String advisorName, String databaseName, Context context)

Create recommendation action session for the advisor.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
advisorName - The advisor name for recommendation action.
databaseName - The name of the database.
context - The context to associate with this operation.

resetQueryPerformanceInsightData

public abstract QueryPerformanceInsightResetDataResult resetQueryPerformanceInsightData(String resourceGroupName, String serverName)

Reset data for Query Performance Insight.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.

Returns:

result of Query Performance Insight data reset.

resetQueryPerformanceInsightDataWithResponse

public abstract Response resetQueryPerformanceInsightDataWithResponse(String resourceGroupName, String serverName, Context context)

Reset data for Query Performance Insight.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
serverName - The name of the server.
context - The context to associate with this operation.

Returns:

result of Query Performance Insight data reset along with Response<T>.

Applies to