IWithWebApplicationFirewall.WithWebApplicationFirewall Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithWebApplicationFirewall(ApplicationGatewayWebApplicationFirewallConfiguration) |
Specifies web application firewall configuration. |
WithWebApplicationFirewall(Boolean, ApplicationGatewayFirewallMode) |
Specifies web application firewall configuration with default values. |
WithWebApplicationFirewall(ApplicationGatewayWebApplicationFirewallConfiguration)
Specifies web application firewall configuration.
public Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Definition.IWithCreate WithWebApplicationFirewall (Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration);
abstract member WithWebApplicationFirewall : Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayWebApplicationFirewallConfiguration -> Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Definition.IWithCreate
Public Function WithWebApplicationFirewall (webApplicationFirewallConfiguration As ApplicationGatewayWebApplicationFirewallConfiguration) As IWithCreate
Parameters
- webApplicationFirewallConfiguration
- ApplicationGatewayWebApplicationFirewallConfiguration
The web application firewall configuration
Returns
the next stage of the definition
Applies to
WithWebApplicationFirewall(Boolean, ApplicationGatewayFirewallMode)
Specifies web application firewall configuration with default values.
public Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Definition.IWithCreate WithWebApplicationFirewall (bool enabled, Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayFirewallMode mode);
abstract member WithWebApplicationFirewall : bool * Microsoft.Azure.Management.Network.Fluent.Models.ApplicationGatewayFirewallMode -> Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Definition.IWithCreate
Public Function WithWebApplicationFirewall (enabled As Boolean, mode As ApplicationGatewayFirewallMode) As IWithCreate
Parameters
- enabled
- Boolean
enable the firewall when created
Web application firewall mode.
Returns
the next stage of the definition