CmdID / az / az dns-resolver / az dns-resolver outbound-endpoint
az dns-resolver outbound-endpoint create
Create an outbound endpoint for a DNS resolver. Azure CLI extensions reference
1 example 6 options Its page in the Azure CLI extensions reference
Examples
Upsert outbound endpoint for DNS resolver
az dns-resolver outbound-endpoint create --dns-resolver-name "sampleDnsResolver" --name "sampleOutboundEndpoint" --location "westus2" --id "/subscriptions/0403cfa9-9659-4f33-9f30-1 f191c51d111/resourceGroups/sampleVnetResourceGroupName/providers/Microsoft.Network/virtualNe tworks/sampleVirtualNetwork/subnets/sampleSubnet" --tags key1="value1" --resource-group "sampleResourceGroup"Identify--dns-resolver-nameThe name of the DNS resolver.--nameThe name of the outbound endpoint for the DNS resolver.--locationLocation.--idResource ID.--tagsSpace-separated tags: key[=value] [key[=value] ...].--resource-groupName of resource group.Options
--dns-resolver-nameThe name of the DNS resolver.--idResource ID.--if-matchETag of the resource.--if-none-matchSet to '*' to allow a new resource to be created, but to prevent updating an existing resource.--outbound-endpoint-name, --name, -nThe name of the outbound endpoint for the DNS resolver.--tagsSpace-separated tags: key[=value] [key[=value] ...].