New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject
Create an in-memory object for SecurityPolicyWebApplicationFirewallParameters.
Syntax
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. To construct, see NOTES section for ASSOCIATION properties and create a hash table.
Type: | ISecurityPolicyWebApplicationFirewallAssociation[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WafPolicyId
Resource ID.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell