Class: Azure::ARM::Network::Models::ApplicationGatewayFirewallRule

Inherits:
Object
  • Object
show all
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

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.



20
21
22
# File 'lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb', line 20

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.



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

.mapperObject

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