Get-AzFirewallFqdnTag

Gets the available Azure Firewall Fqdn Tags.

Syntax

Get-AzFirewallFqdnTag
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzFirewallFqdnTag cmdlet gets the list of FQDN Tags which can be used for Azure Firewall Application Rules

Examples

Example 1: Retrieve all available FQDN Tags

Get-AzFirewallFqdnTag

This example retrieves all available FQDN Tags.

Example 2: Use first available FQDN Tag in an Application Rule

$fqdnTags = Get-AzFirewallFqdnTag
New-AzFirewallApplicationRule -Name AR -SourceAddress * -FqdnTag $fqdnTags[0].FqdnTagName

This example creates a Firewall Application Rule using the first available FQDN Tag

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

Inputs

None

Outputs

PSAzureFirewallFqdnTag

IEnumerable<T>[[Microsoft.Azure.Commands.Network.Models.PSAzureFirewallFqdnTag, Microsoft.Azure.PowerShell.Cmdlets.Network, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]