C# 클래스 Microsoft.Azure.Commands.Sql.ServiceTierAdvisor.Services.AzureSqlServiceTierAdvisorAdapter

Adapter for Service Tier Advisor operations
파일 보기 프로젝트 열기: Azure/azure-powershell

Private Properties

프로퍼티 타입 설명
CreateUpgradeDatabaseHint Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties
SloToEdition string

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

AzureSqlServiceTierAdvisorAdapter() 공개 메소드

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

GetUpgradeDatabaseHints() 공개 메소드

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
리턴 Microsoft.Azure.Management.Sql.Models.RecommendedDatabaseProperties

ListUpgradeDatabaseHints() 공개 메소드

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
리턴 ICollection