Class: Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallDisabledRuleGroup

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb

Overview

Allows to disable rules within a rule group or an entire rule group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#rule_group_nameString

Returns The name of the rule group that will be disabled.

Returns:

  • (String)

    The name of the rule group that will be disabled.


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb', line 16

def rule_group_name
  @rule_group_name
end

#rulesArray<Integer>

null, all rules of the rule group will be disabled.

Returns:

  • (Array<Integer>)

    The list of rules that will be disabled. If


20
21
22
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb', line 20

def rules
  @rules
end

Class Method Details

.mapperObject

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


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
55
56
57
58
59
60
61
62
63
64
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayFirewallDisabledRuleGroup',
      model_properties: {
        rule_group_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ruleGroupName',
          type: {
            name: 'String'
          }
        },
        rules: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rules',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NumberElementType',
                type: {
                  name: 'Number'
                }
            }
          }
        }
      }
    }
  }
end