Get-AzNetworkManagerIpamPoolUsage
取得指定集區的集區使用資訊。
語法
Get-AzNetworkManagerIpamPoolUsage
-IpamPoolName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerIpamPoolUsage
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
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 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-IpamPoolName
ipamPool 名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | True |
-NetworkManagerName
networkManager 名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | True |
-ResourceGroupName
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | True |
-ResourceId
Ipam 集區資源標識碼。
類型: | String |
別名: | IpamPoolId |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |