After we had a look into ARM Templates overall, I wanted to help you to get your hands on those Templates. For this you can use any editor, even things like notepad. As it is just a declarative form of notation. But to make things easier, I would recommend to use Visual Studio Code, with some Extensions.
Where to get Visual Studio Code?!
If you have not yet installed VS Code or never heard of it … it is about time for it. Some of you may know Visual Studio … the heavy application for developers 🙂 … yeah, this is what I thought in the past too.
But when we talk about VS Code:
Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).
When you open VS Code for the first time you are ready to go with your first document:
Here you could start to work with your first documents and source codes. But if you want to work with Azure and use it for ARM templates, I recommend to install some Extensions first.
The Marketplace for extensions has grown like hell … but I still have some favorite extensions, I would like to share here.
Azure Tools – this extension will install many other extensions like Azure Storage or even the Azure Account extension. It helps you to easily integrate your online Azure environment into VS Code. After installing this you will see an Azure icon on the left, where you can log-in to Azure and manage your resources:
JSON Tools – With the JSON tools from Erik Lynd you can easily prettify your JSONs by pressing Ctrl+Alt+M:
Azure Resource Manager (ARM) Tools – this is one more extension that will help being faster and get the best out of VS Code. It provides:
IntelliSense
ARM Snippets
ARM Template outline
Syntax Analysis
Colorization
…
How to work with ARM?!
With all those extensions installed you can not start … but how?! There are multiple ways. As described in an earlier post you can go and copy from a Repo or your existing Azure Resources. You could also start writing the template from scratch…
But with the installed extensions you are ready to go directly out of VS Code.
Inside a .json file you now can easily type “arm” and a list of snippets will appear that you can use to easily insert whole sections into the template.
On the left side you can see the outline of your ARM Template. That helps managing larger templates as you can go through the resources visually.
In the console area you are able to directly see all issues that exist in your template. This can me a simple missing comma, or a huge syntax error.
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Public preview: SAP S/4HANA events are now available on Azure Event Grid Forrester Total Economic Impact study: Azure Arc delivers 206 percent ROI over 3 years General availability: Azure Sphere OS version 22.10 Generally available: Azure Communication Services…
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Generally available: SFTP support for Azure Blob Storage Leverage SFTP support for Azure Blob Storage to build a unified data lake Azure Virtual WAN simplifies networking needs General availability: Azure Premium SSD v2 Disk Storage General availability: OpenTelemetry…
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Generally available: Kusto Trender Public preview: Enhanced soft delete for Azure Backup Public preview: Multi-user authorization for Backup vaults Public preview: Immutable vaults for Azure Backup General availability: Azure NetApp Files application volume group for SAP HANA Generally…
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Scalable management of virtualized RAN with Kubernetes Cost optimization using Azure Migrate Public preview: Azure Firewall Basic Generally available: Query Store hints Azure SQL Database, Azure SQL Managed Instance Azure Firewall Basic now in preview Microsoft and INT…
Also this week there were many news around Microsoft Azure! Here as always the overview for you: Public preview: Policy analytics for Azure Firewall General availability: ExpressRoute FastPath support for Vnet peering and UDRs Strengthen your security with Policy Analytics for Azure Firewall Ensure zone resilient outbound connectivity with NAT gateway Azure SQL—General availability updates…
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here:
Cookie Policy
Leave a comment