Class: Azure::ARM::Network::Models::ApplicationGatewayFirewallRuleGroup

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb

Overview

A web application firewall rule group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

group.

Returns:

  • (String)

    The description of the web application firewall rule



21
22
23
# File 'lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb', line 21

def description
  @description
end

#rule_group_nameString

Returns The name of the web application firewall rule group.

Returns:

  • (String)

    The name of the web application firewall rule group.



17
18
19
# File 'lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb', line 17

def rule_group_name
  @rule_group_name
end

#rulesArray<ApplicationGatewayFirewallRule>

application firewall rule group.

Returns:



25
26
27
# File 'lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb', line 25

def rules
  @rules
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb', line 32

def self.mapper()
  {
    required: false,
    serialized_name: 'ApplicationGatewayFirewallRuleGroup',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayFirewallRuleGroup',
      model_properties: {
        rule_group_name: {
          required: true,
          serialized_name: 'ruleGroupName',
          type: {
            name: 'String'
          }
        },
        description: {
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        rules: {
          required: true,
          serialized_name: 'rules',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'ApplicationGatewayFirewallRuleElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationGatewayFirewallRule'
                }
            }
          }
        }
      }
    }
  }
end