편집

다음을 통해 공유


New-AzFirewallPolicyIntrusionDetectionBypassTraffic

Creates a new Azure Firewall Policy Intrusion Detection Bypass Traffic Setting

Syntax

New-AzFirewallPolicyIntrusionDetectionBypassTraffic
   -Name <String>
   [-Description <String>]
   -Protocol <String>
   [-SourceAddress <String[]>]
   [-DestinationAddress <String[]>]
   [-SourceIpGroup <String[]>]
   [-DestinationIpGroup <String[]>]
   -DestinationPort <String[]>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-AzFirewallPolicyIntrusionDetectionBypassTraffic cmdlet creates an Azure Firewall Policy Intrusion Detection Bypass Traffic Object.

Examples

Example 1: Create bypass traffic with specific port and source address

$bypass = New-AzFirewallPolicyIntrusionDetectionBypassTraffic -Name "bypass-setting" -Protocol "TCP" -DestinationPort "80" -SourceAddress "10.0.0.0" -DestinationAddress "*"
New-AzFirewallPolicyIntrusionDetection -Mode "Deny" -BypassTraffic $bypass

This example creates intrusion detection with bypass traffic setting

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-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

Bypass setting description.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DestinationAddress

List of destination IP addresses or ranges.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DestinationIpGroup

List of destination IpGroups.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DestinationPort

List of destination ports or ranges.

Type:String[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Bypass setting name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Protocol

Bypass setting protocol.

Type:String
Accepted values:TCP, UDP, ICMP, ANY
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SourceAddress

List of source IP addresses or ranges.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SourceIpGroup

List of source IpGroups.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSAzureFirewallPolicyIntrusionDetectionBypassTrafficSetting