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

1: Retrieve all available FQDN Tags

Get-AzFirewallFqdnTag

This example retrieves all available FQDN Tags.

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:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Azure.Commands.Network.Models.PSAzureFirewallFqdnTag

System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.Network.Models.PSAzureFirewallFqdnTag, Microsoft.Azure.PowerShell.Cmdlets.Network, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]