Skip to content

Commit bf7b855

Browse files
author
Michael Bender
committed
ipam updates
1 parent c243255 commit bf7b855

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

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

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ In this step, you delegate permissions to other users to manage IP address pools
139139

140140
In this step, you create a virtual network with a nonoverlapping CIDR range by allowing IP address manager to automatically provide a nonoverlapping CIDR.
141141

142+
# [Azure Portal](#tab/azureportal)
143+
142144
1. In the Azure portal, search for and select **Virtual networks**.
143145
2. Select **+ Create**.
144146
3. On the **Basics** tab, enter the following information:
@@ -166,6 +168,57 @@ In this step, you create a virtual network with a nonoverlapping CIDR range by a
166168
8. Optionally create subnets referring to the selected pool.
167169
9. Select **Review + create** and then **Create** to create the virtual network.
168170

171+
# [Azure Resource Manager Template](#tab/armtemplate)
172+
173+
1. Sign in to Azure and search for **Deploy a custom template**.
174+
2. In the **Custom deployment** window, select **Build your own template in the editor**.
175+
3. Copy the following template into the editor:
176+
177+
```json
178+
{
179+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
180+
"contentVersion": "1.0.0.0",
181+
"metadata": {},
182+
"parameters": {
183+
"vnetName": {
184+
"type": "string",
185+
"defaultValue": "VNet1",
186+
"metadata": {
187+
"description": "VNet name"
188+
}
189+
},
190+
"location": {
191+
"type": "string",
192+
"defaultValue": "[resourceGroup().location]",
193+
"metadata": {
194+
"description": "Location for all resources."
195+
}
196+
}
197+
},
198+
"resources": [
199+
{
200+
"type": "Microsoft.Network/virtualNetworks",
201+
"apiVersion": "2024-01-01",
202+
"name": "[parameters('vnetName')]",
203+
"location": "[parameters('location')]",
204+
"properties": {
205+
"addressSpace": {
206+
"ipamPoolPrefixAllocations": [
207+
{
208+
"pool": {
209+
"id": "/subscriptions/XXX/resourceGroups/ipam-test/providers/Microsoft.Network/networkManagers/IPAM-test/ipamPools/ALZ-app1"
210+
},
211+
"numberOfIpAddresses": "65536"
212+
}
213+
]
214+
}
215+
}
216+
}
217+
]
218+
}
219+
```
220+
221+
169222
## Next steps
170223

171224
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)