CmdID / az / az dns-resolver / az dns-resolver domain-list
az dns-resolver domain-list create
Create a DNS resolver domain list. Azure CLI extensions reference
2 examples 5 options Its page in the Azure CLI extensions reference
Examples
Upsert DNS resolver domain list
az dns-resolver domain-list create --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.Upsert DNS resolver domain list with no domains (for usage with bulk API)
az dns-resolver domain-list create --resource-group sampleResourceGroup --dns-resolver-domain-list-name sampleDnsResolverDomainList --location westus2 --tags "{key1:value1}"Identify--resource-groupName of resource group.--dns-resolver-domain-list-nameThe name of the DNS resolver domain list.--locationLocation.--tagsResource tags.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.