Interface ApplicationGateway.DefinitionStages.WithWebApplicationFirewallPolicy
- All Known Subinterfaces:
ApplicationGateway.Definition, ApplicationGateway.DefinitionStages.WithCreate, ApplicationGateway.DefinitionStages.WithRequestRoutingRuleOrCreate
- Enclosing interface:
ApplicationGateway.DefinitionStages
public static interface ApplicationGateway.DefinitionStages.WithWebApplicationFirewallPolicy
The stage of the application gateway definition allowing to associate a Web Application Firewall Policy.
-
Method Summary
Modifier and TypeMethodDescriptionAssociates an existing Web Application Firewall Policy with the application gateway.withExistingWebApplicationFirewallPolicy(String resourceId) Associates an existing Web Application Firewall Policy with the application gateway.Associates a new Web Application Firewall Policy with the application gateway.Associates a new Web Application Firewall Policy with the application gateway.
-
Method Details
-
withExistingWebApplicationFirewallPolicy
ApplicationGateway.DefinitionStages.WithCreate withExistingWebApplicationFirewallPolicy(WebApplicationFirewallPolicy wafPolicy) Associates an existing Web Application Firewall Policy with the application gateway. The new association will remove and replace previous WAF policy association (if any).- Parameters:
wafPolicy- existing Web Application Firewall Policy- Returns:
- the next stage of the definition
-
withExistingWebApplicationFirewallPolicy
ApplicationGateway.DefinitionStages.WithCreate withExistingWebApplicationFirewallPolicy(String resourceId) Associates an existing Web Application Firewall Policy with the application gateway. The new association will remove and replace previous WAF policy association (if any).- Parameters:
resourceId- existing Web Application Firewall Policy- Returns:
- the next stage of the definition
-
withNewWebApplicationFirewallPolicy
ApplicationGateway.DefinitionStages.WithCreate withNewWebApplicationFirewallPolicy(WebApplicationFirewallMode mode) Associates a new Web Application Firewall Policy with the application gateway. The new association will remove and replace previous WAF policy association (if any).- Parameters:
mode- the Web Application Firewall mode- Returns:
- the next stage of the update
-
withNewWebApplicationFirewallPolicy
ApplicationGateway.DefinitionStages.WithCreate withNewWebApplicationFirewallPolicy(Creatable<WebApplicationFirewallPolicy> creatable) Associates a new Web Application Firewall Policy with the application gateway. The new association will remove and replace previous WAF policy association (if any).- Parameters:
creatable- full definition of the new Web Application Firewall Policy- Returns:
- the next stage of the definition
-