C# Class Microsoft.Azure.Commands.Sql.ServiceTierAdvisor.Services.AzureSqlServiceTierAdvisorAdapter

Adapter for Service Tier Advisor operations
Afficher le fichier Open project: Azure/azure-powershell

Private Properties

Свойство Type Description
CreateUpgradeDatabaseHint Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties
SloToEdition string

Méthodes publiques

Méthode Description
AzureSqlServiceTierAdvisorAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models

Constructs a service tier advisor adapter

GetUpgradeDatabaseHints ( string resourceGroupName, string serverName, string databaseName, bool excludeEpCandidates ) : Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties

Get upgrade database hints for database.

ListUpgradeDatabaseHints ( string resourceGroupName, string serverName, bool excludeEpCandidates ) : ICollection

List recommended database service tier and SLO for all databases on server.

Private Methods

Méthode Description
CreateUpgradeDatabaseHint ( Management database ) : Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties

Creates UpgradeDatabaseHint from database object by using same edition and SLO from upgrade hint.

SloToEdition ( string ServiceLevelObjective ) : string

Map SLO to Edition

Method Details

AzureSqlServiceTierAdvisorAdapter() public méthode

Constructs a service tier advisor adapter
public AzureSqlServiceTierAdvisorAdapter ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication.Models
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Résultat Microsoft.Azure.Commands.Common.Authentication.Models

GetUpgradeDatabaseHints() public méthode

Get upgrade database hints for database.
public GetUpgradeDatabaseHints ( string resourceGroupName, string serverName, string databaseName, bool excludeEpCandidates ) : Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties
resourceGroupName string The name of the resource group
serverName string The name of Azure Sql server
databaseName string The name of Azure Sql database
excludeEpCandidates bool Exclude databases if it is already recommended for elastic pool
Résultat Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties

ListUpgradeDatabaseHints() public méthode

List recommended database service tier and SLO for all databases on server.
public ListUpgradeDatabaseHints ( string resourceGroupName, string serverName, bool excludeEpCandidates ) : ICollection
resourceGroupName string Resource group
serverName string Server name
excludeEpCandidates bool Exclude databases that are already recommended for elastic pools
Résultat ICollection