CmdID / az / az dns-resolver / az dns-resolver policy / az dns-resolver policy dns-security-rule
az dns-resolver policy dns-security-rule update
Update a DNS security rule for a DNS resolver policy. Azure CLI extensions reference
10 options Its page in the Azure CLI extensions reference
Options
--actionThe action to take on DNS requests that match the DNS security rule.--dns-security-rule-name, --name, -nThe name of the DNS security rule.--domain-listsDNS resolver policy domains lists that the DNS security rule applies to.--if-matchETag of the resource.--if-none-matchSet to '*' to allow a new resource to be created, but to prevent updating an existing resource.--managed-domain-listsManaged domain lists that the DNS security rule applies to.--policy-nameThe name of the DNS resolver policy.--priorityThe priority of the DNS security rule.--rule-stateThe state of DNS security rule.--tagsResource tags.