azuredeploy.json

This is the file that contains the code version of the VM being deployed.  It is made up of parameters, which are provided or overwritten by the preceding parameters file.  The JSON defines three resources: a VNET, a VM, and a NIC resource.  Let's look at how the resources in this file are added and how the sections are broken down. To add resources, you just need to right-click on the resource element in Visual Studio, as you can see in the following screenshot:

Adding a resource to an ARM Template in Visual Studio

The parameters are the input to the template and are the values that are provided by the parameters file: ...

Get Hands-On Cloud Solutions with Azure now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.