New-AzFirewallPolicyApplicationRule
Create a new Azure Firewall Policy Application Rule
Syntax
SourceAddressAndTargetFqdn (Default)
New-AzFirewallPolicyApplicationRule
-Name <String>
-SourceAddress <String[]>
-TargetFqdn <String[]>
-Protocol <String[]>
[-Description <String>]
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
SourceAddressAndFqdnTag
New-AzFirewallPolicyApplicationRule
-Name <String>
-SourceAddress <String[]>
-FqdnTag <String[]>
[-Description <String>]
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
SourceAddressAndWebCategory
New-AzFirewallPolicyApplicationRule
-Name <String>
-SourceAddress <String[]>
-WebCategory <String[]>
-Protocol <String[]>
[-Description <String>]
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
SourceAddressAndTargetUrl
New-AzFirewallPolicyApplicationRule
-Name <String>
-SourceAddress <String[]>
-Protocol <String[]>
-TargetUrl <String[]>
[-Description <String>]
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
SourceIpGroupAndTargetFqdn
New-AzFirewallPolicyApplicationRule
-Name <String>
-SourceIpGroup <String[]>
-TargetFqdn <String[]>
-Protocol <String[]>
[-Description <String>]
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
SourceIpGroupAndFqdnTag
New-AzFirewallPolicyApplicationRule
-Name <String>
-SourceIpGroup <String[]>
-FqdnTag <String[]>
[-Description <String>]
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
SourceIpGroupAndWebCategory
New-AzFirewallPolicyApplicationRule
-Name <String>
-SourceIpGroup <String[]>
-FqdnTag <String[]>
-WebCategory <String[]>
-Protocol <String[]>
[-Description <String>]
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
SourceIpGroupAndTargetUrl
New-AzFirewallPolicyApplicationRule
-Name <String>
-SourceIpGroup <String[]>
-Protocol <String[]>
-TargetUrl <String[]>
[-Description <String>]
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzFirewallPolicyApplicationRule cmdlet creates an Application Rule for a Azure Firewall Policy.
Examples
Example 1
New-AzFirewallPolicyApplicationRule -Name AR1 -SourceAddress "192.168.0.0/16" -Protocol "http:80","https:443" -TargetFqdn "*.ro", "*.com"
This example creates an application rule with the source address, protocol and the target fqdns.
Example 2
New-AzFirewallPolicyApplicationRule -Name AR1 -SourceAddress "192.168.0.0/16" -Protocol "http:80","https:443" -WebCategory "DatingAndPersonals", "Tasteless"
This example creates an application rule with the source address, protocol and web categories.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Description
The description of the rule
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-FqdnTag
The FQDN Tags of the rule
Parameter properties
Type: String [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
SourceAddressAndFqdnTag
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndFqdnTag
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndWebCategory
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
The name of the Application Rule
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Protocol
The protocols of the rule
Parameter properties
Type: String [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
SourceAddressAndTargetFqdn
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceAddressAndWebCategory
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceAddressAndTargetUrl
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndTargetFqdn
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndWebCategory
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndTargetUrl
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SourceAddress
The source addresses of the rule
Parameter properties
Type: String [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
SourceAddressAndTargetFqdn
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceAddressAndFqdnTag
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceAddressAndWebCategory
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceAddressAndTargetUrl
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SourceIpGroup
The source ipgroups of the rule
Parameter properties
Type: String [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
SourceIpGroupAndTargetFqdn
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndFqdnTag
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndWebCategory
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndTargetUrl
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-TargetFqdn
The target FQDNs of the rule
Parameter properties
Type: String [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
SourceAddressAndTargetFqdn
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndTargetFqdn
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-TargetUrl
The Target Url of the rule
Parameter properties
Type: String [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
SourceAddressAndTargetUrl
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndTargetUrl
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-TerminateTLS
Indicates terminating TLS
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-WebCategory
The Web Categories of the rule
Parameter properties
Type: String [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
SourceAddressAndWebCategory
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
SourceIpGroupAndWebCategory
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
None
Outputs