Class: Azure::Network::Mgmt::V2020_04_01::Models::ApplicationGatewayFirewallRuleGroup

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-01/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


20
21
22
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb', line 20

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.


16
17
18
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb', line 16

def rule_group_name
  @rule_group_name
end

#rulesArray<ApplicationGatewayFirewallRule>

application firewall rule group.

Returns:


24
25
26
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb', line 24

def rules
  @rules
end

Class Method Details

.mapperObject

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


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
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb', line 31

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