I would like to create a set of rules for my NSG outbound section to allow connections to Azure services only. There is the article of how to achieve this with PowerShell but I use Linux with Azure CLI.
Everything looks quite easy except the problem related to the number of rules: for Europe West region it is 349 currently. So, adding them rule by rule with 'network nsg rule create' command will take hours.
Are there any way to automate adding of rules as a group with Azure CLI?