RedirectConfigurationArgs

data class RedirectConfigurationArgs(val customFragment: Output<String>? = null, val customHost: Output<String>? = null, val customPath: Output<String>? = null, val customQueryString: Output<String>? = null, val odataType: Output<String>, val redirectProtocol: Output<Either<String, FrontDoorRedirectProtocol>>? = null, val redirectType: Output<Either<String, FrontDoorRedirectType>>? = null) : ConvertibleToJava<RedirectConfigurationArgs>

Describes Redirect Route.

Constructors

Link copied to clipboard
constructor(customFragment: Output<String>? = null, customHost: Output<String>? = null, customPath: Output<String>? = null, customQueryString: Output<String>? = null, odataType: Output<String>, redirectProtocol: Output<Either<String, FrontDoorRedirectProtocol>>? = null, redirectType: Output<Either<String, FrontDoorRedirectType>>? = null)

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 customHost: 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. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.

Link copied to clipboard
val odataType: Output<String>

Expected value is '#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration'.

Link copied to clipboard
val redirectProtocol: Output<Either<String, FrontDoorRedirectProtocol>>? = null

The protocol of the destination to where the traffic is redirected

Link copied to clipboard
val redirectType: Output<Either<String, FrontDoorRedirectType>>? = null

The redirect type the rule will use when redirecting traffic.

Functions

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