From 9049b311a070967d6a48ab10bd87b44c3a3246bf Mon Sep 17 00:00:00 2001 From: Sujith Surendran Date: Sat, 13 Jun 2020 14:34:42 +0530 Subject: [PATCH] Update apiVersion to 2018-11-01 and storageAccount property to sku --- azureDeploy.json | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/azureDeploy.json b/azureDeploy.json index 2bbd2be..0b788ba 100644 --- a/azureDeploy.json +++ b/azureDeploy.json @@ -134,16 +134,17 @@ { "type": "Microsoft.Storage/storageAccounts", "name": "[variables('storageAccountName')]", - "apiVersion": "2015-06-15", + "apiVersion": "2018-11-01", "location": "[resourceGroup().location]", - "properties": { - "accountType": "Standard_LRS" + "kind": "Storage", + "sku": { + "name": "Standard_LRS" } }, { "condition": "[equals(parameters('appServicePlan'), 'ServicePlan')]", "type": "Microsoft.Web/serverfarms", - "apiVersion": "2016-09-01", + "apiVersion": "2018-11-01", "name": "[variables('ServicePlan')]", "location": "[resourceGroup().location]", "sku": { @@ -151,11 +152,11 @@ "name": "[parameters('appServicePlanName')]", "capacity": "[parameters('appServicePlanCapacity')]" } - }, + }, { "condition": "[equals(parameters('appServicePlan'), 'Consumption')]", "type": "Microsoft.Web/serverfarms", - "apiVersion": "2016-09-01", + "apiVersion": "2018-11-01", "name": "[variables('Consumption')]", "location": "[resourceGroup().location]", "properties": { @@ -165,7 +166,7 @@ } }, { - "apiVersion": "2016-08-01", + "apiVersion": "2018-11-01", "type": "Microsoft.Web/sites", "name": "[variables('functionAppName')]", "location": "[resourceGroup().location]", @@ -259,7 +260,7 @@ }, "resources": [ { - "apiVersion": "2016-08-01", + "apiVersion": "2018-11-01", "name": "web", "type": "sourcecontrols", "dependsOn": [ @@ -274,4 +275,4 @@ ] } ] -} +} \ No newline at end of file