RouteTable.UpdateStages.WithRoute Interface
public interface WithRoute
The stage of the route table definition allowing to add, remove or modify routes.
Method Summary
Modifier and Type | Method and Description |
---|---|
Route.UpdateDefinitionStages.Blank<Route |
defineRoute(String name)
Begins the definition of a new route to add to the route table. The definition must be completed with a call to attach() |
Route.Update |
updateRoute(String name)
Begins the update of an existing route on this route table. |
Route |
withoutRoute(String name)
Removes the specified route from the route table. |
Route |
withRoute(String destinationAddressPrefix, RouteNextHopType nextHop)
Creates a non-virtual appliance route. The name is generated automatically. |
Route |
withRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)
Creates a route via a virtual appliance. |
Method Details
defineRoute
public Route.UpdateDefinitionStages.Blank
Begins the definition of a new route to add to the route table.
The definition must be completed with a call to attach()
Parameters:
Returns:
updateRoute
public Route.Update updateRoute(String name)
Begins the update of an existing route on this route table.
Parameters:
Returns:
withoutRoute
public Update withoutRoute(String name)
Removes the specified route from the route table.
Parameters:
Returns:
withRoute
public Update withRoute(String destinationAddressPrefix, RouteNextHopType nextHop)
Creates a non-virtual appliance route.
The name is generated automatically.
Parameters:
Returns:
withRouteViaVirtualAppliance
public Update withRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)
Creates a route via a virtual appliance.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for