Interface ApplicationGateway.UpdateStages.WithFrontendPort

    • Method Detail

      • withFrontendPort

        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

        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

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

        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