FrontdoorRuleActionsUrlRedirectAction

data class FrontdoorRuleActionsUrlRedirectAction(val destinationFragment: String? = null, val destinationHostname: String, val destinationPath: String? = null, val queryString: String? = null, val redirectProtocol: String? = null, val redirectType: String)

Constructors

Link copied to clipboard
constructor(destinationFragment: String? = null, destinationHostname: String, destinationPath: String? = null, queryString: String? = null, redirectProtocol: String? = null, redirectType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The fragment to use in the redirect. The value must be a string between 0 and 1024 characters in length, leave blank to preserve the incoming fragment. Defaults to "".

Link copied to clipboard

The host name you want the request to be redirected to. The value must be a string between 0 and 2048 characters in length, leave blank to preserve the incoming host.

Link copied to clipboard
val destinationPath: String? = null

The path to use in the redirect. The value must be a string and include the leading /, leave blank to preserve the incoming path. Defaults to "".

Link copied to clipboard
val queryString: String? = null

The query string used in the redirect URL. The value must be in the = or ={action_server_variable} format and must not include the leading ?, leave blank to preserve the incoming query string. Maximum allowed length for this field is 2048 characters. Defaults to "".

Link copied to clipboard

The protocol the request will be redirected as. Possible values include MatchRequest, Http or Https. Defaults to MatchRequest.

Link copied to clipboard

The response type to return to the requestor. Possible values include Moved, Found , TemporaryRedirect or PermanentRedirect.