Skip to content

Commit

Permalink
Updated to use Managed Disks
Browse files Browse the repository at this point in the history
  • Loading branch information
varunbeesu committed Jun 1, 2018
1 parent c1df8b9 commit dfe9988
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 2 additions & 5 deletions 201-web-app-vm-dsc/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
}
},
{
"apiVersion": "2015-05-01-preview",
"apiVersion": "2017-03-30",
"type": "Microsoft.Compute/virtualMachines",
"name": "[parameters('vmName')]",
"location": "[resourceGroup().location]",
Expand Down Expand Up @@ -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"
}
Expand Down
5 changes: 3 additions & 2 deletions 201-web-app-vm-dsc/metadata.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit dfe9988

Please sign in to comment.