Class: Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayFirewallRule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-10-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/2018-10-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/2018-10-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
52
53
54
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayFirewallRule',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayFirewallRule',
      model_properties: {
        rule_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ruleId',
          type: {
            name: 'Number'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end