Edit

Share via


New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject

Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation.

Syntax

Default (Default)

New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject

    [-Domain <IActivatedResourceReference[]>]
    [-PatternsToMatch <String[]>]
    [<CommonParameters>]

Description

Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation.

Examples

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

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

Create an in-memory object for AzureFrontDoor SecurityPolicyWebApplicationFirewallAssociation

Parameters

-Domain

List of domains.

Parameter properties

Type:

IActivatedResourceReference[]

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

-PatternsToMatch

List of paths.

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

SecurityPolicyWebApplicationFirewallAssociation