Networking in Azure
A network security group (NSG) is a collection of firewall rules that can be applied to a machine.
az network public-ip show \
--resource-group myResourceGroup \
--name myVMPublicIP \
--query [ipAddress] \
--output tsv