New-AzFirewallPolicyApplicationRule
Create a new Azure Firewall Policy Application Rule
Syntax
New-AzFirewallPolicyApplicationRule
-Name <String>
[-Description <String>]
-SourceAddress <String[]>
-TargetFqdn <String[]>
-Protocol <String[]>
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzFirewallPolicyApplicationRule
-Name <String>
[-Description <String>]
-SourceAddress <String[]>
-FqdnTag <String[]>
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzFirewallPolicyApplicationRule
-Name <String>
[-Description <String>]
-SourceAddress <String[]>
-WebCategory <String[]>
-Protocol <String[]>
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzFirewallPolicyApplicationRule
-Name <String>
[-Description <String>]
-SourceAddress <String[]>
-Protocol <String[]>
-TargetUrl <String[]>
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzFirewallPolicyApplicationRule
-Name <String>
[-Description <String>]
-SourceIpGroup <String[]>
-TargetFqdn <String[]>
-Protocol <String[]>
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzFirewallPolicyApplicationRule
-Name <String>
[-Description <String>]
-SourceIpGroup <String[]>
-FqdnTag <String[]>
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzFirewallPolicyApplicationRule
-Name <String>
[-Description <String>]
-SourceIpGroup <String[]>
-FqdnTag <String[]>
-WebCategory <String[]>
-Protocol <String[]>
[-TerminateTLS]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzFirewallPolicyApplicationRule
-Name <String>
[-Description <String>]
-SourceIpGroup <String[]>
-Protocol <String[]>
-TargetUrl <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.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Description
The description of the rule
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FqdnTag
The FQDN Tags of the rule
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of the Application Rule
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Protocol
The protocols of the rule
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SourceAddress
The source addresses of the rule
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SourceIpGroup
The source ipgroups of the rule
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetFqdn
The target FQDNs of the rule
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetUrl
The Target Url of the rule
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TerminateTLS
Indicates terminating TLS
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WebCategory
The Web Categories of the rule
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Azure PowerShell