UrlRedirectActionParameters interface

Defines the parameters for the url redirect action.

Properties

customFragment

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

customHostname

Host to redirect. Leave empty to use the incoming host as the destination host.

customPath

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

customQueryString

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

destinationProtocol

Protocol to use for the redirect. The default value is MatchRequest

redirectType

The redirect type the rule will use when redirecting traffic.

typeName

Property Details

customFragment

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

customFragment?: string

Property Value

string

customHostname

Host to redirect. Leave empty to use the incoming host as the destination host.

customHostname?: string

Property Value

string

customPath

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

customPath?: string

Property Value

string

customQueryString

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

customQueryString?: string

Property Value

string

destinationProtocol

Protocol to use for the redirect. The default value is MatchRequest

destinationProtocol?: string

Property Value

string

redirectType

The redirect type the rule will use when redirecting traffic.

redirectType: string

Property Value

string

typeName

typeName: "DeliveryRuleUrlRedirectActionParameters"

Property Value

"DeliveryRuleUrlRedirectActionParameters"