共用方式為


Get-AzFirewallLearnedIpPrefix

取得防火牆自動學習的IP前綴。

語法

Get-AzFirewallLearnedIpPrefix
   [-Name <String>]
   [-ResourceGroupName <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzFirewallLearnedIpPrefix Cmdlet 會取得防火牆自動學習的 IP 前綴。

範例

範例 1:依名稱擷取防火牆自動學習的IP前置綴

Get-AzFirewallLearnedIpPrefix -ResourceGroupName rgName -Name azFw

IpPrefixes :    [ "10.101.0.0/16", "10.102.0.0/16" ]

參數

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

指定此 Cmdlet 取得的防火牆名稱。

類型:String
別名:ResourceName
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:True

-ResourceGroupName

指定防火牆所屬的資源群組名稱。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:True

輸入

String

輸出

PSAzureFirewallIpPrefix