CmdID

CmdID / az / az dns-resolver / az dns-resolver forwarding-ruleset

az dns-resolver forwarding-ruleset list

Lists DNS forwarding rulesets in all resource groups of a subscription. Azure CLI extensions reference

3 examples 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

List DNS forwarding rulesets by virtual network

az dns-resolver forwarding-ruleset list --resource-group "sampleResourceGroup" --virtual-network-name "sampleVirtualNetwork"Identify
--resource-groupName of resource group.
--virtual-network-nameThe name of the virtual network.

List DNS forwarding rulesets by resource group

az dns-resolver forwarding-ruleset list --resource-group "sampleResourceGroup"Identify
--resource-groupName of resource group.

List DNS forwarding rulesets by subscription

az dns-resolver forwarding-ruleset listIdentify

Options

3 in the Azure CLI extensions reference
--resource-group, -gName of resource group.
--topThe maximum number of results to return.
--virtual-network-nameThe name of the virtual network.