зеркало из
1
0
Форкнуть 0

updated the vpn bb to support the domain name label

This commit is contained in:
RohitSharma-pnp 2016-09-14 18:39:51 -07:00
Родитель 2424612c54
Коммит 4b3cdd30d0
2 изменённых файлов: 21 добавлений и 8 удалений

Просмотреть файл

@ -19,7 +19,7 @@
"publicIPAllocationMethod": "Dynamic",
"startingIPAddress": "10.0.0.240",
"enableIPForwarding": true,
"domainNameLabel": "",
"domainNameLabel": "bb-dev-dns",
"dnsServers": [
],
"isPrimary": "true"

Просмотреть файл

@ -13,16 +13,29 @@
"variables": {
"templateUniqueString": "[uniqueString(concat(string(parameters('deploymentContext')), string(parameters('virtualNetworkSettings')), string(parameters('virtualNetworkGatewaySettings'))))]",
"publicIPAddressName": "[concat(parameters('virtualNetworkGatewaySettings').name, '-pip')]",
"publicIPAddressReferenceTemplateName": "[concat(parameters('deploymentContext').parentTemplateUniqueString, '-', variables('publicIPAddressName'), 'Ref-', variables('templateUniqueString'))]"
"publicIPAddressReferenceTemplateName": "[concat(parameters('deploymentContext').parentTemplateUniqueString, '-', variables('publicIPAddressName'), 'Ref-', variables('templateUniqueString'))]",
"deploymentName": "[concat(parameters('deploymentContext').parentTemplateUniqueString, '-pip-', variables('templateUniqueString'))]",
"pipTemplate": "[uri(deployment().properties.templateLink.uri, '../publicIPAddresses/publicIPAddress.json')]"
},
"resources": [
{
"apiVersion": "2016-03-30",
"type": "Microsoft.Network/publicIPAddresses",
"name": "[variables('publicIPAddressName')]",
"location": "[resourceGroup().location]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2015-01-01",
"name": "[variables('deploymentName')]",
"properties": {
"publicIPAllocationMethod": "Dynamic"
"mode": "Incremental",
"templateLink": { "uri": "[variables('pipTemplate')]" },
"parameters": {
"deploymentContext": {
"value": {
"parentTemplateUniqueString": "[concat(variables('templateUniqueString') , '-pip')]"
}
},
"name": { "value": "[variables('publicIPAddressName')]" },
"publicIPAllocationMethod": { "value": "Dynamic" },
"domainNameLabel": { "value": "" }
}
}
},
{
@ -31,7 +44,7 @@
"name": "[parameters('virtualNetworkGatewaySettings').name]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[variables('publicIPAddressName')]"
"[variables('deploymentName')]"
],
"properties": {
"ipConfigurations": [