Created
March 14, 2016 14:56
-
-
Save nmatpt/2f37508a9e4a9141c7dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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" | |
}, | |
"adminUserName": { | |
"type": "string" | |
}, | |
"adminPassword": { | |
"type": "securestring" | |
}, | |
"networkInterfaceId": { | |
"type": "string" | |
} | |
}, | |
"resources": [ | |
{ | |
"apiVersion": "2015-06-15", | |
"properties": { | |
"hardwareProfile": { | |
"vmSize": "[parameters('vmSize')]" | |
}, | |
"storageProfile": { | |
"osDisk": { | |
"osType": "Linux", | |
"name": "codacyasdasddas-osDisk.248990c4-b6bb-42e3-ba5f-25894369d95d.vhd", | |
"createOption": "FromImage", | |
"image": { | |
"uri": "http://codacyworker001.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/codacyasdasddas-osDisk.248990c4-b6bb-42e3-ba5f-25894369d95d.vhd" | |
}, | |
"vhd": { | |
"uri": "http://codacyworker001.blob.core.windows.net/vmcontainerc6bd8ed4-7131-48a3-817f-ed9ec6f04976/osDisk.c6bd8ed4-7131-48a3-817f-ed9ec6f04976.vhd" | |
}, | |
"caching": "ReadWrite" | |
} | |
}, | |
"osProfile": { | |
"computerName": "[parameters('vmName')]", | |
"adminUsername": "[parameters('adminUsername')]", | |
"adminPassword": "[parameters('adminPassword')]" | |
}, | |
"networkProfile": { | |
"networkInterfaces": [ | |
{ | |
"id": "[parameters('networkInterfaceId')]" | |
} | |
] | |
}, | |
"diagnosticsProfile": { | |
"bootDiagnostics": { | |
"enabled": true, | |
"storageUri": "http://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