RedirectConfigurationResponse

data class RedirectConfigurationResponse(val customFragment: String? = null, val customHost: String? = null, val customPath: String? = null, val customQueryString: String? = null, val odataType: String, val redirectProtocol: String? = null, val redirectType: String? = null)

Describes Redirect Route.

Constructors

Link copied to clipboard
constructor(customFragment: String? = null, customHost: String? = null, customPath: String? = null, customQueryString: String? = null, odataType: String, redirectProtocol: String? = null, redirectType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val customFragment: 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: String? = null

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

Link copied to clipboard
val customPath: 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

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

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

Link copied to clipboard

The protocol of the destination to where the traffic is redirected

Link copied to clipboard
val redirectType: String? = null

The redirect type the rule will use when redirecting traffic.