Class: Azure::Network::Mgmt::V2017_09_01::Models::ApplicationGatewayRedirectConfiguration
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2017_09_01::Models::ApplicationGatewayRedirectConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/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.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationGatewayRedirectConfiguration class as Ruby Hash.
Instance Attribute Details
#etag ⇒ String
resource is updated.
51 52 53 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 51 def etag @etag end |
#include_path ⇒ Boolean
Returns Include path in the redirected url.
28 29 30 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 28 def include_path @include_path end |
#include_query_string ⇒ Boolean
Returns Include query string in the redirected url.
31 32 33 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 31 def include_query_string @include_query_string end |
#name ⇒ String
group. This name can be used to access the resource.
47 48 49 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 47 def name @name end |
#path_rules ⇒ Array<SubResource>
configuration.
43 44 45 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 43 def path_rules @path_rules end |
#redirect_type ⇒ ApplicationGatewayRedirectType
types - Permanent, Temporary, Found, SeeOther. Possible values include: ‘Permanent’, ‘Found’, ‘SeeOther’, ‘Temporary’
18 19 20 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 18 def redirect_type @redirect_type end |
#request_routing_rules ⇒ Array<SubResource>
configuration.
35 36 37 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 35 def request_routing_rules @request_routing_rules end |
#target_listener ⇒ SubResource
to.
22 23 24 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 22 def target_listener @target_listener end |
#target_url ⇒ String
Returns Url to redirect the request to.
25 26 27 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 25 def target_url @target_url end |
#type ⇒ String
Returns Type of the resource.
54 55 56 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 54 def type @type end |
#url_path_maps ⇒ Array<SubResource>
configuration.
39 40 41 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 39 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.
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 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 |
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb', line 61 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 |