Get-AzNetworkManagerIpamPoolUsage
语法
ByName (默认值)
Get-AzNetworkManagerIpamPoolUsage
-IpamPoolName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByResourceId
Get-AzNetworkManagerIpamPoolUsage
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
Get-AzNetworkManagerIpamPoolUsage cmdlet 获取给定池的池使用情况信息。
示例
示例 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",
]
检索到池“testPool”的池使用情况信息。
参数
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
参数属性
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-IpamPoolName
ipamPool 名称。
参数属性
| 类型: | String
|
| 默认值: | None |
| 支持通配符: | True |
| 不显示: | False |
参数集
ByName
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
-NetworkManagerName
networkManager 名称。
参数属性
| 类型: | String
|
| 默认值: | None |
| 支持通配符: | True |
| 不显示: | False |
参数集
ByName
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
-ResourceGroupName
资源组名称。
参数属性
| 类型: | String
|
| 默认值: | None |
| 支持通配符: | True |
| 不显示: | False |
参数集
ByName
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
-ResourceId
Ipam 池资源 ID。
参数属性
| 类型: | String
|
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
| 别名: | IpamPoolId |
参数集
ByResourceId
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。
输出