CmdID

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

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

Examples

from the Azure CLI, each command read by CmdID

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

5 in the Azure CLI extensions reference
--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.