We already talked about ARM templates and how they can help us automate things. For this chapter, I created a virtual network and joined one virtual machine to that network.
If you move to automation, you can find an ARM template in JSON format that you can use to redeploy my resources. The ARM template will contain all the resources and all the settings: a virtual network and parameters, a virtual machine with information about the image and size, NSG rules, and so on. It will contain information on all dependencies and information on what needs to be created first. For example, in order to create a VM, a subnet needs to be created in order to join the VM to that subnet, and a subnet can't be created until a VNet is created.
Note that some parameters, such as passwords, are not provided as a password isn't allowed to be shown in clear text, but only...