UrlRedirectActionParametersArgs

data class UrlRedirectActionParametersArgs(val customFragment: Output<String>? = null, val customHostname: Output<String>? = null, val customPath: Output<String>? = null, val customQueryString: Output<String>? = null, val destinationProtocol: Output<Either<String, DestinationProtocol>>? = null, val odataType: Output<String>, val redirectType: Output<Either<String, RedirectType>>) : ConvertibleToJava<UrlRedirectActionParametersArgs>

Defines the parameters for the url redirect action.

Constructors

Link copied to clipboard
constructor(customFragment: Output<String>? = null, customHostname: Output<String>? = null, customPath: Output<String>? = null, customQueryString: Output<String>? = null, destinationProtocol: Output<Either<String, DestinationProtocol>>? = null, odataType: Output<String>, redirectType: Output<Either<String, RedirectType>>)

Properties

Link copied to clipboard
val customFragment: Output<String>? = null

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

Link copied to clipboard
val customHostname: Output<String>? = null

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

Link copied to clipboard
val customPath: Output<String>? = null

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

Link copied to clipboard
val customQueryString: Output<String>? = null

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.

Link copied to clipboard
val destinationProtocol: Output<Either<String, DestinationProtocol>>? = null

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

Link copied to clipboard
val odataType: Output<String>
Link copied to clipboard
val redirectType: Output<Either<String, RedirectType>>

The redirect type the rule will use when redirecting traffic.

Functions

Link copied to clipboard
open override fun toJava(): UrlRedirectActionParametersArgs