Add Hyperscale as service tier for SqlDB (#20574)

Feature approved.
This commit is contained in:
junierch
2022-11-01 11:10:57 -04:00
committed by GitHub
parent bd7d44ad31
commit a9cc71b877
2 changed files with 4 additions and 1 deletions

View File

@@ -118,7 +118,9 @@ export class SkuRecommendationResultsDialog {
if (recommendation.targetSku) {
const serviceTier = recommendation.targetSku.category?.sqlServiceTier === mssql.AzureSqlPaaSServiceTier.GeneralPurpose
? constants.GENERAL_PURPOSE
: constants.BUSINESS_CRITICAL;
: recommendation.targetSku.category?.sqlServiceTier === mssql.AzureSqlPaaSServiceTier.HyperScale
? constants.HYPERSCALE
: constants.BUSINESS_CRITICAL;
const hardwareType = recommendation.targetSku.category?.hardwareType === mssql.AzureSqlPaaSHardwareType.Gen5
? constants.GEN5