Get-AzNetworkManagerIpamPoolUsage
語法
ByName (預設值)
Get-AzNetworkManagerIpamPoolUsage
-IpamPoolName <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ByResourceId
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 通訊的認證、帳戶、租用戶和訂用帳戶。
參數屬性
參數集
(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 集區資源識別碼。
參數屬性
| 類型: | 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。
輸出