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 Details

    • EXPRESS_ROUTE

      public static final HubRoutingPreference EXPRESS_ROUTE
      Static value ExpressRoute for HubRoutingPreference.
    • VPN_GATEWAY

      public static final HubRoutingPreference VPN_GATEWAY
      Static value VpnGateway for HubRoutingPreference.
    • ASPATH

      public static final HubRoutingPreference ASPATH
      Static value ASPath for HubRoutingPreference.
  • Constructor Details

    • HubRoutingPreference

      @Deprecated public HubRoutingPreference()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of HubRoutingPreference value.
  • Method Details

    • fromString

      public static HubRoutingPreference fromString(String name)
      Creates or finds a HubRoutingPreference from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding HubRoutingPreference.
    • values

      public static Collection<HubRoutingPreference> values()
      Gets known HubRoutingPreference values.
      Returns:
      known HubRoutingPreference values.