Dela via


ApplicationGatewayRedirectConfiguration Constructors

Definition

Overloads

ApplicationGatewayRedirectConfiguration()

Initializes a new instance of the ApplicationGatewayRedirectConfiguration class.

ApplicationGatewayRedirectConfiguration(String, String, SubResource, String, Nullable<Boolean>, Nullable<Boolean>, IList<SubResource>, IList<SubResource>, IList<SubResource>, String, String, String)

Initializes a new instance of the ApplicationGatewayRedirectConfiguration class.

ApplicationGatewayRedirectConfiguration()

Initializes a new instance of the ApplicationGatewayRedirectConfiguration class.

public ApplicationGatewayRedirectConfiguration ();
Public Sub New ()

Applies to

ApplicationGatewayRedirectConfiguration(String, String, SubResource, String, Nullable<Boolean>, Nullable<Boolean>, IList<SubResource>, IList<SubResource>, IList<SubResource>, String, String, String)

Initializes a new instance of the ApplicationGatewayRedirectConfiguration class.

public ApplicationGatewayRedirectConfiguration (string id = default, string redirectType = default, Microsoft.Azure.Management.Network.Models.SubResource targetListener = default, string targetUrl = default, bool? includePath = default, bool? includeQueryString = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> requestRoutingRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> urlPathMaps = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> pathRules = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Models.ApplicationGatewayRedirectConfiguration : string * string * Microsoft.Azure.Management.Network.Models.SubResource * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string * string * string -> Microsoft.Azure.Management.Network.Models.ApplicationGatewayRedirectConfiguration
Public Sub New (Optional id As String = Nothing, Optional redirectType As String = Nothing, Optional targetListener As SubResource = Nothing, Optional targetUrl As String = Nothing, Optional includePath As Nullable(Of Boolean) = Nothing, Optional includeQueryString As Nullable(Of Boolean) = Nothing, Optional requestRoutingRules As IList(Of SubResource) = Nothing, Optional urlPathMaps As IList(Of SubResource) = Nothing, Optional pathRules As IList(Of SubResource) = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)

Parameters

id
String

Resource ID.

redirectType
String

HTTP redirection type. Possible values include: 'Permanent', 'Found', 'SeeOther', 'Temporary'

targetListener
SubResource

Reference to a listener to redirect the request to.

targetUrl
String

Url to redirect the request to.

includePath
Nullable<Boolean>

Include path in the redirected url.

includeQueryString
Nullable<Boolean>

Include query string in the redirected url.

requestRoutingRules
IList<SubResource>

Request routing specifying redirect configuration.

urlPathMaps
IList<SubResource>

Url path maps specifying default redirect configuration.

pathRules
IList<SubResource>

Path rules specifying redirect configuration.

name
String

Name of the redirect configuration that is unique within an Application Gateway.

etag
String

A unique read-only string that changes whenever the resource is updated.

type
String

Type of the resource.

Applies to