ApplicationGateway.UpdateStages.WithFrontendPort Interface

public static interface ApplicationGateway.UpdateStages.WithFrontendPort

The stage of an application gateway update allowing to modify front end ports.

Method Summary

Modifier and Type Method and Description
abstract Update withFrontendPort(int portNumber)

Creates a front end port with an auto-generated name and the specified port number, unless one already exists.

abstract Update withFrontendPort(int portNumber, String name)

Creates a front end port with the specified name and port number, unless a port matching this name and/or number already exists.

abstract Update withoutFrontendPort(int portNumber)

Removes the specified frontend port.

abstract Update withoutFrontendPort(String name)

Removes the specified frontend port.

Method Details

withFrontendPort

public abstract ApplicationGateway.Update withFrontendPort(int portNumber)

Creates a front end port with an auto-generated name and the specified port number, unless one already exists.

Parameters:

portNumber - a port number

Returns:

the next stage of the definition

withFrontendPort

public abstract ApplicationGateway.Update withFrontendPort(int portNumber, String name)

Creates a front end port with the specified name and port number, unless a port matching this name and/or number already exists.

Parameters:

portNumber - a port number
name - the name to assign to the port

Returns:

the next stage of the definition, or null if a port matching either the name or the number, but not both, already exists.

withoutFrontendPort

public abstract ApplicationGateway.Update withoutFrontendPort(int portNumber)

Removes the specified frontend port.

Note that removing a frontend port referenced by other settings may break the application gateway.

Parameters:

portNumber - the port number of the frontend port to remove

Returns:

the next stage of the update

withoutFrontendPort

public abstract ApplicationGateway.Update withoutFrontendPort(String name)

Removes the specified frontend port.

Note that removing a frontend port referenced by other settings may break the application gateway.

Parameters:

name - the name of the frontend port to remove

Returns:

the next stage of the update

Applies to