Class: Azure::Network::Mgmt::V2020_03_01::Models::ApplicationGatewayRewriteRule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb

Overview

Rewrite rule of an application gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#action_setApplicationGatewayRewriteRuleActionSet

done as part of the rewrite Rule.

Returns:


29
30
31
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb', line 29

def action_set
  @action_set
end

#conditionsArray<ApplicationGatewayRewriteRuleCondition>

based on which the action set execution will be evaluated.

Returns:


25
26
27
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb', line 25

def conditions
  @conditions
end

#nameString

Application Gateway.

Returns:

  • (String)

    Name of the rewrite rule that is unique within an


17
18
19
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb', line 17

def name
  @name
end

#rule_sequenceInteger

order of execution of a particular rule in a RewriteRuleSet.

Returns:

  • (Integer)

    Rule Sequence of the rewrite rule that determines the


21
22
23
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb', line 21

def rule_sequence
  @rule_sequence
end

Class Method Details

.mapperObject

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


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
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayRewriteRule',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayRewriteRule',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        rule_sequence: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ruleSequence',
          type: {
            name: 'Number'
          }
        },
        conditions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'conditions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationGatewayRewriteRuleConditionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationGatewayRewriteRuleCondition'
                }
            }
          }
        },
        action_set: {
          client_side_validation: true,
          required: false,
          serialized_name: 'actionSet',
          type: {
            name: 'Composite',
            class_name: 'ApplicationGatewayRewriteRuleActionSet'
          }
        }
      }
    }
  }
end