Class: Azure::Network::Mgmt::V2019_02_01::Models::ApplicationGatewayRewriteRuleCondition

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

Overview

Set of conditions in the Rewrite Rule in Application Gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#ignore_caseBoolean

pattern to do a case in-sensitive comparison.

Returns:

  • (Boolean)

    Setting this paramter to truth value with force the


24
25
26
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb', line 24

def ignore_case
  @ignore_case
end

#negateBoolean

negation of the condition given by the user.

Returns:

  • (Boolean)

    Setting this value as truth will force to check the


28
29
30
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb', line 28

def negate
  @negate
end

#patternString

expression, that evaluates the truthfulness of the condition

Returns:

  • (String)

    The pattern, either fixed string or regular


20
21
22
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb', line 20

def pattern
  @pattern
end

#variableString

Returns The condition parameter of the RewriteRuleCondition.

Returns:

  • (String)

    The condition parameter of the RewriteRuleCondition.


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

def variable
  @variable
end

Class Method Details

.mapperObject

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


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
77
78
79
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule_condition.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayRewriteRuleCondition',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayRewriteRuleCondition',
      model_properties: {
        variable: {
          client_side_validation: true,
          required: false,
          serialized_name: 'variable',
          type: {
            name: 'String'
          }
        },
        pattern: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pattern',
          type: {
            name: 'String'
          }
        },
        ignore_case: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ignoreCase',
          type: {
            name: 'Boolean'
          }
        },
        negate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'negate',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end