Skip to content

Commit

Permalink
Updating comprehensive to create 2 nics and 2 discs
Browse files Browse the repository at this point in the history
  • Loading branch information
MahendraAgrawal committed Mar 31, 2017
1 parent 96ce32d commit d85ddfc
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions 201-Comprehensive/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"variables": {
"storageAccountType": "Standard_LRS",
"vmName": "[tolower(concat('vm', resourceGroup().name))]",
"VMSize": "Standard_A2",
"VMSize": "Standard_A3",
"dnsPrefix": "[tolower(concat('vmdns', resourceGroup().name))]",
"vmNetworkSubnet": "10.0.0.0/24",
"virtualNetworkAddressRange": "10.0.0.0/16",
Expand Down Expand Up @@ -247,25 +247,41 @@
"createOption": "FromImage"
},
"dataDisks": [
{
{
"vhd": {
"uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('storageName')),providers('Microsoft.Storage', 'storageAccounts').apiVersions[0]).primaryEndpoints.blob, variables('vmContainerName'),'/', variables('vmName'), '0','data-1.vhd')]"
},
"name": "[concat(variables('vmName'), '0','-data-disk1')]",
"createOption": "Empty",
"caching": "None",
"diskSizeGB": "[variables('dataDiskSize')]",
"lun": 0
},
{
"vhd": {
"uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('storageName')),providers('Microsoft.Storage', 'storageAccounts').apiVersions[0]).primaryEndpoints.blob, variables('vmContainerName'),'/', variables('vmName'), '0','data-1.vhd')]"
"uri": "[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('storageName')),providers('Microsoft.Storage', 'storageAccounts').apiVersions[0]).primaryEndpoints.blob, variables('vmContainerName'),'/', variables('vmName'), '0','data-2.vhd')]"
},
"name": "[concat(variables('vmName'), '0','-data-disk1')]",
"name": "[concat(variables('vmName'), '0','-data-disk2')]",
"createOption": "Empty",
"caching": "None",
"diskSizeGB": "[variables('dataDiskSize')]",
"lun": 0
"lun": 1
}
]
},
"networkProfile": {
"networkInterfaces": [
{
{
"properties": {
"primary": true
},
"id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('NICPrefix'), '0'))]"
},
{
"properties": {
"primary": true
"primary": false
},
"id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('NICPrefix'), '0'))]"
"id": "[resourceId('Microsoft.Network/networkInterfaces',concat(variables('NICPrefix'), '1'))]"
}
]
}
Expand Down

0 comments on commit d85ddfc

Please sign in to comment.