Class: Azure::Network::Mgmt::V2017_03_01::Models::ApplicationGatewayFirewallRule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb

Overview

A web application firewall rule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns The description of the web application firewall rule.

Returns:

  • (String)

    The description of the web application firewall rule.



19
20
21
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb', line 19

def description
  @description
end

#rule_idInteger

Returns The identifier of the web application firewall rule.

Returns:

  • (Integer)

    The identifier of the web application firewall rule.



16
17
18
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb', line 16

def rule_id
  @rule_id
end

Class Method Details

.mapperObject

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



26
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
# File 'lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb', line 26

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