ApplicationGatewayRequestRoutingRule.UpdateStages.WithRedirectConfig Interface

public static interface ApplicationGatewayRequestRoutingRule.UpdateStages.WithRedirectConfig

The stage of an application gateway request routing rule update allowing to associate the rule with a redirect configuration.

Method Summary

Modifier and Type Method and Description
abstract Update withRedirectConfiguration(String name)

Associates the specified redirect configuration with this request routing rule.

abstract Update withoutRedirectConfiguration()

Removes the association with a redirect configuration, if any.

Method Details

withRedirectConfiguration

public abstract ApplicationGatewayRequestRoutingRule.Update withRedirectConfiguration(String name)

Associates the specified redirect configuration with this request routing rule.

Note that no backend can be associated with this request routing rule if it has a redirect configuration assigned to it, so this will also remove any backend and backend HTTP settings configuration.

Parameters:

name - the name of a redirect configuration on this application gateway

Returns:

the next stage of the update

withoutRedirectConfiguration

public abstract ApplicationGatewayRequestRoutingRule.Update withoutRedirectConfiguration()

Removes the association with a redirect configuration, if any.

Returns:

the next stage of the update

Applies to