ApplicationGatewayListener.UpdateDefinitionStages.WithFrontendPort<ParentT> Interface

Type Parameters

ParentT

the stage of the parent application gateway definition to return to after attaching this definition

public static interface ApplicationGatewayListener.UpdateDefinitionStages.WithFrontendPort

The stage of an application gateway frontend listener definition allowing to specify the frontend port to associate the listener with.

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ParentT> withFrontendPort(int portNumber)

Enables the listener to listen on the specified frontend port number.

abstract WithAttach<ParentT> withFrontendPort(String name)

Enables the listener to listen on the specified existing frontend port.

Method Details

withFrontendPort

public abstract ApplicationGatewayListener.UpdateDefinitionStages.WithAttach withFrontendPort(int portNumber)

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

withFrontendPort

public abstract ApplicationGatewayListener.UpdateDefinitionStages.WithAttach withFrontendPort(String name)

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

Applies to