Skip to content

Commit

Permalink
Updated template to use Managed disks
Browse files Browse the repository at this point in the history
  • Loading branch information
varunbeesu committed May 25, 2018
1 parent f5fa93b commit 726cce2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
12 changes: 3 additions & 9 deletions 201-vm-domain-join/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
}
},
{
"apiVersion": "2015-06-15",
"apiVersion": "2017-03-30",
"type": "Microsoft.Compute/virtualMachines",
"name": "[parameters('dnsLabelPrefix')]",
"location": "[parameters('location')]",
Expand All @@ -161,19 +161,13 @@
"version": "latest"
},
"osDisk": {
"name": "osdisk",
"vhd": {
"uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('storageAccountName')), '2015-06-15').primaryEndpoints.blob,'vhds/',parameters('dnsLabelPrefix'), 'disk0.vhd')]"
},
"name": "[concat(parameters('dnsLabelPrefix'),'_OsDisk')]",
"caching": "ReadWrite",
"createOption": "FromImage"
},
"dataDisks": [
{
"name": "myvm-data-disk1",
"vhd": {
"uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('storageAccountName')), '2015-06-15').primaryEndpoints.blob,'vhds/',parameters('dnsLabelPrefix'), 'disk1.vhd')]"
},
"name": "[concat(parameters('dnsLabelPrefix'),'_dataDisk1')]",
"caching": "None",
"createOption": "Empty",
"diskSizeGB": "1000",
Expand Down
3 changes: 2 additions & 1 deletion 201-vm-domain-join/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": "Join a VM to an existing domain",
"description": "This template demonstrates domain join to a private AD domain up in cloud.",
"summary": "This template joins a VM to an existing domain",
"githubUsername": "singhkays",
"dateUpdated": "2017-05-12"
"dateUpdated": "2018-05-25"
}

0 comments on commit 726cce2

Please sign in to comment.