Class: Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayRewriteRule

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


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

def action_set
  @action_set
end

#nameString

Application Gateway.

Returns:

  • (String)

    Name of the rewrite rule that is unique within an


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

def name
  @name
end

Class Method Details

.mapperObject

Mapper for ApplicationGatewayRewriteRule 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
# File 'lib/2018-10-01/generated/azure_mgmt_network/models/application_gateway_rewrite_rule.rb', line 28

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'
          }
        },
        action_set: {
          client_side_validation: true,
          required: false,
          serialized_name: 'actionSet',
          type: {
            name: 'Composite',
            class_name: 'ApplicationGatewayRewriteRuleActionSet'
          }
        }
      }
    }
  }
end