RouteTable.DefinitionStages.WithRoute Interface
public static interface RouteTable.DefinitionStages.WithRoute
The stage of the route table definition allowing to add routes.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Blank<With |
defineRoute(String name)
Begins the definition of a new route to add to the route table. |
abstract
With |
withRoute(String destinationAddressPrefix, RouteNextHopType nextHop)
Creates a non-virtual appliance route. |
abstract
With |
withRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)
Creates a route via a virtual appliance. |
Method Details
defineRoute
public abstract Route.DefinitionStages.Blank
Begins the definition of a new route to add to the route table.
The definition must be completed with a call to Route.DefinitionStages.WithAttach#attach()
Parameters:
Returns:
withRoute
public abstract RouteTable.DefinitionStages.WithCreate withRoute(String destinationAddressPrefix, RouteNextHopType nextHop)
Creates a non-virtual appliance route.
The name is generated automatically.
Parameters:
Returns:
withRouteViaVirtualAppliance
public abstract RouteTable.DefinitionStages.WithCreate withRouteViaVirtualAppliance(String destinationAddressPrefix, String ipAddress)
Creates a route via a virtual appliance.
Parameters:
Returns:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per