RedirectConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes Redirect Route.
public class RedirectConfiguration : Azure.ResourceManager.FrontDoor.Models.RouteConfiguration, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.FrontDoor.Models.RedirectConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.FrontDoor.Models.RedirectConfiguration>
public class RedirectConfiguration : Azure.ResourceManager.FrontDoor.Models.RouteConfiguration
type RedirectConfiguration = class
inherit RouteConfiguration
interface IJsonModel<RedirectConfiguration>
interface IPersistableModel<RedirectConfiguration>
type RedirectConfiguration = class
inherit RouteConfiguration
Public Class RedirectConfiguration
Inherits RouteConfiguration
Implements IJsonModel(Of RedirectConfiguration), IPersistableModel(Of RedirectConfiguration)
Public Class RedirectConfiguration
Inherits RouteConfiguration
- Inheritance
- Implements
Constructors
RedirectConfiguration() |
Initializes a new instance of RedirectConfiguration. |
Properties
CustomFragment |
Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. |
CustomHost |
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 <key>=<value> format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &. |
RedirectProtocol |
The protocol of the destination to where the traffic is redirected. |
RedirectType |
The redirect type the rule will use when redirecting traffic. |