Skip to content

Instantly share code, notes, and snippets.

{"$schema":"http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json","contentVersion":"1.0.0.0","parameters":{"vmName":{"type":"string"},"vmSize":{"type":"string","defaultValue":"Standard_D3_v2"},"adminUserName":{"type":"string"},"adminPassword":{"type":"securestring"},"networkInterfaceId":{"type":"string"}},"resources":[{"apiVersion":"2015-06-15","properties":{"hardwareProfile":{"vmSize":"[parameters('vmSize')]"},"storageProfile":{"osDisk":{"osType":"Linux","name":"vhd-prefix-osDisk.0de116d2-b16b-482e-a86a-e59c694150d8.vhd","createOption":"FromImage","image":{"uri":"https://codacyworker001.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/vhd-prefix-osDisk.0de116d2-b16b-482e-a86a-e59c694150d8.vhd"},"vhd":{"uri":"https://codacyworker001.blob.core.windows.net/vmcontainer36460f1e-7ec9-4fc9-a286-ac17b02f697f/osDisk.36460f1e-7ec9-4fc9-a286-ac17b02f697f.vhd"},"caching":"ReadWrite"}},"osProfile":{"computerName":"[parameters('vmName')]","adminUsername":"[parameters('adminUsername')]","admin
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"userImageStorageAccountName": {
"type": "string",
"metadata": {
"description": "This is the name of the your storage account"
}
},
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/VM_IP.json",
"contentVersion": "1.0.0.0",
"parameters": {
"vmName": {
"type": "string"
},
"vmSize": {
"type": "string",
"defaultValue": "Standard_A2"
alert("evil!");