Get-AzNetworkManagerIpamPoolUsage
Gets pool usage information for a given pool.
Syntax
ByName (Default)
Get-AzNetworkManagerIpamPoolUsage
-IpamPoolName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByResourceId
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.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-IpamPoolName
The ipamPool name.
Parameter properties
Type: String
Default value: None
Supports wildcards: True
DontShow: False
Parameter sets
ByName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-NetworkManagerName
The networkManager name.
Parameter properties
Type: String
Default value: None
Supports wildcards: True
DontShow: False
Parameter sets
ByName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-ResourceGroupName
The resource group name.
Parameter properties
Type: String
Default value: None
Supports wildcards: True
DontShow: False
Parameter sets
ByName
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-ResourceId
The Ipam Pool resource id.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: IpamPoolId
Parameter sets
ByResourceId
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs