|
14 | 14 | "publicIPAddressType": "Dynamic", |
15 | 15 | "vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('vnetName'))]", |
16 | 16 | "subnetRef": "[concat(variables('vnetID'),'/subnets/',variables ('subnetName'))]", |
17 | | - "numberOfInstances": 1, |
18 | | - "dnsServer": "192.168.100.2" |
| 17 | + "numberOfInstances": 1 |
19 | 18 | }, |
20 | 19 | "resources": [ |
21 | 20 | { |
22 | | - "apiVersion": "2015-05-01-preview", |
23 | | - "type": "Microsoft.Network/networkSecurityGroups", |
24 | 21 | "name": "[variables('nsgName')]", |
| 22 | + "type": "Microsoft.Network/networkSecurityGroups", |
| 23 | + "apiVersion": "2015-06-15", |
25 | 24 | "location": "[resourceGroup().location]", |
26 | 25 | "properties": { |
27 | 26 | "securityRules": [ |
|
42 | 41 | } |
43 | 42 | }, |
44 | 43 | { |
45 | | - "apiVersion": "2015-05-01-preview", |
46 | | - "type": "Microsoft.Network/publicIPAddresses", |
47 | 44 | "name": "[variables('publicIPAddressName')]", |
| 45 | + "type": "Microsoft.Network/publicIPAddresses", |
| 46 | + "apiVersion": "2015-06-15", |
48 | 47 | "location": "[resourceGroup().location]", |
49 | 48 | "properties": { |
50 | 49 | "publicIPAllocationMethod": "[variables('publicIPAddressType')]" |
51 | 50 | } |
52 | 51 | }, |
53 | 52 | { |
54 | | - "apiVersion": "2015-05-01-preview", |
55 | | - "type": "Microsoft.Network/virtualNetworks", |
56 | 53 | "name": "[variables('vnetName')]", |
| 54 | + "type": "Microsoft.Network/virtualNetworks", |
| 55 | + "apiVersion": "2015-06-15", |
57 | 56 | "location": "[resourceGroup().location]", |
58 | 57 | "dependsOn": [ |
59 | 58 | "[concat('Microsoft.Network/networkSecurityGroups/', variables('nsgName'))]" |
|
74 | 73 | } |
75 | 74 | } |
76 | 75 | } |
77 | | - ], |
78 | | - "dhcpOptions": { |
79 | | - "dnsServers": [ "[variables('dnsServer')]" ] |
80 | | - } |
| 76 | + ] |
81 | 77 | } |
82 | 78 | }, |
83 | 79 | { |
84 | | - "apiVersion": "2015-05-01-preview", |
85 | | - "type": "Microsoft.Network/networkInterfaces", |
86 | 80 | "name": "[concat(variables('nicName'), copyindex())]", |
| 81 | + "type": "Microsoft.Network/networkInterfaces", |
| 82 | + "apiVersion": "2015-06-15", |
87 | 83 | "location": "[resourceGroup().location]", |
88 | 84 | "copy": { |
89 | 85 | "name": "nicLoop", |
|
0 commit comments