CmdID / az / az dns-resolver / az dns-resolver domain-list
az dns-resolver domain-list update
Update a DNS resolver domain list. Azure CLI extensions reference
1 example 5 options Its page in the Azure CLI extensions reference
Examples
Update DNS resolver domain list example
az dns-resolver domain-list update --resource-group sampleResourceGroup --dns-resolver-domain-list-name sampleDnsResolverDomainList --location westus2 --tags "{key1:value1}" --domains "[contoso.com]"Identify--resource-groupName of resource group.--dns-resolver-domain-list-nameThe name of the DNS resolver domain list.--locationLocation.--tagsResource tags.--domainsThe domains in the domain list.Options
--dns-resolver-domain-list-name, --name, -nThe name of the DNS resolver domain list.--domainsThe domains in the domain list.--if-matchETag of the resource.--if-none-matchSet to '*' to allow a new resource to be created, but to prevent updating an existing resource.--tagsResource tags.