Tag Archives: Azure Resource Manager

Referring to resource group tags in your Azure Resource Manager templates

Just a short blog post for a small useful hint. Assuming you are familiar with the Azure Resource Manager tags, I want to show you how you can refer to the resource group tags in your templates. That said, you only define the tags at the resource group level and you want to use them for every resource that is going to be deployed in this specific resource group. First you have to define the tags Read more [...]

Using the latest API version in your Azure Resource Manager templates

I got a bit tired of checking which API version is the latest one and modifying my API variables in my ARM templates. So I investigated and tested a little bit and found a solution on how to get the latest API version every time. You can do this via the provider resource function in your ARM templates. -> https://azure.microsoft.com/en-us/documentation/articles/resource-group-template-functions/#providers Let Read more [...]

Azure IaaS ARM Template – Enable Boot Diagnostics per Default

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'),'.', Read more [...]

Azure IaaS ARM Template – Installing BGInfo VM Extension

When you want to install the BGInfo VM extension during the Azure VM deployment through an ARM template, then you have to add the following lines to your template. { "apiVersion": "2015-06-15", "type": "Microsoft.Compute/virtualMachines/extensions", "name": "[concat(variables('vmName'),'/', parameters('vmBGInfo'))]", "location": "[parameters('location')]", "dependsOn": [ Read more [...]