diff --git a/201-web-app-vm-dsc/azuredeploy.json b/201-web-app-vm-dsc/azuredeploy.json index b33413f9bd57..a26cef95d224 100644 --- a/201-web-app-vm-dsc/azuredeploy.json +++ b/201-web-app-vm-dsc/azuredeploy.json @@ -230,7 +230,7 @@ } }, { - "apiVersion": "2015-05-01-preview", + "apiVersion": "2017-03-30", "type": "Microsoft.Compute/virtualMachines", "name": "[parameters('vmName')]", "location": "[resourceGroup().location]", @@ -258,10 +258,7 @@ "version": "latest" }, "osDisk": { - "name": "osdisk", - "vhd": { - "uri": "[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/vhds/','osdisk.vhd')]" - }, + "name": "[concat(parameters('vmName'),'_OSDisk')]", "caching": "ReadWrite", "createOption": "FromImage" } diff --git a/201-web-app-vm-dsc/metadata.json b/201-web-app-vm-dsc/metadata.json index 0de1127bdcad..81e81e06e9a5 100644 --- a/201-web-app-vm-dsc/metadata.json +++ b/201-web-app-vm-dsc/metadata.json @@ -1,7 +1,8 @@ { + "$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#", "itemDisplayName": "Create, configure and deploy Web Application to an Azure VM", "description": "Create and configure a Windows VM with SQL Azure database, and deploy web application to the environment using PowerShell DSC", "summary": "This template creates a VM with webdeploy enabled, and deploys the Web Application using DSC extension", - "githubUsername": "CawaMS", - "dateUpdated": "2016-12-19" + "githubUsername": "cawams", + "dateUpdated": "2018-05-31" }