Interface ApplicationGatewayRedirectConfiguration.DefinitionStages.WithTarget<ReturnT>
-
- Type Parameters:
ReturnT
- the stage of the parent application gateway definition to return to after attaching this definition
- All Known Subinterfaces:
ApplicationGatewayRedirectConfiguration.Definition<ReturnT>
- Enclosing interface:
- ApplicationGatewayRedirectConfiguration.DefinitionStages
public static interface ApplicationGatewayRedirectConfiguration.DefinitionStages.WithTarget<ReturnT>
The stage of an application gateway redirect configuration allowing to specify the target URL or listener for the redirection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationGatewayRedirectConfiguration.DefinitionStages.WithAttachAndPath<ReturnT>
withTargetListener(String name)
Specifies the listener on this application gateway to redirect to.ApplicationGatewayRedirectConfiguration.DefinitionStages.WithAttach<ReturnT>
withTargetUrl(String url)
Specifies the URL to redirect to.
-
-
-
Method Detail
-
withTargetUrl
ApplicationGatewayRedirectConfiguration.DefinitionStages.WithAttach<ReturnT> withTargetUrl(String url)
Specifies the URL to redirect to.- Parameters:
url
- a URL- Returns:
- the next stage of the definition
-
withTargetListener
ApplicationGatewayRedirectConfiguration.DefinitionStages.WithAttachAndPath<ReturnT> 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
-
-