ApplicationGatewayListener.UpdateStages.WithFrontendPort Interface

public interface WithFrontendPort

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

Method Summary

Modifier and Type Method and Description
ApplicationGatewayListener.Update 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.

ApplicationGatewayListener.Update withFrontendPort(String name)

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

Method Details

withFrontendPort

public Update 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 Update 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