Interface WebApplicationFirewallPolicy.UpdateStages.WithManagedRuleSet
- All Known Subinterfaces:
WebApplicationFirewallPolicy.Update,WebApplicationFirewallPolicy.UpdateStages.WithRequestBodyOrUpdate
- Enclosing interface:
WebApplicationFirewallPolicy.UpdateStages
public static interface WebApplicationFirewallPolicy.UpdateStages.WithManagedRuleSet
The stage of a Web Application Firewall Policy update allowing to specify the managed rules.
-
Method Summary
Modifier and TypeMethodDescriptionwithManagedRuleSet(KnownWebApplicationGatewayManagedRuleSet managedRuleSet, ManagedRuleGroupOverride... managedRuleGroupOverrides) Specifies a known managed rule set to be added to the Web Application Firewall, with optional rule group override configurations.withManagedRuleSet(ManagedRuleSet managedRuleSet) Specifies a managed rule set to be added to the Web Application Firewall, with full configuration.withManagedRuleSet(String type, String version, ManagedRuleGroupOverride... managedRuleGroupOverrides) Specifies a managed rule set to be added to the Web Application Firewall, with optional rule group override configurations.withoutManagedRuleSet(KnownWebApplicationGatewayManagedRuleSet managedRuleSet) Removes the specified managed rule set from the Web Application Firewall.withoutManagedRuleSet(String type, String version) Removes the specified managed rule set from the Web Application Firewall.
-
Method Details
-
withManagedRuleSet
WebApplicationFirewallPolicy.Update withManagedRuleSet(KnownWebApplicationGatewayManagedRuleSet managedRuleSet, ManagedRuleGroupOverride... managedRuleGroupOverrides) Specifies a known managed rule set to be added to the Web Application Firewall, with optional rule group override configurations.- Parameters:
managedRuleSet- known managed rule setmanagedRuleGroupOverrides- rule group override configuration- Returns:
- the next stage of the update
-
withManagedRuleSet
WebApplicationFirewallPolicy.Update withManagedRuleSet(String type, String version, ManagedRuleGroupOverride... managedRuleGroupOverrides) Specifies a managed rule set to be added to the Web Application Firewall, with optional rule group override configurations.- Parameters:
type- managed rule set typeversion- managed rule set versionmanagedRuleGroupOverrides- rule group override configuration- Returns:
- the next stage of the update
-
withManagedRuleSet
Specifies a managed rule set to be added to the Web Application Firewall, with full configuration.- Parameters:
managedRuleSet- managed rule set with full configuration- Returns:
- the next stage of the update
-
withoutManagedRuleSet
WebApplicationFirewallPolicy.Update withoutManagedRuleSet(KnownWebApplicationGatewayManagedRuleSet managedRuleSet) Removes the specified managed rule set from the Web Application Firewall.- Parameters:
managedRuleSet- managed rule set to be removed- Returns:
- the next stage of the update
-
withoutManagedRuleSet
Removes the specified managed rule set from the Web Application Firewall.- Parameters:
type- type of the managed rule set to be removedversion- version of the managed rule set to be removed- Returns:
- the next stage of the update
-