Get-AzFirewallLearnedIpPrefix

Gets firewall auto learned ip prefixes.

Syntax

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

Description

The Get-AzFirewallLearnedIpPrefix cmdlet gets a firewall auto learned ip prefixes.

Examples

Example 1: Retrieve a Firewall auto learned ip prefixes by its name

Get-AzFirewallLearnedIpPrefix -ResourceGroupName rgName -Name azFw

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

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the Firewall that this cmdlet gets.

Type:String
Aliases:ResourceName
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:True

-ResourceGroupName

Specifies the name of the resource group that Firewall belongs to.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:True

Inputs

String

Outputs

PSAzureFirewallIpPrefix