Class: Azure::Network::Mgmt::V2017_03_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2017_03_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb
Overview
Application gateway web application firewall configuration.
Instance Attribute Summary collapse
-
#disabled_rule_groups ⇒ Array<ApplicationGatewayFirewallDisabledRuleGroup>
disabled rule groups.
-
#enabled ⇒ Boolean
not.
-
#firewall_mode ⇒ ApplicationGatewayFirewallMode
Possible values include: ‘Detection’, ‘Prevention’.
-
#rule_set_type ⇒ String
Possible values are: ‘OWASP’.
-
#rule_set_version ⇒ String
The version of the rule set type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationGatewayWebApplicationFirewallConfiguration class as Ruby Hash.
Instance Attribute Details
#disabled_rule_groups ⇒ Array<ApplicationGatewayFirewallDisabledRuleGroup>
disabled rule groups.
32 33 34 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 32 def disabled_rule_groups @disabled_rule_groups end |
#enabled ⇒ Boolean
not.
17 18 19 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 17 def enabled @enabled end |
#firewall_mode ⇒ ApplicationGatewayFirewallMode
Possible values include: ‘Detection’, ‘Prevention’
21 22 23 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 21 def firewall_mode @firewall_mode end |
#rule_set_type ⇒ String
Possible values are: ‘OWASP’.
25 26 27 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 25 def rule_set_type @rule_set_type end |
#rule_set_version ⇒ String
Returns The version of the rule set type.
28 29 30 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 28 def rule_set_version @rule_set_version end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationGatewayWebApplicationFirewallConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 40 def self.mapper() { required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { name: 'Composite', class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { required: true, serialized_name: 'enabled', type: { name: 'Boolean' } }, firewall_mode: { required: true, serialized_name: 'firewallMode', type: { name: 'String' } }, rule_set_type: { required: true, serialized_name: 'ruleSetType', type: { name: 'String' } }, rule_set_version: { required: true, serialized_name: 'ruleSetVersion', type: { name: 'String' } }, disabled_rule_groups: { required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { name: 'Composite', class_name: 'ApplicationGatewayFirewallDisabledRuleGroup' } } } } } } } end |