At this point, we have a network infrastructure over the cloud that is ready to accept new VMs:

Now, we need to define a task to create a virtual machine in an ARM VN. It is a two-phase task:
Create a connection for a VM in an ARM VN.
Create the ARM VM.
Let's start from the connection to the VM. In general, any device that connects to a network has a network card, or a Network Interface (NI). It has some characteristics:
It has a private address that is from the address space of the subnet. The IP can be dynamic or static. Dynamic means that the IP address is dynamically assigned by a DHCP service because it is inside a subnet in a VN. Static means that the IP address is assigned during the creation or configuration of the NI. As a rule, an IP address should be used as dynamic. There is always name resolution through Azure DNS; that is, a VM can be reached by its name, and DNS automatically resolve its IP address. Choose a fixed...