Class: Azure::Network::Mgmt::V2020_08_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_08_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-08-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.
-
#exclusions ⇒ Array<ApplicationGatewayFirewallExclusion>
list.
-
#file_upload_limit_in_mb ⇒ Integer
Maximum file upload size in Mb for WAF.
-
#firewall_mode ⇒ ApplicationGatewayFirewallMode
Possible values include: ‘Detection’, ‘Prevention’.
-
#max_request_body_size ⇒ Integer
Maximum request body size for WAF.
-
#max_request_body_size_in_kb ⇒ Integer
Maximum request body size in Kb for WAF.
-
#request_body_check ⇒ Boolean
Whether allow WAF to check request Body.
-
#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/2020-08-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/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 17 def enabled @enabled end |
#exclusions ⇒ Array<ApplicationGatewayFirewallExclusion>
list.
48 49 50 |
# File 'lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 48 def exclusions @exclusions end |
#file_upload_limit_in_mb ⇒ Integer
Returns Maximum file upload size in Mb for WAF.
44 45 46 |
# File 'lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 44 def file_upload_limit_in_mb @file_upload_limit_in_mb end |
#firewall_mode ⇒ ApplicationGatewayFirewallMode
Possible values include: ‘Detection’, ‘Prevention’
21 22 23 |
# File 'lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 21 def firewall_mode @firewall_mode end |
#max_request_body_size ⇒ Integer
Returns Maximum request body size for WAF.
38 39 40 |
# File 'lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 38 def max_request_body_size @max_request_body_size end |
#max_request_body_size_in_kb ⇒ Integer
Returns Maximum request body size in Kb for WAF.
41 42 43 |
# File 'lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 41 def max_request_body_size_in_kb @max_request_body_size_in_kb end |
#request_body_check ⇒ Boolean
Returns Whether allow WAF to check request Body.
35 36 37 |
# File 'lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 35 def request_body_check @request_body_check end |
#rule_set_type ⇒ String
Possible values are: ‘OWASP’.
25 26 27 |
# File 'lib/2020-08-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/2020-08-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.
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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'lib/2020-08-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb', line 56 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: true, serialized_name: 'firewallMode', type: { name: 'String' } }, rule_set_type: { client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { name: 'String' } }, rule_set_version: { client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { name: 'String' } }, disabled_rule_groups: { client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { name: 'Composite', class_name: 'ApplicationGatewayFirewallDisabledRuleGroup' } } } }, request_body_check: { client_side_validation: true, required: false, serialized_name: 'requestBodyCheck', type: { name: 'Boolean' } }, max_request_body_size: { client_side_validation: true, required: false, serialized_name: 'maxRequestBodySize', constraints: { InclusiveMaximum: 128, InclusiveMinimum: 8 }, type: { name: 'Number' } }, max_request_body_size_in_kb: { client_side_validation: true, required: false, serialized_name: 'maxRequestBodySizeInKb', constraints: { InclusiveMaximum: 128, InclusiveMinimum: 8 }, type: { name: 'Number' } }, file_upload_limit_in_mb: { client_side_validation: true, required: false, serialized_name: 'fileUploadLimitInMb', constraints: { InclusiveMinimum: 0 }, type: { name: 'Number' } }, exclusions: { client_side_validation: true, required: false, serialized_name: 'exclusions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallExclusionElementType', type: { name: 'Composite', class_name: 'ApplicationGatewayFirewallExclusion' } } } } } } } end |