Interface ApplicationGateway.UpdateStages.WithFrontendPort
- All Known Subinterfaces:
ApplicationGateway.Update
- Enclosing interface:
- ApplicationGateway.UpdateStages
public static interface ApplicationGateway.UpdateStages.WithFrontendPort
The stage of an application gateway update allowing to modify front end ports.
-
Method Summary
Modifier and TypeMethodDescriptionwithFrontendPort(int portNumber) Creates a front end port with an auto-generated name and the specified port number, unless one already exists.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.withoutFrontendPort(int portNumber) Removes the specified frontend port.withoutFrontendPort(String name) Removes the specified frontend port.
-
Method Details
-
withFrontendPort
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
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 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.
-
withoutFrontendPort
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
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
-