class Azure::Network::Mgmt::V2016_09_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration

Application gateway web application firewall configuration.

Attributes

enabled[RW]

@return [Boolean] Whether the web application firewall is enabled.

firewall_mode[RW]

@return [ApplicationGatewayFirewallMode] Web application firewall mode. Possible values are: 'Detection' and 'Prevention'. Possible values include: 'Detection', 'Prevention'

Public Class Methods

mapper() click to toggle source

Mapper for ApplicationGatewayWebApplicationFirewallConfiguration class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration',
      model_properties: {
        enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        firewall_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'firewallMode',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end