Click the Configure tab in the virtual machine control panel.
To connect a virtual machine to a network, click on Connect in the command bar and select the Network tab. To connect the virtual machine to the network, you must create a virtual network in the subscription. Please refer to Network configuration.
Select an available virtual network in the subscription to connect the VM to.
Virtual machines in a private virtual network are not available from the publicly accessible internet, if internet access is not enabled for the virtual machine, and the NAT rules are not configured.
To disconnect a virtual machine from the network, select the device in the list and click Disconnect on the command bar.