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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure PowerShell