共用方式為


ApplicationGatewayRedirectConfiguration Interface

Implements

public interface ApplicationGatewayRedirectConfiguration
extends HasInnerModel<ApplicationGatewayRedirectConfigurationInner>, ChildResource<ApplicationGateway>

A client-side representation of an application gateway's redirect configuration.

Method Summary

Modifier and Type Method and Description
abstract boolean isPathIncluded()

Checks whether the path is included in the redirected URL.

abstract boolean isQueryStringIncluded()

Checks whether the query string is included in the redirected URL.

abstract Map<String,ApplicationGatewayRequestRoutingRule> requestRoutingRules()

Gets request routing rules on this application referencing this redirect configuration.

abstract ApplicationGatewayListener targetListener()

Gets the target listener on this application network traffic is redirected to.

abstract String targetUrl()

Gets the target URL network traffic is redirected to.

abstract ApplicationGatewayRedirectType type()

Gets the type of redirection.

Method Details

isPathIncluded

public abstract boolean isPathIncluded()

Checks whether the path is included in the redirected URL.

Returns:

true if the path is included in the redirected URL, otherwise false

isQueryStringIncluded

public abstract boolean isQueryStringIncluded()

Checks whether the query string is included in the redirected URL.

Returns:

true if the query string is included in the redirected URL, otherwise false

requestRoutingRules

public abstract Map requestRoutingRules()

Gets request routing rules on this application referencing this redirect configuration.

Returns:

request routing rules on this application referencing this redirect configuration, indexed by name

targetListener

public abstract ApplicationGatewayListener targetListener()

Gets the target listener on this application network traffic is redirected to.

Returns:

the target listener on this application network traffic is redirected to

targetUrl

public abstract String targetUrl()

Gets the target URL network traffic is redirected to.

Returns:

the target URL network traffic is redirected to

type

public abstract ApplicationGatewayRedirectType type()

Gets the type of redirection.

Returns:

the type of redirection.

Applies to