Class: Azure::Network::Mgmt::V2020_04_01::Models::ApplicationGatewayUrlConfiguration

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

Overview

Url configuration of the Actions set in Application Gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#modified_pathString

means no path will be updated. Default value is null.

Returns:

  • (String)

    Url path which user has provided for url rewrite. Null


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

def modified_path
  @modified_path
end

#modified_query_stringString

Null means no query string will be updated. Default value is null.

Returns:

  • (String)

    Query string which user has provided for url rewrite.


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

def modified_query_string
  @modified_query_string
end

#rerouteBoolean

provided in path based request routing rules using modified path. Default value is false.

Returns:

  • (Boolean)

    If set as true, it will re-evaluate the url path map


26
27
28
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_url_configuration.rb', line 26

def reroute
  @reroute
end

Class Method Details

.mapperObject

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


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
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/application_gateway_url_configuration.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayUrlConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayUrlConfiguration',
      model_properties: {
        modified_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modifiedPath',
          type: {
            name: 'String'
          }
        },
        modified_query_string: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modifiedQueryString',
          type: {
            name: 'String'
          }
        },
        reroute: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reroute',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end