Get-AzNetworkManagerIpamPoolUsage
Gets pool usage information for a given pool.
Syntax
Get-AzNetworkManagerIpamPoolUsage
-IpamPoolName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerIpamPoolUsage
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzNetworkManagerIpamPoolUsage cmdlet gets pool usage information for a given pool.
Examples
Example 1
Get-AzNetworkManagerIpamPoolUsage -IpamPoolName testPool -NetworkManagerName testNM -ResourceGroupName testRG
AddressPrefixes : {10.0.0.0/14}
AllocatedAddressPrefixes : {10.0.0.0/20, 10.0.32.0/19, 10.0.64.0/18, 10.0.128.0/29…}
ReservedAddressPrefixes : {}
AvailableAddressPrefixes : {10.0.16.0/20, 10.0.128.8/29, 10.0.128.16/28, 10.0.128.32/27…}
TotalNumberOfIPAddresses : 262144
NumberOfAllocatedIPAddresses : 111112
NumberOfReservedIPAddresses : 0
NumberOfAvailableIPAddresses : 151032
AddressPrefixesText : [
"10.0.0.0/14"
]
AllocatedAddressPrefixesText : [
"10.0.0.0/20",
"10.0.32.0/19",
"10.0.64.0/18",
]
ReservedAddressPrefixesText : []
AvailableAddressPrefixesText : [
"10.0.16.0/20",
"10.0.128.8/29",
"10.0.128.16/28",
"10.0.128.32/27",
"10.0.128.64/26",
"10.0.128.128/25",
"10.0.129.0/24",
]
Retrieved pool usage information for the pool 'testPool'.
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
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell