New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject
Skapa ett minnesinternt objekt för SecurityPolicyWebApplicationFirewallParameters.
Syntax
Default (Standard)
New-AzFrontDoorCdnSecurityPolicyWebApplicationFirewallParametersObject
[-Association <ISecurityPolicyWebApplicationFirewallAssociation[]>]
[-WafPolicyId <String>]
[<CommonParameters>]
Description
Skapa ett minnesinternt objekt för SecurityPolicyWebApplicationFirewallParameters.
Exempel
Exempel 1: Skapa ett minnesinternt objekt för 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
-----------
{{...
Skapa ett minnesinternt objekt för AzureFrontDoor SecurityPolicyWebApplicationFirewallAssociation
Parametrar
-Association
Waf-associationer.
Parameteregenskaper
| Typ: | |
| Standardvärde: | None |
| Stöder jokertecken: | False |
| DontShow: | False |
Parameteruppsättningar
(All)
| Position: | Named |
| Obligatorisk: | False |
| Värde från pipeline: | False |
| Värde från pipeline efter egenskapsnamn: | False |
| Värde från återstående argument: | False |
-WafPolicyId
Resursidentifikator.
Parameteregenskaper
| Typ: | String |
| Standardvärde: | None |
| Stöder jokertecken: | False |
| DontShow: | False |
Parameteruppsättningar
(All)
| Position: | Named |
| Obligatorisk: | False |
| Värde från pipeline: | False |
| Värde från pipeline efter egenskapsnamn: | False |
| Värde från återstående argument: | False |
CommonParameters
Den här cmdleten stöder vanliga parametrar: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.