The same process that we discussed earlier also applies here, although there is one difference: it can be done using the following single command:
az network nsg rule create --resource-group PacktPub --nsg-name CLINSG --name allow-https --description "Allow access to port 80 for HTTP"
--access Allow --protocol Tcp --direction Inbound --priority 1030
--source-address-prefix "*" --source-port-range "*"
--destination-address-prefix "*" --destination-port-range "80"