Azure Resource Manager Template Visualisation with ARMVIZ

Azure Resource Manager Template Visualisation with ARMVIZ

Here's another quick tip for those of you, like me, working with the Azure Resource Manager in various ways. If you're designing templates, there's a pretty slick template visualization tool available called ARMVIZ. Edit and Visualize your ARM templates It's pretty basic and simplistic. It gives you an overview of what your Azure Resource Manager template looks like and visualizes them in a comprehensible diagram. Designer: Editor: Visualize your own ARM Templates Since you can easily choose a file from disk or copy-paste code into the editor in order to visualize it, you could also go to your Azure Portal…

Read More

Azure Resource Manager tools for Visual Studio Code

Azure Resource Manager tools for Visual Studio Code

Tip of the day... If you're the Visual Studio Code kind of person, and you design Azure Resource Manager (ARM) templates for your Azure infrastructure, this extension might come in handy. The Azure Resource Manager Tools extension for Visual Studio Code is a light-weight alternative to the Visual Studio Enterprise template design interface. Install and Enable Azure Resource Manager Tools for VS Code From within Visual Studio Code, bring up the command menu (F1 on Windows) and enter ext install and hit Enter: Use the search box and enter azurerm and search for it, and install the extension as seen…

Read More

Azure Resource Manager - Part 8 - Export Template for Resources in a Resource Group with the REST API

Azure Resource Manager - Part 8 - Export Template for Resources in a Resource Group with the REST API

Background This blog post will be about how to in the easiest way possible (well, as a developer anyway) export a JSON template from the Azure Resource Manager. If you're using the ARM (Azure Resource Manager) just like me and you aare automating a lot of tasks and deployments - one thing that sometimes happen is that a resource group deviates from the original template after being modified or additional resources were added manually, or any other valid approach that happens in the real world (even if they're not always ideal). Falling in line with this blog series, I'll show…

Read More

Azure Resource Manager - Part 7 - Download an Azure Publishing Profile (xml) programmatically using REST

Azure Resource Manager - Part 7 - Download an Azure Publishing Profile (xml) programmatically using REST

Background Around the web there's a lot of tips on how you can manually download the publishing profile for e.g. a Web Site, API App or other resource in Azure. From the modern Azure Portal this is very simple from the UI: However, one of the main things I've been searching for is a way to do this fully automated from my code, scripts or other automatic processes - in order to avoid those manual steps, but also to ensure that I always get the correct and updated data (like deployment credentials). In this post we'll take a look…

Read More

Azure Resource Manager - Part 6 - Move Azure Resources from one Resource Group to another

Azure Resource Manager - Part 6 - Move Azure Resources from one Resource Group to another

In the past recent months I've been turning inside out on various parts of Azure, including the Azure Resource Manager (ARM) and what it offers. If you're looking for the basics of getting started, please check out the other posts in this article series. Start here. Background I love how we can work with resources in Resource Groups, and keep them grouped for easy findability, configuration and manageability. One of the things I've been looking for is an automatic way to move resources between my resource groups. In this post we'll quickly check out how to do just that, using…

Read More

Developing with Azure Resource Manager - Part 5 - Tip: Get all available api-version alternatives for the ARM endpoints

Developing with Azure Resource Manager - Part 5 - Tip: Get all available api-version alternatives for the ARM endpoints

Introduction I've worked with the Azure Resource Manager API's extensively over the last 6 months. While doing so I've realized that the API versions changes and there's new functionality available. In order to know what versions are out there (and to be sure that's the full truth, given the documentation on MSDN is suffering from a severe lag in updates...), there's a few tricks I'm doing to list all available versions of a provider in the ARM REST API endpoints. Please note. This post assumes you've already got your ARM AAD apps set up and you're authenticated to use the…

Read More

Developing with Azure Resource Manager - Part 4 - Tip: Azure Resource Explorer

Introduction One of the tools I've used a LOT recently is the Azure Resource Explorer. This is a site which gives you a pretty thorough insight into what the Azure Resource Manager REST API endpoints looks like, and you can try them out live. A word of caution: This tool can create, read, update and delete (the full CRUD) in your subscription, if youre account allows it. This means I would suggest caution with what account you're signed in with, and which subscription/tenant you're selecting before trying it out! Azure Resource Explorer If you're keen on investigating the Azure…

Read More

Developing with Azure Resource Manager - Part 3 - Build an application using C# which is using the Azure Resource Manager API's

Developing with Azure Resource Manager - Part 3 - Build an application using C# which is using the Azure Resource Manager API's

Introduction Welcome to Part 3 in the Developing with Azure Resource Manager series. In the first part we took a look at what is required to set up the proper authentication in order for us to start developing with ARM. In this article we will take a look at how we can utilize C# and the new Microsoft.Azure.ResourceManager NuGet packages to abstract away all the REST API endpoints. The reason that I want to highlight the C# NuGet packages is that it is a lot easier to build an application using these wrapper classes for the API rather…

Read More