Class: Azure::ARM::Network::Models::ApplicationGatewayRedirectConfiguration

Inherits:
MsRestAzure::SubResource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb

Overview

Redirect configuration of an application gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the



52
53
54
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 52

def etag
  @etag
end

#include_pathBoolean

Returns Include path in the redirected url.

Returns:

  • (Boolean)

    Include path in the redirected url.



29
30
31
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 29

def include_path
  @include_path
end

#include_query_stringBoolean

Returns Include query string in the redirected url.

Returns:

  • (Boolean)

    Include query string in the redirected url.



32
33
34
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 32

def include_query_string
  @include_query_string
end

#nameString

group. This name can be used to access the resource.

Returns:

  • (String)

    Name of the resource that is unique within a resource



48
49
50
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 48

def name
  @name
end

#path_rulesArray<SubResource>

configuration.

Returns:

  • (Array<SubResource>)

    Path rules specifying redirect



44
45
46
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 44

def path_rules
  @path_rules
end

#redirect_typeApplicationGatewayRedirectType

types - Permanent, Temporary, Found, SeeOther. Possible values include: ‘Permanent’, ‘Found’, ‘SeeOther’, ‘Temporary’

Returns:



19
20
21
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 19

def redirect_type
  @redirect_type
end

#request_routing_rulesArray<SubResource>

configuration.

Returns:

  • (Array<SubResource>)

    Request routing specifying redirect



36
37
38
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 36

def request_routing_rules
  @request_routing_rules
end

#target_listenerSubResource

to.

Returns:

  • (SubResource)

    Reference to a listener to redirect the request



23
24
25
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 23

def target_listener
  @target_listener
end

#target_urlString

Returns Url to redirect the request to.

Returns:

  • (String)

    Url to redirect the request to.



26
27
28
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 26

def target_url
  @target_url
end

#typeString

Returns Type of the resource.

Returns:

  • (String)

    Type of the resource.



55
56
57
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 55

def type
  @type
end

#url_path_mapsArray<SubResource>

configuration.

Returns:

  • (Array<SubResource>)

    Url path maps specifying default redirect



40
41
42
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 40

def url_path_maps
  @url_path_maps
end

Class Method Details

.mapperObject

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



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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 62

def self.mapper()
  {
    required: false,
    serialized_name: 'ApplicationGatewayRedirectConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayRedirectConfiguration',
      model_properties: {
        id: {
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        redirect_type: {
          required: false,
          serialized_name: 'properties.redirectType',
          type: {
            name: 'String'
          }
        },
        target_listener: {
          required: false,
          serialized_name: 'properties.targetListener',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        target_url: {
          required: false,
          serialized_name: 'properties.targetUrl',
          type: {
            name: 'String'
          }
        },
        include_path: {
          required: false,
          serialized_name: 'properties.includePath',
          type: {
            name: 'Boolean'
          }
        },
        include_query_string: {
          required: false,
          serialized_name: 'properties.includeQueryString',
          type: {
            name: 'Boolean'
          }
        },
        request_routing_rules: {
          required: false,
          serialized_name: 'properties.requestRoutingRules',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'SubResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
            }
          }
        },
        url_path_maps: {
          required: false,
          serialized_name: 'properties.urlPathMaps',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'SubResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
            }
          }
        },
        path_rules: {
          required: false,
          serialized_name: 'properties.pathRules',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'SubResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
            }
          }
        },
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end