Class HubRoutingPreference
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HubRoutingPreference>
com.azure.resourcemanager.network.models.HubRoutingPreference
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class HubRoutingPreference
extends com.azure.core.util.ExpandableStringEnum<HubRoutingPreference>
The hub routing preference gateway types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HubRoutingPreferenceStatic value ASPath for HubRoutingPreference.static final HubRoutingPreferenceStatic value ExpressRoute for HubRoutingPreference.static final HubRoutingPreferenceStatic value VpnGateway for HubRoutingPreference. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HubRoutingPreferencefromString(String name) Creates or finds a HubRoutingPreference from its string representation.static Collection<HubRoutingPreference> values()Gets known HubRoutingPreference values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
EXPRESS_ROUTE
Static value ExpressRoute for HubRoutingPreference. -
VPN_GATEWAY
Static value VpnGateway for HubRoutingPreference. -
ASPATH
Static value ASPath for HubRoutingPreference.
-
-
Constructor Details
-
HubRoutingPreference
Deprecated.Use thefromString(String)factory method.Creates a new instance of HubRoutingPreference value.
-
-
Method Details
-
fromString
Creates or finds a HubRoutingPreference from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding HubRoutingPreference.
-
values
Gets known HubRoutingPreference values.- Returns:
- known HubRoutingPreference values.
-
fromString(String)factory method.