Skip to content

Instantly share code, notes, and snippets.

@nmatpt
Created March 2, 2016 18:44
Show Gist options
  • Save nmatpt/6d8015c9b70e67f85d55 to your computer and use it in GitHub Desktop.
Save nmatpt/6d8015c9b70e67f85d55 to your computer and use it in GitHub Desktop.
{"$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')]","adminPassword":"[parameters('adminPassword')]"},"networkProfile":{"networkInterfaces":[{"id":"[parameters('networkInterfaceId')]"}]},"diagnosticsProfile":{"bootDiagnostics":{"enabled":true,"storageUri":"https://codacyworker001.blob.core.windows.net/"}},"provisioningState":0},"name":"[parameters('vmName')]","type":"Microsoft.Compute/virtualMachines","location":"northeurope"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment