Unable to Create Private Endpoint Without DNS Configuration Using Azure CLI #31027
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
Network
az network vnet/lb/nic/dns/etc...
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Type of issue
Missing information
Reference command name
az network private-endpoint create
Feedback
I am trying to create a Private Endpoint using the Azure CLI without DNS configuration (i.e., without customDnsConfigs). However, when I run the az network private-endpoint create command, Azure automatically assigns a DNS configuration.
I have checked documentation: https://learn.microsoft.com/en-us/cli/azure/network/private-endpoint?view=azure-cli-latest#az-network-private-endpoint-create.
But I cannot find any argument that allows me to disable or prevent the automatic DNS configuration.
In the Azure Portal, there's a "Disable" button for DNS configuration when creating a Private Endpoint, but I can't find a similar option in Azure CLI. Is there a way to disable it during creation, or do I need to remove it separately?
Page URL
https://learn.microsoft.com/en-us/cli/azure/network/private-endpoint?view=azure-cli-latest#az-network-private-endpoint-create.
Content source URL
https://learn.microsoft.com/en-us/cli/azure/network/private-endpoint?view=azure-cli-latest#az-network-private-endpoint-create.
Author
@noorjahans
Document Id
No response
The text was updated successfully, but these errors were encountered: