-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdnsSettings.json
50 lines (50 loc) · 1.69 KB
/
dnsSettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "2017.09.01.0",
"parameters": {
"dnsServers": {
"type": "array",
"defaultValue": [ ],
"metadata": {
"description": "List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection."
}
},
"internalDnsNameLabel": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Relative DNS name for this NIC used for internal communications between VMs in the same virtual network."
}
},
"internalDomainNameSuffix": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix."
}
},
"internalFqdn": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Fully qualified DNS name supporting internal communications between VMs in the same virtual network."
}
}
},
"variables": {
"comments": {
"definition": "https://docs.microsoft.com/en-us/rest/api/virtualnetwork/networkinterfaces/createorupdate#networkinterfacednssettings"
},
"dnsSettings": {
"dnsServers": "[parameters('dnsServers')]"
}
},
"resources": [
],
"outputs": {
"dnsSettings": {
"type": "object",
"value": "[variables('dnsSettings')]"
}
}
}