Skip to content

Commit 4e42c65

Browse files
committed
updates
1 parent c93b493 commit 4e42c65

File tree

1 file changed

+29
-16
lines changed

1 file changed

+29
-16
lines changed

articles/virtual-network-manager/deploy-ip-address-management-pools-bicep.md

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,37 @@
11
---
2-
title: 'Quickstart: Deploy IPAM pools and static CIDRs with Azure Virtual Network Manager - Bicep'
3-
description: In this quickstart, you learn how to deploy Azure Virtual Network Manager with IPAM pools and static CIDR allocations using Bicep templates.
2+
title: Deploy IPAM pools and static CIDRs with Azure Virtual Network Manager - Bicep
3+
description: Deploy IPAM pools and static CIDRs with Azure Virtual Network Manager using Bicep. Create non-overlapping address spaces and associate existing virtual networks in minutes.
44
author: mbender-ms
55
ms.author: mbender
66
ms.service: azure-virtual-network-manager
77
ms.topic: quickstart
8-
ms.date: 06/20/2025
8+
ms.date: 06/25/2025
99
ms.custom:
1010
- template-quickstart
1111
- mode-arm
1212
- devx-track-bicep
1313
- devx-track-azurepowershell
1414
- devx-track-azurecli
15+
- ai-gen-docs-bap
16+
- ai-gen-description
17+
- ai-seo-date:06/25/2025
1518
---
1619

17-
# Quickstart: Deploy IPAM pools and static CIDRs with Azure Virtual Network Manager - Bicep
20+
# Deploy IPAM pools and static CIDRs with Azure Virtual Network Manager - Bicep
1821

19-
Azure Virtual Network Manager simplifies IP address planning by providing centralized management and automatic allocation of non-overlapping address spaces. In this article, learn how to deploy Azure Virtual Network Manager with IP Address Management (IPAM) pools and static CIDR allocations using Bicep templates. You'll create an IPAM pool, allocate a static CIDR block, and associate existing virtual networks with the IPAM pools. You can also create new virtual networks that automatically receive IP address allocations from the IPAM pool. All of this is done using Bicep templates, which provide a declarative way to define and deploy Azure resources.
22+
Azure Virtual Network Manager provides centralized IP address management (IPAM) that helps you avoid overlapping address spaces across your virtual networks. With IPAM pools, you can define large address ranges and automatically allocate non-overlapping subnets to your virtual networks.
23+
24+
This article shows you how to use Bicep templates to:
25+
26+
- Create an Azure Virtual Network Manager instance with IPAM capabilities
27+
- Set up an IPAM pool with a static CIDR allocation
28+
- Associate existing virtual networks with IPAM pools
29+
- Create new virtual networks that automatically receive IP addresses from IPAM pools
30+
31+
When you finish, you'll have a working IPAM configuration that you can use to manage IP address allocation across multiple virtual networks.
2032

2133
[!INCLUDE [virtual-network-manager-ipam](../../includes/virtual-network-manager-ipam.md)]
34+
2235
## Prerequisites
2336

2437
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
@@ -144,7 +157,7 @@ param existingVnetName string = 'vnet-existing-001'
144157
param existingVnetLocation string = 'eastus2'
145158
146159
@description('Resource ID of an existing IPAM pool')
147-
param existingIpamPoolId string = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-network-manager/providers/Microsoft.Network/networkManagers/vnm-learn-prod-eastus2-001/ipamPools/ipam-pool-learn-prod-001'
160+
param existingIpamPoolId string = '/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/rg-network-manager/providers/Microsoft.Network/networkManagers/vnm-learn-prod-eastus2-001/ipamPools/ipam-pool-learn-prod-001'
148161
149162
// Virtual Network
150163
resource existingVnet 'Microsoft.Network/virtualNetworks@2024-05-01' = {
@@ -168,14 +181,14 @@ resource existingVnet 'Microsoft.Network/virtualNetworks@2024-05-01' = {
168181

169182
1. Save the Bicep template to your local computer as **associate-existing-vnet.bicep**.
170183

171-
2. Use a text or code editor to update the following parameters in the file:
184+
1. Use a text or code editor to update the following parameters in the file:
172185
- Change `existingVnetName` to the name of your existing virtual network
173186
- Change `existingVnetLocation` to the location of your existing virtual network
174187
- Change `existingIpamPoolId` to the resource ID of your existing IPAM pool
175188

176-
3. Save the **associate-existing-vnet.bicep** file.
189+
1. Save the **associate-existing-vnet.bicep** file.
177190

178-
4. Deploy the Bicep template using either Azure CLI or Azure PowerShell. Replace `rg-existing-vnet` with the resource group name of the existing virtual network:
191+
1. Deploy the Bicep template using either Azure CLI or Azure PowerShell. Replace `rg-existing-vnet` with the resource group name of the existing virtual network:
179192

180193
### [Azure CLI](#tab/azure-cli-associate)
181194

@@ -218,7 +231,7 @@ param subnetName string = 'snet-default-001'
218231
param locationName string = resourceGroup().location
219232
220233
@description('Resource ID of an existing IPAM pool')
221-
param existingIpamPoolId string = '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-network-manager/providers/Microsoft.Network/networkManagers/vnm-learn-prod-eastus2-001/ipamPools/ipam-pool-learn-prod-001'
234+
param existingIpamPoolId string = '/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/rg-network-manager/providers/Microsoft.Network/networkManagers/vnm-learn-prod-eastus2-001/ipamPools/ipam-pool-learn-prod-001'
222235
223236
@description('Number of IP addresses for virtual network')
224237
param vnetNumberOfIpAddresses string = '256'
@@ -264,12 +277,12 @@ resource newVnet 'Microsoft.Network/virtualNetworks@2024-05-01' = {
264277

265278
1. Save the Bicep template to your local computer as **create-ipam-managed-vnet.bicep**.
266279

267-
2. Use a text or code editor to update the following parameter in the file:
280+
1. Use a text or code editor to update the following parameter in the file:
268281
- Change `existingIpamPoolId` to the resource ID of your existing IPAM pool
269282

270-
3. Save the **create-ipam-managed-vnet.bicep** file.
283+
1. Save the **create-ipam-managed-vnet.bicep** file.
271284

272-
4. Deploy the Bicep template using either Azure CLI or Azure PowerShell:
285+
1. Deploy the Bicep template using either Azure CLI or Azure PowerShell:
273286

274287
### [Azure CLI](#tab/azure-cli-create)
275288

@@ -299,11 +312,11 @@ After deploying the templates, verify that the IPAM pool and virtual network con
299312

300313
1. In the [Azure portal](https://portal.azure.com), navigate to your Virtual Network Manager instance.
301314

302-
2. Under **IP address management**, select **IP address pools**.
315+
1. Under **IP address management**, select **IP address pools**.
303316

304-
3. Select your IPAM pool to view its allocations and usage statistics.
317+
1. Select your IPAM pool to view its allocations and usage statistics.
305318

306-
4. Under **Settings**, select **Allocations** to see all resources associated with the pool, including static CIDR blocks and virtual networks.
319+
1. Under **Settings**, select **Allocations** to see all resources associated with the pool, including static CIDR blocks and virtual networks.
307320

308321
## Clean up resources
309322

0 commit comments

Comments
 (0)