Get-AzNetworkManagerAssociatedResourcesList

Gets list of associated resources in network manager IPAM pool.

Syntax

Get-AzNetworkManagerAssociatedResourcesList
   -IpamPoolName <String>
   -NetworkManagerName <String>
   -ResourceGroupName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzNetworkManagerAssociatedResourcesList
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzNetworkManagerAssociatedResourcesList cmdlet gets the list of associated resources in network manager IPAM pool.

Examples

Example 1

Get-AzNetworkManagerAssociatedResourcesList -IpamPoolName "TestPool" -NetworkManagerName "TestNetworkManager" -ResourceGroupName "TestResourceGroupName"

ResourceId                  : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/virtualNetworks/testvNet
PoolId                      : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/
                              ipamPools/testPool
Description                 :
AddressPrefixes             : {10.0.16.0/20}
ReservedAddressPrefixes     :
TotalNumberOfIPAddresses    : 4096
NumberOfReservedIPAddresses : 0
CreatedAt                   : 10/2/2024 6:29:55 PM
ReservationExpiresAt        :
AddressPrefixesText         : [
                                "10.0.16.0/20"
                              ]
ReservedAddressPrefixesText : null

ResourceId                  : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ipam-test-rg/providers/Microsoft.Network/virtualNetworks/paige-vn
                              et
PoolId                      : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/
                              ipamPools/testPool
Description                 :
AddressPrefixes             : {10.0.8.0/23}
ReservedAddressPrefixes     :
TotalNumberOfIPAddresses    : 512
NumberOfReservedIPAddresses : 0
CreatedAt                   : 10/2/2024 2:37:10 PM
ReservationExpiresAt        :
AddressPrefixesText         : [
                                "10.0.8.0/23"
                              ]
ReservedAddressPrefixesText : null

ResourceId                  : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/
                              ipamPools/testPool/staticCidrs/appleCidr1
PoolId                      : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/
                              ipamPools/testPool
Description                 :
AddressPrefixes             : {10.0.0.0/24}
ReservedAddressPrefixes     :
TotalNumberOfIPAddresses    : 256
NumberOfReservedIPAddresses : 0
CreatedAt                   : 9/9/2024 2:17:36 PM
ReservationExpiresAt        :
AddressPrefixesText         : [
                                "10.0.0.0/24"
                              ]
ReservedAddressPrefixesText : null

Gets the resources in a pool.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IpamPoolName

The ipamPool name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

-NetworkManagerName

The networkManager name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

-ResourceGroupName

The resource group name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:True

-ResourceId

The Ipam Pool resource id.

Type:String
Aliases:IpamPoolId
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

List<T>[[Microsoft.Azure.Commands.Network.Models.NetworkManager.PSPoolAssociation, Microsoft.Azure.PowerShell.Cmdlets.Network, Version=7.9.0.0, Culture=neutral, PublicKeyToken=null]]