Skip to content
Open

w #2

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arm_veegam.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","parameters":{"newStorageAccountName":{"type":"string","metadata":{"description":"This is the name of the your storage account"}},"vmDnsName":{"type":"string","metadata":{"description":"This is the unique DNS name of the for the public IP for your VM"}},"adminUsername":{"type":"string","metadata":{"description":"This is the username you wish to assign to your VMs admin account"}},"adminPassword":{"type":"securestring","metadata":{"description":"This is the password you wish to assign to your VMs admin account"}},"mySqlPassword":{"type":"securestring","metadata":{"description":"Password for your mySQL account"}},"vmSize":{"type":"string","metadata":{"description":"Size of VM"}}},"variables":{"nicName":"VMNic","addressPrefix":"10.0.0.0/16","imagePublisher":"Canonical","imageVersion":"latest","imageSKU":"14.04.2-LTS","imageOffer":"UbuntuServer","subnetName":"Subnet-1","subnetPrefix":"10.0.0.0/24","storageAccountType":"Standard_LRS","publicIPAddressName":"publicIP","publicIPAddressType":"Dynamic","vmStorageAccountContainerName":"vhds","vmName":"[parameters('vmDnsName')]","virtualNetworkName":"WPVNET","vnetID":"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]","subnetRef":"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]"},"resources":[{"type":"Microsoft.Storage/storageAccounts","name":"[parameters('newStorageAccountName')]","apiVersion":"2015-05-01-preview","location":"[resourceGroup().location]","properties":{"accountType":"[variables('storageAccountType')]"}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/publicIPAddresses","name":"[variables('publicIPAddressName')]","location":"[resourceGroup().location]","properties":{"publicIPAllocationMethod":"[variables('publicIPAddressType')]","dnsSettings":{"domainNameLabel":"[parameters('vmDnsName')]"}}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/virtualNetworks","name":"[variables('virtualNetworkName')]","location":"[resourceGroup().location]","properties":{"addressSpace":{"addressPrefixes":["[variables('addressPrefix')]"]},"subnets":[{"name":"[variables('subnetName')]","properties":{"addressPrefix":"[variables('subnetPrefix')]"}}]}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Network/networkInterfaces","name":"[variables('nicName')]","location":"[resourceGroup().location]","dependsOn":["[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]","[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"],"properties":{"ipConfigurations":[{"name":"ipconfig1","properties":{"privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"},"subnet":{"id":"[variables('subnetRef')]"}}}]}},{"apiVersion":"2015-05-01-preview","type":"Microsoft.Compute/virtualMachines","name":"[variables('vmName')]","location":"[resourceGroup().location]","dependsOn":["[concat('Microsoft.Storage/storageAccounts/', parameters('newStorageAccountName'))]","[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"],"properties":{"hardwareProfile":{"vmSize":"[parameters('vmSize')]"},"osProfile":{"computername":"[variables('vmName')]","adminUsername":"[parameters('adminUsername')]","adminPassword":"[parameters('adminPassword')]"},"storageProfile":{"imageReference":{"publisher":"[variables('imagePublisher')]","offer":"[variables('imageOffer')]","sku":"[variables('imageSKU')]","version":"[variables('imageVersion')]"},"osDisk":{"name":"osdisk1","vhd":{"uri":"[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmStorageAccountContainerName'),'/','osdisk1.vhd')]"},"caching":"ReadWrite","createOption":"FromImage"}},"networkProfile":{"networkInterfaces":[{"id":"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"}]}}},{"type":"Microsoft.Compute/virtualMachines/extensions","name":"[concat(variables('vmName'),'/newuserscript')]","apiVersion":"2015-05-01-preview","location":"[resourceGroup().location]","dependsOn":["[concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"],"properties":{"publisher":"Microsoft.OSTCExtensions","type":"CustomScriptForLinux","typeHandlerVersion":"1.4","settings":{"fileUris":["https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/wordpress-single-vm-ubuntu/install_wordpress.sh"]},"protectedSettings":{"commandToExecute":"[concat('sh install_wordpress.sh ', parameters('mySqlPassword'))]"}}}]}dddd