ApplicationGatewayRedirectConfiguration.DefinitionStages.WithTarget<ReturnT> Interface

Type Parameters

ReturnT

the stage of the parent application gateway definition to return to after attaching this definition

public static interface ApplicationGatewayRedirectConfiguration.DefinitionStages.WithTarget

The stage of an application gateway redirect configuration allowing to specify the target URL or listener for the redirection.

Method Summary

Modifier and Type Method and Description
abstract WithAttachAndPath<ReturnT> withTargetListener(String name)

Specifies the listener on this application gateway to redirect to.

abstract WithAttach<ReturnT> withTargetUrl(String url)

Specifies the URL to redirect to.

Method Details

withTargetListener

public abstract ApplicationGatewayRedirectConfiguration.DefinitionStages.WithAttachAndPath withTargetListener(String name)

Specifies the listener on this application gateway to redirect to.

Parameters:

name - the name of a listener on this application gateway

Returns:

the next stage of the definition

withTargetUrl

public abstract ApplicationGatewayRedirectConfiguration.DefinitionStages.WithAttach withTargetUrl(String url)

Specifies the URL to redirect to.

Parameters:

url - a URL

Returns:

the next stage of the definition

Applies to