ApplicationGateway.UpdateStages.WithFrontendPort Interface

public interface WithFrontendPort

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

Method Summary

Modifier and Type Method and Description
ApplicationGateway.Update withFrontendPort(int portNumber)

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

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.

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.

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.

Method Details

withFrontendPort

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