|
83 | 83 | "apiVersion": { |
84 | 84 | "compute": "2015-06-15", |
85 | 85 | "storage": "2015-06-15", |
86 | | - "network": "2015-05-01-preview" |
| 86 | + "network": "2015-06-15" |
87 | 87 | }, |
88 | 88 | "imagePublisher": "MicrosoftWindowsServer", |
89 | 89 | "imageOffer": "WindowsServer", |
90 | 90 | "addressPrefix": "10.0.0.0/16", |
91 | 91 | "storageAccountType": "Standard_LRS", |
92 | | - "publicIPAddressName": "[tolower(concat('ip', resourceGroup().name))]", |
93 | | - "publicIPAddressType": "Dynamic", |
94 | 92 | "subnetPrefix": "10.0.0.0/24", |
95 | 93 | "subnetName": "[concat('sn', resourceGroup().name)]", |
96 | | - "uniqueDnsNameForPublicIP": "[tolower(concat('dns', resourceGroup().name))]", |
97 | 94 | "uniqueStorageAccountName": "[tolower(concat('sa', resourceGroup().name))]", |
98 | 95 | "uniqueStorageAccountContainerName": "[tolower(concat('sc', resourceGroup().name))]", |
99 | 96 | "location": "[resourceGroup().location]", |
|
130 | 127 | "accountType": "[variables('storageAccountType')]" |
131 | 128 | } |
132 | 129 | }, |
133 | | - { |
134 | | - "apiVersion": "[variables('apiVersion').network]", |
135 | | - "type": "Microsoft.Network/publicIPAddresses", |
136 | | - "name": "[concat(variables('publicIPAddressName'),copyIndex())]", |
137 | | - "location": "[variables('location')]", |
138 | | - "copy": { |
139 | | - "name": "publicIPLoop", |
140 | | - "count": "[parameters('jetstressVMCount')]" |
141 | | - }, |
142 | | - "properties": { |
143 | | - "publicIPAllocationMethod": "[variables('publicIPAddressType')]", |
144 | | - "dnsSettings": { |
145 | | - "domainNameLabel": "[concat(variables('uniqueDnsNameForPublicIP'),copyIndex())]" |
146 | | - } |
147 | | - } |
148 | | - }, |
149 | 130 | { |
150 | 131 | "apiVersion": "[variables('apiVersion').network]", |
151 | 132 | "type": "Microsoft.Network/networkSecurityGroups", |
|
205 | 186 | "count": "[parameters('jetstressVMCount')]" |
206 | 187 | }, |
207 | 188 | "dependsOn": [ |
208 | | - "[concat('Microsoft.Network/publicIPAddresses/',variables('publicIPAddressName'),copyIndex())]", |
209 | 189 | "[concat('Microsoft.Network/virtualNetworks/',variables('virtualNetworkName'))]" |
210 | 190 | ], |
211 | 191 | "properties": { |
212 | 192 | "ipConfigurations": [ |
213 | 193 | { |
214 | | - "name": "ipconfigpublic", |
| 194 | + "name": "ipconfigprivate", |
215 | 195 | "properties": { |
216 | 196 | "privateIPAllocationMethod": "Dynamic", |
217 | | - "publicIPAddress": { |
218 | | - "id": "[resourceId('Microsoft.Network/publicIPAddresses',concat(variables('publicIPAddressName'),copyIndex()))]" |
219 | | - }, |
220 | 197 | "subnet": { |
221 | 198 | "id": "[variables('subnetRef')]" |
222 | 199 | } |
|
0 commit comments