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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure PowerShell