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.
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...