Edit

Share via


New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject

Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters.

Syntax

Default (Default)

New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject

    [-Association <ISecurityPolicyWebApplicationFirewallAssociation[]>]
    [-WafPolicyId <String>]
    [<CommonParameters>]

Description

Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters.

Examples

Example 1: Create an in-memory object for AzureFrontDoor SecurityPolicyWebApplicationFirewallAssociation

$endpoint = Get-AzFrontDoorCdnEndpoint -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001
$association = New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject -PatternsToMatch @("/*") -Domain @(@{"Id"=$($endpoint.Id)})
New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject  -Association  $association `
            -WafPolicyId $wafPolicyId
Association
-----------
{{...

Create an in-memory object for AzureFrontDoor SecurityPolicyWebApplicationFirewallAssociation

Parameters

-Association

Waf associations.

Parameter properties

Type:

ISecurityPolicyWebApplicationFirewallAssociation[]

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

-WafPolicyId

Resource ID.

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

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.

Outputs

SecurityPolicyWebApplicationFirewallParameters