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>

public final class VpnType extends com.azure.core.util.ExpandableStringEnum<VpnType>
The type of this virtual network gateway.
  • Field Details

    • POLICY_BASED

      public static final VpnType POLICY_BASED
      Static value PolicyBased for VpnType.
    • ROUTE_BASED

      public static final VpnType ROUTE_BASED
      Static value RouteBased for VpnType.
  • Constructor Details

  • Method Details

    • fromString

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

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