I am trying to spinup Azure VM with no publick DNS using ARM template simple Linux VM
But I want dont want Publick DNS on this VM just private IP. I tried to remove following part related to public IP
"publicIPAddressName": "myPublicIP",
"publicIPAddressType": "Dynamic",
and
{
"apiVersion": "[variables('apiVersion')]",
"type": "Microsoft.Network/publicIPAddresses",
"name": "[variables('publicIPAddressName')]",
"location": "[resourceGroup().location]",
"properties": {
"publicIPAllocationMethod": "[variables('publicIPAddressType')]",
"dnsSettings": {
"domainNameLabel": "[parameters('dnsLabelPrefix')]"
}
}
},
but i ran into trouble when running the template.
So would appreciate if anyone know how to do this ?
Thanks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.