CmdID / az / az dns-resolver / az dns-resolver forwarding-ruleset
az dns-resolver forwarding-ruleset update
Update a DNS forwarding ruleset. Azure CLI extensions reference
1 example 4 options Its page in the Azure CLI extensions reference
Examples
Update DNS forwarding ruleset
az dns-resolver forwarding-ruleset update --name "sampleDnsForwardingRuleset" --tags key1="value1" --resource-group "sampleResourceGroup"Identify--nameThe name of the DNS forwarding ruleset.--tagsSpace-separated tags: key[=value] [key[=value] ...].--resource-groupName of resource group.Options
--dns-forwarding-ruleset-name, --name, -nThe name of the DNS forwarding ruleset.--if-matchETag of the resource.--if-none-matchSet to '*' to allow a new resource to be created, but to prevent updating an existing resource.--tagsSpace-separated tags: key[=value] [key[=value] ...].