O'Reilly logo

Hands-On Networking with Azure by Mohamed Waly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Associating NSG with a subnet using Azure CLI

To attach the NSG that was created earlier to a subnet using Azure CLI, you can run the following command:

az network vnet subnet update --vnet-name CLIVNet --name S1--resource-group PacktPub--network-security-group CLINSG

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required