Skip to content

Commit 3f2e634

Browse files
marcvaneijkvikasnav
authored andcommitted
Updated apiVersions and removed DNS ref (#168)
* Update for TP2 * Updated apiVersions and removed DNS ref
1 parent f013309 commit 3f2e634

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

101-create-vnet-full/azuredeploy.json

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@
1414
"publicIPAddressType": "Dynamic",
1515
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('vnetName'))]",
1616
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables ('subnetName'))]",
17-
"numberOfInstances": 1,
18-
"dnsServer": "192.168.100.2"
17+
"numberOfInstances": 1
1918
},
2019
"resources": [
2120
{
22-
"apiVersion": "2015-05-01-preview",
23-
"type": "Microsoft.Network/networkSecurityGroups",
2421
"name": "[variables('nsgName')]",
22+
"type": "Microsoft.Network/networkSecurityGroups",
23+
"apiVersion": "2015-06-15",
2524
"location": "[resourceGroup().location]",
2625
"properties": {
2726
"securityRules": [
@@ -42,18 +41,18 @@
4241
}
4342
},
4443
{
45-
"apiVersion": "2015-05-01-preview",
46-
"type": "Microsoft.Network/publicIPAddresses",
4744
"name": "[variables('publicIPAddressName')]",
45+
"type": "Microsoft.Network/publicIPAddresses",
46+
"apiVersion": "2015-06-15",
4847
"location": "[resourceGroup().location]",
4948
"properties": {
5049
"publicIPAllocationMethod": "[variables('publicIPAddressType')]"
5150
}
5251
},
5352
{
54-
"apiVersion": "2015-05-01-preview",
55-
"type": "Microsoft.Network/virtualNetworks",
5653
"name": "[variables('vnetName')]",
54+
"type": "Microsoft.Network/virtualNetworks",
55+
"apiVersion": "2015-06-15",
5756
"location": "[resourceGroup().location]",
5857
"dependsOn": [
5958
"[concat('Microsoft.Network/networkSecurityGroups/', variables('nsgName'))]"
@@ -74,16 +73,13 @@
7473
}
7574
}
7675
}
77-
],
78-
"dhcpOptions": {
79-
"dnsServers": [ "[variables('dnsServer')]" ]
80-
}
76+
]
8177
}
8278
},
8379
{
84-
"apiVersion": "2015-05-01-preview",
85-
"type": "Microsoft.Network/networkInterfaces",
8680
"name": "[concat(variables('nicName'), copyindex())]",
81+
"type": "Microsoft.Network/networkInterfaces",
82+
"apiVersion": "2015-06-15",
8783
"location": "[resourceGroup().location]",
8884
"copy": {
8985
"name": "nicLoop",

0 commit comments

Comments
 (0)