CmdID / az / az dns-resolver / az dns-resolver vnet-link
az dns-resolver vnet-link update
Updates a virtual network link to a DNS forwarding ruleset. Azure CLI extensions reference
1 example 5 options Its page in the Azure CLI extensions reference
Examples
Update virtual network link to a DNS forwarding ruleset
az dns-resolver vnet-link update --ruleset-name "sampleDnsForwardingRuleset" --metadata additionalProp1="value1" --resource-group "sampleResourceGroup" --name "sampleVirtualNetworkLink"Identify--ruleset-nameThe name of the DNS forwarding ruleset.--metadataMetadata attached to the forwarding rule.--resource-groupName of resource group.--nameThe name of the virtual network link.Options
--if-matchETag of the resource.--if-none-matchSet to '*' to allow a new resource to be created, but to prevent updating an existing resource.--metadataMetadata attached to the forwarding rule.--ruleset-nameThe name of the DNS forwarding ruleset.--virtual-network-link-name, --name, -nThe name of the virtual network link.