CmdID

CmdID / az / az dns-resolver / az dns-resolver policy / az dns-resolver policy dns-security-rule

az dns-resolver policy dns-security-rule create

Create a DNS security rule for a DNS resolver policy. Azure CLI extensions reference

10 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

10 in the Azure CLI extensions reference
--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.