C# Class Microsoft.Azure.Commands.Sql.Service.AzureSqlDatabaseIndexRecommendationAdapter

Adapter for recommended index operations
Show file Open project: Azure/azure-powershell

Private Properties

Property Type Description

Public Methods

Method Description
AzureSqlDatabaseIndexRecommendationAdapter ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models

Constructs adapter

ListRecommendedIndexes ( string resourceGroupName, string serverName, string databaseName ) : List

List index recommendations

UpdateRecommendationState ( string resourceGroupName, string serverName, IndexRecommendation indexRecommendation ) : void

Update index recommendation state.

Method Details

AzureSqlDatabaseIndexRecommendationAdapter() public method

Constructs adapter
public AzureSqlDatabaseIndexRecommendationAdapter ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Common.Authentication.Models.AzureContext
return Microsoft.Azure.Commands.Common.Authentication.Models

ListRecommendedIndexes() public method

List index recommendations
public ListRecommendedIndexes ( string resourceGroupName, string serverName, string databaseName ) : List
resourceGroupName string Resource group name
serverName string Server name
databaseName string Database name
return List

UpdateRecommendationState() public method

Update index recommendation state.
public UpdateRecommendationState ( string resourceGroupName, string serverName, IndexRecommendation indexRecommendation ) : void
resourceGroupName string Resource group name
serverName string Server name
indexRecommendation Microsoft.Azure.Commands.Sql.Model.IndexRecommendation Index recommendation
return void