UrlRedirectActionParameters Class

Definition

Defines the parameters for the url redirect action.

public class UrlRedirectActionParameters
type UrlRedirectActionParameters = class
Public Class UrlRedirectActionParameters
Inheritance
UrlRedirectActionParameters

Constructors

UrlRedirectActionParameters()

Initializes a new instance of the UrlRedirectActionParameters class.

UrlRedirectActionParameters(String, String, String, String, String, String)

Initializes a new instance of the UrlRedirectActionParameters class.

Properties

CustomFragment

Gets or sets fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.

CustomHostname

Gets or sets host to redirect. Leave empty to use the incoming host as the destination host.

CustomPath

Gets or sets the full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.

CustomQueryString

Gets or sets 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. ? and & will be added automatically so do not include them.

DestinationProtocol

Gets or sets protocol to use for the redirect. The default value is MatchRequest. Possible values include: 'MatchRequest', 'Http', 'Https'

Odatatype
RedirectType

Gets or sets the redirect type the rule will use when redirecting traffic. Possible values include: 'Moved', 'Found', 'TemporaryRedirect', 'PermanentRedirect'

Methods

Validate()

Validate the object.

Applies to