You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A firewall policy created using the above commandlet can be referred at a path-rule level.
251
+
he above command would create a default policy settings and managed rules.
252
+
Instead of the default values, users can specify PolicySettings, ManagedRules by using New-AzApplicationGatewayFirewallPolicySettings and New-AzApplicationGatewayFirewallPolicyManagedRules respectively.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
@@ -53,6 +54,13 @@ The next two commands create a backend address pool and a backend HTTP settings
53
54
The fourth command creates the path rule object and is stored in a variable named $PathRuleConfig.
54
55
The fifth command uses **Add-AzApplicationGatewayUrlPathMapConfig** to add the configuration settings and the new path rule contained within those settings to ContosoApplicationGateway.
These command creates a path-rule with the Name as "base", Paths as "/base", BackendAddressPool as $AddressPool, BackendHttpSettings as $HttpSettings and FirewallPolicy as $firewallPolicy.ngs and the new path rule contained within those settings to ContosoApplicationGateway.
63
+
56
64
## PARAMETERS
57
65
58
66
### -BackendAddressPool
@@ -141,6 +149,43 @@ Accept pipeline input: False
141
149
Accept wildcard characters: False
142
150
```
143
151
152
+
### -FirewallPolicy
153
+
Specifies the object reference to a top-level firewall policy.
154
+
The object reference can be created by using New-AzApplicationGatewayWebApplicationFirewallPolicy cmdlet.
A firewall policy created using the above commandlet can be referred at a path-rule level.
157
+
he above command would create a default policy settings and managed rules.
158
+
Instead of the default values, users can specify PolicySettings, ManagedRules by using New-AzApplicationGatewayFirewallPolicySettings and New-AzApplicationGatewayFirewallPolicyManagedRules respectively.
0 commit comments