Interface ApplicationGatewayListener.DefinitionStages.WithFrontendPort<ParentT>
- Type Parameters:
ParentT- the stage of the parent application gateway definition to return to after attaching this definition
- All Known Subinterfaces:
ApplicationGatewayListener.Definition<ParentT>
- Enclosing interface:
ApplicationGatewayListener.DefinitionStages
public static interface ApplicationGatewayListener.DefinitionStages.WithFrontendPort<ParentT>
The stage of an application gateway frontend listener definition allowing to specify the frontend port to
associate the listener with.
-
Method Summary
Modifier and TypeMethodDescriptionwithFrontendPort(int portNumber) Enables the listener to listen on the specified frontend port number.withFrontendPort(String name) Enables the listener to listen on the specified existing frontend port.
-
Method Details
-
withFrontendPort
Enables the listener to listen on the specified existing frontend port.- Parameters:
name- the name of an existing frontend port- Returns:
- the next stage of the definition
-
withFrontendPort
Enables the listener to listen on the specified frontend port number.If a frontend port for this port number does not yet exist, a new will be created with an auto-generated name.
- Parameters:
portNumber- a port number- Returns:
- the next stage of the definition
-