Azure IaaS ARM Template – Enable Boot Diagnostics per Default

Datetime:2016-08-23 04:03:12          Topic: IaaS  Windows Azure           Share

One great thing Microsoft had introduced last year to the Azure platform was the boot diagnostics capability. Looking at an ARM template you can add the following lines to the VM definition to activate the boot diagnostics for your VM per default.

"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": "true",
"storageUri": "[concat('http://',parameters('newStorageAccountName'),'.', parameters('blobStorageEndpoint'))]"
}
}

Have a look at the following screenshots which parameters I am using and where to place the diagnosticsProfile section in the VM definition.

After a successful deployment you should see the boot diagnostics information in the Azure Portal.





About List