編集

次の方法で共有


New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallAssociationObject

Create an in-memory object for SecurityPolicyWebApplicationFirewallAssociation.

Syntax

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. To construct, see NOTES section for DOMAIN properties and create a hash table.

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

-PatternsToMatch

List of paths.

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

Outputs

SecurityPolicyWebApplicationFirewallAssociation