Class VpnType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VpnType>
com.azure.resourcemanager.network.models.VpnType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The type of this virtual network gateway.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VpnTypefromString(String name) Creates or finds a VpnType from its string representation.static Collection<VpnType> values()Gets known VpnType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
POLICY_BASED
Static value PolicyBased for VpnType. -
ROUTE_BASED
Static value RouteBased for VpnType.
-
-
Constructor Details
-
VpnType
Deprecated.Use thefromString(String)factory method.Creates a new instance of VpnType value.
-
-
Method Details
-
fromString
Creates or finds a VpnType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VpnType.
-
values
Gets known VpnType values.- Returns:
- known VpnType values.
-
fromString(String)factory method.