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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset