Interface ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithListener<ParentT>
- Type Parameters:
ParentT- the stage of the application gateway definition to return to after attaching this definition
- All Known Subinterfaces:
ApplicationGatewayRequestRoutingRule.UpdateDefinition<ParentT>, ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.Blank<ParentT>, ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithListenerOrFrontend<ParentT>
- Enclosing interface:
ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages
public static interface ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithListener<ParentT>
The stage of an application gateway request routing rule definition allowing to specify an existing listener
to associate the routing rule with.
-
Method Summary
Modifier and TypeMethodDescriptionApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithBackendHttpConfigOrRedirect<ParentT> fromListener(String name) Associates the request routing rule with a frontend listener.
-
Method Details
-
fromListener
ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithBackendHttpConfigOrRedirect<ParentT> fromListener(String name) Associates the request routing rule with a frontend listener.If the listener with the specified name does not yet exist, it must be defined separately in the optional part of the application gateway definition. This only adds a reference to the listener by its name.
Also, note that a given listener can be used by no more than one request routing rule at a time.
- Parameters:
name- the name of a listener to reference- Returns:
- the next stage of the definition
-