Class: Azure::ARM::Network::Models::ApplicationGatewayFirewallRule
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::ApplicationGatewayFirewallRule
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
Overview
A web application firewall rule.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the web application firewall rule.
-
#rule_id ⇒ Integer
The identifier of the web application firewall rule.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationGatewayFirewallRule class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns The description of the web application firewall rule.
20 21 22 |
# File 'lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb', line 20 def description @description end |
#rule_id ⇒ Integer
Returns The identifier of the web application firewall rule.
17 18 19 |
# File 'lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb', line 17 def rule_id @rule_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationGatewayFirewallRule class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb', line 27 def self.mapper() { required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { name: 'Composite', class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { required: true, serialized_name: 'ruleId', type: { name: 'Number' } }, description: { required: false, serialized_name: 'description', type: { name: 'String' } } } } } end |