Interface ApplicationGateway.DefinitionStages.WithFrontendPort
-
- All Known Subinterfaces:
ApplicationGateway.Definition
,ApplicationGateway.DefinitionStages.WithCreate
,ApplicationGateway.DefinitionStages.WithRequestRoutingRuleOrCreate
- Enclosing interface:
- ApplicationGateway.DefinitionStages
public static interface ApplicationGateway.DefinitionStages.WithFrontendPort
The stage of an application gateway definition allowing to add a frontend port.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationGateway.DefinitionStages.WithCreate
withFrontendPort(int portNumber)
Creates a frontend port with an auto-generated name and the specified port number, unless one already exists.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.
-
-
-
Method Detail
-
withFrontendPort
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
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 numbername
- 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.
-
-