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 Details

    • 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 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.