Class: Azure::Network::Mgmt::V2019_06_01::Models::ApplicationGatewayFirewallExclusion

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb

Overview

Allow to exclude some variable satisfy the condition for the WAF check.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#match_variableString

Returns The variable to be excluded.

Returns:

  • (String)

    The variable to be excluded.


16
17
18
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb', line 16

def match_variable
  @match_variable
end

#selectorString

specify which elements in the collection this exclusion applies to.

Returns:

  • (String)

    When matchVariable is a collection, operator used to


25
26
27
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb', line 25

def selector
  @selector
end

#selector_match_operatorString

selector to specify which elements in the collection this exclusion applies to.

Returns:

  • (String)

    When matchVariable is a collection, operate on the


21
22
23
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb', line 21

def selector_match_operator
  @selector_match_operator
end

Class Method Details

.mapperObject

Mapper for ApplicationGatewayFirewallExclusion 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
# File 'lib/2019-06-01/generated/azure_mgmt_network/models/application_gateway_firewall_exclusion.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayFirewallExclusion',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayFirewallExclusion',
      model_properties: {
        match_variable: {
          client_side_validation: true,
          required: true,
          serialized_name: 'matchVariable',
          type: {
            name: 'String'
          }
        },
        selector_match_operator: {
          client_side_validation: true,
          required: true,
          serialized_name: 'selectorMatchOperator',
          type: {
            name: 'String'
          }
        },
        selector: {
          client_side_validation: true,
          required: true,
          serialized_name: 'selector',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end