ARM Templates contd..
- Parameters in arm templates Refer Here for official docs.
- Lets use parameters for vnet names, subnet names, address spaces for vnet and subnet. Refer Here for the changes

- In ARM Templates, variables are also supported.
- Parameters are the values provided as input by the user
- Variables the values that can be calculated with in template
- Refer Here for the changes done
- Now lets make our template dynamic by using function Refer Here
- In our template, we have to create 3 subnet resources, in future this can be more, so now lets write this template to create a virtual network with dynamic number of subnets
- Refer Here for the changes done
