From 4b5b44c2ceec5643e2bb6b932f2660a3aab7857e Mon Sep 17 00:00:00 2001 From: Ben Outram Date: Wed, 8 Jan 2025 11:16:49 +0000 Subject: [PATCH] EES-5778 Enable Azure Hybrid Benefit on pre-prod and prod Azure SQL statistics databases. --- .../parameters/pre-prod.parameters.json | 3 +++ .../parameters/prod.parameters.json | 3 +++ infrastructure/templates/template.json | 19 +++++++++++++++++++ 3 files changed, 25 insertions(+) diff --git a/infrastructure/parameters/pre-prod.parameters.json b/infrastructure/parameters/pre-prod.parameters.json index ab8b04ee696..1cb444ed726 100644 --- a/infrastructure/parameters/pre-prod.parameters.json +++ b/infrastructure/parameters/pre-prod.parameters.json @@ -71,6 +71,9 @@ "capacityContentDb": { "value": 50 }, + "licenseTypeStatisticsDb": { + "value": "BasePrice" + }, "skuStatisticsDb": { "value": "GP_Gen5" }, diff --git a/infrastructure/parameters/prod.parameters.json b/infrastructure/parameters/prod.parameters.json index b2fac87d46d..d0f8a53275e 100644 --- a/infrastructure/parameters/prod.parameters.json +++ b/infrastructure/parameters/prod.parameters.json @@ -74,6 +74,9 @@ "minCapacityContentDb": { "value": "0.5" }, + "licenseTypeStatisticsDb": { + "value": "BasePrice" + }, "skuStatisticsDb": { "value": "GP_Gen5" }, diff --git a/infrastructure/templates/template.json b/infrastructure/templates/template.json index 861e32bb723..d8048fdda0d 100644 --- a/infrastructure/templates/template.json +++ b/infrastructure/templates/template.json @@ -598,6 +598,22 @@ "test" ] }, + "licenseTypeContentDb": { + "type": "string", + "defaultValue": "LicenseIncluded", + "allowedValues": [ + "BasePrice", + "LicenseIncluded" + ] + }, + "licenseTypeStatisticsDb": { + "type": "string", + "defaultValue": "LicenseIncluded", + "allowedValues": [ + "BasePrice", + "LicenseIncluded" + ] + }, "skuContentDb": { "type": "string", "allowedValues": [ @@ -2291,6 +2307,7 @@ }, "properties": { "collation": "SQL_Latin1_General_CP1_CI_AS", + "licenseType": "[parameters('licenseTypeStatisticsDb')]", "maxSizeBytes": "[parameters('maxStatsDbSizeBytes')]", "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", "zoneRedundant": false, @@ -2328,6 +2345,7 @@ }, "properties": { "collation": "SQL_Latin1_General_CP1_CI_AS", + "licenseType": "[parameters('licenseTypeContentDb')]", "maxSizeBytes": "[parameters('maxContentDbSizeBytes')]", "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", "zoneRedundant": false, @@ -2535,6 +2553,7 @@ }, "properties": { "collation": "SQL_Latin1_General_CP1_CI_AS", + "licenseType": "[parameters('licenseTypeStatisticsDb')]", "maxSizeBytes": "[parameters('maxStatsDbSizeBytes')]", "catalogCollation": "SQL_Latin1_General_CP1_CI_AS", "zoneRedundant": false,