RedirectConfiguration Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RedirectConfiguration() |
Initializes a new instance of the RedirectConfiguration class. |
RedirectConfiguration(String, String, String, String, String, String) |
Initializes a new instance of the RedirectConfiguration class. |
RedirectConfiguration()
Initializes a new instance of the RedirectConfiguration class.
public RedirectConfiguration ();
Public Sub New ()
Applies to
RedirectConfiguration(String, String, String, String, String, String)
Initializes a new instance of the RedirectConfiguration class.
public RedirectConfiguration (string redirectType = default, string redirectProtocol = default, string customHost = default, string customPath = default, string customFragment = default, string customQueryString = default);
new Microsoft.Azure.Management.FrontDoor.Models.RedirectConfiguration : string * string * string * string * string * string -> Microsoft.Azure.Management.FrontDoor.Models.RedirectConfiguration
Public Sub New (Optional redirectType As String = Nothing, Optional redirectProtocol As String = Nothing, Optional customHost As String = Nothing, Optional customPath As String = Nothing, Optional customFragment As String = Nothing, Optional customQueryString As String = Nothing)
Parameters
- redirectType
- String
The redirect type the rule will use when redirecting traffic. Possible values include: 'Moved', 'Found', 'TemporaryRedirect', 'PermanentRedirect'
- redirectProtocol
- String
The protocol of the destination to where the traffic is redirected Possible values include: 'HttpOnly', 'HttpsOnly', 'MatchRequest'
- customHost
- String
Host to redirect. Leave empty to use the incoming host as the destination host.
- customPath
- String
The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- customFragment
- String
Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- customQueryString
- String
The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.