Class: Azure::ARM::Network::Models::ApplicationGatewayRedirectConfiguration
- Inherits:
-
MsRestAzure::SubResource
- Object
- MsRestAzure::SubResource
- Azure::ARM::Network::Models::ApplicationGatewayRedirectConfiguration
- 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
-
#etag ⇒ String
resource is updated.
-
#include_path ⇒ Boolean
Include path in the redirected url.
-
#include_query_string ⇒ Boolean
Include query string in the redirected url.
-
#name ⇒ String
group.
-
#path_rules ⇒ Array<SubResource>
configuration.
-
#redirect_type ⇒ ApplicationGatewayRedirectType
types - Permanent, Temporary, Found, SeeOther.
-
#request_routing_rules ⇒ Array<SubResource>
configuration.
-
#target_listener ⇒ SubResource
to.
-
#target_url ⇒ String
Url to redirect the request to.
-
#type ⇒ String
Type of the resource.
-
#url_path_maps ⇒ Array<SubResource>
configuration.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationGatewayRedirectConfiguration class as Ruby Hash.
Instance Attribute Details
#etag ⇒ String
resource is updated.
52 53 54 |
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 52 def etag @etag end |
#include_path ⇒ Boolean
Returns 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_string ⇒ Boolean
Returns 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 |
#name ⇒ String
group. This name can be used to access the resource.
48 49 50 |
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 48 def name @name end |
#path_rules ⇒ Array<SubResource>
configuration.
44 45 46 |
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 44 def path_rules @path_rules end |
#redirect_type ⇒ ApplicationGatewayRedirectType
types - Permanent, Temporary, Found, SeeOther. Possible values include: ‘Permanent’, ‘Found’, ‘SeeOther’, ‘Temporary’
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_rules ⇒ Array<SubResource>
configuration.
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_listener ⇒ SubResource
to.
23 24 25 |
# File 'lib/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 23 def target_listener @target_listener end |
#target_url ⇒ String
Returns 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 |
#type ⇒ String
Returns 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_maps ⇒ Array<SubResource>
configuration.
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
.mapper ⇒ Object
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 |