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
Modifier and TypeMethodDescriptionwithTargetListener(String name) Specifies the listener on this application gateway to redirect to.withTargetUrl(String url) Specifies the URL to redirect to.
-
Method Details
-
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
-