Get-AzFirewallFqdnTag
Gets the available Azure Firewall Fqdn Tags.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
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
The credentials, account, tenant, and subscription used for communication with azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
None
Outputs
IEnumerable<T>[[Microsoft.Azure.Commands.Network.Models.PSAzureFirewallFqdnTag, Microsoft.Azure.PowerShell.Cmdlets.Network, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]