ApplicationGatewayRedirectConfiguration.UpdateStages.WithTarget Interface

public static interface ApplicationGatewayRedirectConfiguration.UpdateStages.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 Update withTargetListener(String name)

Specifies the listener on this application gateway to redirect to.

abstract Update withTargetUrl(String url)

Specifies the URL to redirect to.

abstract Update withoutTargetListener()

Removes the reference to the target listener.

abstract Update withoutTargetUrl()

Removes the reference to the target URL.

Method Details

withTargetListener

public abstract ApplicationGatewayRedirectConfiguration.Update 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 update

withTargetUrl

public abstract ApplicationGatewayRedirectConfiguration.Update withTargetUrl(String url)

Specifies the URL to redirect to.

Parameters:

url - a URL

Returns:

the next stage of the update

withoutTargetListener

public abstract ApplicationGatewayRedirectConfiguration.Update withoutTargetListener()

Removes the reference to the target listener.

Returns:

the next stage of the update

withoutTargetUrl

public abstract ApplicationGatewayRedirectConfiguration.Update withoutTargetUrl()

Removes the reference to the target URL.

Returns:

the next stage of the update

Applies to