CmdID / az / az network / az network nic
az network nic list-effective-nsg
List all effective network security groups applied to a network interface. Azure CLI reference
1 option Its page in the Azure CLI reference
Options
--name, -nName of the network interface (NIC).