Class RouteNextHopType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RouteNextHopType>
com.azure.resourcemanager.network.models.RouteNextHopType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class RouteNextHopType
extends com.azure.core.util.ExpandableStringEnum<RouteNextHopType>
The type of Azure hop the packet should be sent to.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RouteNextHopTypeStatic value Internet for RouteNextHopType.static final RouteNextHopTypeStatic value None for RouteNextHopType.static final RouteNextHopTypeStatic value VirtualAppliance for RouteNextHopType.static final RouteNextHopTypeStatic value VirtualNetworkGateway for RouteNextHopType.static final RouteNextHopTypeStatic value VnetLocal for RouteNextHopType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RouteNextHopTypefromString(String name) Creates or finds a RouteNextHopType from its string representation.static Collection<RouteNextHopType> values()Gets known RouteNextHopType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
VIRTUAL_NETWORK_GATEWAY
Static value VirtualNetworkGateway for RouteNextHopType. -
VNET_LOCAL
Static value VnetLocal for RouteNextHopType. -
INTERNET
Static value Internet for RouteNextHopType. -
VIRTUAL_APPLIANCE
Static value VirtualAppliance for RouteNextHopType. -
NONE
Static value None for RouteNextHopType.
-
-
Constructor Details
-
RouteNextHopType
Deprecated.Use thefromString(String)factory method.Creates a new instance of RouteNextHopType value.
-
-
Method Details
-
fromString
Creates or finds a RouteNextHopType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding RouteNextHopType.
-
values
Gets known RouteNextHopType values.- Returns:
- known RouteNextHopType values.
-
fromString(String)factory method.