다음을 통해 공유


IWithWebApplicationFirewall.WithWebApplicationFirewall Method

Definition

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

mode
ApplicationGatewayFirewallMode

Web application firewall mode.

Returns

the next stage of the definition

Applies to