Skip to content

Commit bffb76f

Browse files
author
Michael Bender
committed
fixed numbering
1 parent 12847b5 commit bffb76f

File tree

1 file changed

+69
-69
lines changed

1 file changed

+69
-69
lines changed

articles/virtual-network-manager/how-to-manage-ip-addresses-network-manager.md

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -176,82 +176,82 @@ In this step, you create a virtual network with a nonoverlapping CIDR range usin
176176
2. In the **Custom deployment** window, select **Build your own template in the editor**.
177177
3. Copy the following template into the editor:
178178

179-
```json
180-
{
181-
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
182-
"contentVersion": "1.0.0.0",
183-
"parameters": {
184-
"virtualNetworkName": {
185-
"defaultValue": "virtual-network",
186-
"type": "String",
187-
"metadata": {
188-
"description": "VNet name"
189-
}
190-
},
191-
"location": {
192-
"defaultValue": "[resourceGroup().location]",
193-
"type": "String",
194-
"metadata": {
195-
"description": "Location for all resources."
196-
}
197-
},
198-
"poolResourceID": {
199-
"defaultValue": "/subscriptions/<subscriptionId>/resourceGroups/resourceGroupName/providers/Microsoft.Network/networkManagers/<networkManagerName>/ipamPools/<ipAddressPoolName>",
200-
"type": "String",
201-
"metadata": {
202-
"description": "Enter the Resource ID for your IP Address Pool. You can find this in the JSON View in the resource's overview window."
179+
```json
180+
{
181+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
182+
"contentVersion": "1.0.0.0",
183+
"parameters": {
184+
"virtualNetworkName": {
185+
"defaultValue": "virtual-network",
186+
"type": "String",
187+
"metadata": {
188+
"description": "VNet name"
189+
}
190+
},
191+
"location": {
192+
"defaultValue": "[resourceGroup().location]",
193+
"type": "String",
194+
"metadata": {
195+
"description": "Location for all resources."
196+
}
197+
},
198+
"poolResourceID": {
199+
"defaultValue": "/subscriptions/<subscriptionId>/resourceGroups/resourceGroupName/providers/Microsoft.Network/networkManagers/<networkManagerName>/ipamPools/<ipAddressPoolName>",
200+
"type": "String",
201+
"metadata": {
202+
"description": "Enter the Resource ID for your IP Address Pool. You can find this in the JSON View in the resource's overview window."
203+
}
204+
},
205+
"numberOfIPAddresses": {
206+
"defaultValue": "256",
207+
"type": "String",
208+
"metadata": {
209+
"description": "Enter the number of IP addresses for the virtual network."
210+
}
203211
}
204212
},
205-
"numberOfIPAddresses": {
206-
"defaultValue": "256",
207-
"type": "String",
208-
"metadata": {
209-
"description": "Enter the number of IP addresses for the virtual network."
210-
}
211-
}
212-
},
213-
"resources": [
214-
{
215-
"type": "Microsoft.Network/virtualNetworks",
216-
"apiVersion": "2024-01-01",
217-
"name": "[parameters('virtualNetworkName')]",
218-
"location": "[parameters('location')]",
219-
"properties": {
220-
"addressSpace": {
221-
"ipamPoolPrefixAllocations": [
222-
{
223-
"pool": {
224-
"id": "[parameters('poolResourceID')]"
225-
},
226-
"numberOfIpAddresses": "[parameters('numberOfIPAddresses')]"
227-
}
228-
]
213+
"resources": [
214+
{
215+
"type": "Microsoft.Network/virtualNetworks",
216+
"apiVersion": "2024-01-01",
217+
"name": "[parameters('virtualNetworkName')]",
218+
"location": "[parameters('location')]",
219+
"properties": {
220+
"addressSpace": {
221+
"ipamPoolPrefixAllocations": [
222+
{
223+
"pool": {
224+
"id": "[parameters('poolResourceID')]"
225+
},
226+
"numberOfIpAddresses": "[parameters('numberOfIPAddresses')]"
227+
}
228+
]
229+
}
229230
}
230231
}
231-
}
232-
]
233-
}
234-
235-
```
236-
237-
1. In the **Custom deployment** windows, enter or select the following information::
238-
239-
| **Field** | **Description** |
240-
| --- | --- |
241-
| **Project details** | |
242-
| Subscription | Select your subscription. |
243-
| Resource group | Select the resource group for the virtual network. In this case, the example uses **resource-group**. |
244-
| **Instance details** | |
245-
| Region | Select the region for the virtual network. IP address pools must be in the same region as your virtual network in order to be associated. |
246-
| Virtual network name | Enter a name for the virtual network. The template will default to **virtual-network**. |
247-
| Location | Select the location for the virtual network. This will be the same as the region except all lower case and no spaces.</br>For example, if the region is **(US)westus2**, the location will be **westus2**. |
232+
]
233+
}
234+
235+
```
248236

249-
:::image type="content" source="media/how-to-manage-ip-addresses/custom-deployment-template.png" alt-text="Screenshot of custom deployment page with values.":::
237+
4. In the **Custom deployment** windows, enter or select the following information::
250238

251-
> [!NOTE]
252-
> The **poolResourceID** parameter is the Resource ID for your IP Address Pool. You can find this in the JSON View in the resource's overview window.
239+
| **Field** | **Description** |
240+
| --- | --- |
241+
| **Project details** | |
242+
| Subscription | Select your subscription. |
243+
| Resource group | Select the resource group for the virtual network. In this case, the example uses **resource-group**. |
244+
| **Instance details** | |
245+
| Region | Select the region for the virtual network. IP address pools must be in the same region as your virtual network in order to be associated. |
246+
| Virtual network name | Enter a name for the virtual network. The template will default to **virtual-network**. |
247+
| Location | Select the location for the virtual network. This will be the same as the region except all lower case and no spaces.</br>For example, if the region is **(US)westus2**, the location will be **westus2**. |
248+
249+
:::image type="content" source="media/how-to-manage-ip-addresses/custom-deployment-template.png" alt-text="Screenshot of custom deployment page with values.":::
250+
251+
> [!NOTE]
252+
> The **poolResourceID** parameter is the Resource ID for your IP Address Pool. You can find this in the JSON View in the resource's overview window.
253253

254-
4. Select **Review + create** and then **Create** to create the virtual network.
254+
5. Select **Review + create** and then **Create** to create the virtual network.
255255

256256
## Next steps
257257

0 commit comments

Comments
 (0)