ApplicationGateway.DefinitionStages.WithFrontendPort Interface

public static interface ApplicationGateway.DefinitionStages.WithFrontendPort

The stage of an application gateway definition allowing to add a frontend port.

Method Summary

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

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

abstract WithCreate withFrontendPort(int portNumber, String name)

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

Method Details

withFrontendPort

public abstract ApplicationGateway.DefinitionStages.WithCreate withFrontendPort(int portNumber)

Creates a frontend 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.DefinitionStages.WithCreate withFrontendPort(int portNumber, String name)

Creates a frontend 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.

Applies to