Add the option to create a DNS record for bastion deployed to Azure (#3675)

This is rather convenient if you want to configure exceptions on a
company firewall.
This commit is contained in:
Thomas Nys
2018-11-09 11:30:35 +01:00
committed by Antoine Legrand
parent dc3195310c
commit fb9155c450
2 changed files with 10 additions and 1 deletions

View File

@@ -15,7 +15,12 @@
"name": "{{bastionIPAddressName}}",
"location": "[resourceGroup().location]",
"properties": {
"publicIPAllocationMethod": "Static"
"publicIPAllocationMethod": "Static",
"dnsSettings": {
{% if bastion_domain_prefix %}
"domainNameLabel": "{{ bastion_domain_prefix }}"
{% endif %}
}
}
},
{