CmdID

CmdID / az / az dns-resolver / az dns-resolver forwarding-rule

az dns-resolver forwarding-rule delete

Deletes a forwarding rule in a DNS forwarding ruleset. Azure CLI extensions reference

WARNING: This operation cannot be undone.

1 example 3 options Its page in the Azure CLI extensions reference

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

Examples

from the Azure CLI, each command read by CmdID

Delete forwarding rule in a DNS forwarding ruleset

az dns-resolver forwarding-rule delete --ruleset-name "sampleDnsForwardingRuleset" --name "sampleForwardingRule" --resource-group "sampleResourceGroup"Identify
--ruleset-nameThe name of the DNS forwarding ruleset.
--nameThe name of the forwarding rule.
--resource-groupName of resource group.

Options

3 in the Azure CLI extensions reference
--forwarding-rule-name, --name, -nThe name of the forwarding rule.
--if-matchETag of the resource.
--ruleset-nameThe name of the DNS forwarding ruleset.