java.lang.Object
com.azure.core.util.ExpandableStringEnum<VpnType>
com.azure.resourcemanager.network.models.VpnType

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

    Fields
    Modifier and Type
    Field
    Description
    static final VpnType
    Static value PolicyBased for VpnType.
    static final VpnType
    Static value RouteBased for VpnType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static VpnType
    Creates or finds a VpnType from its string representation.
    Gets known VpnType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

    • VpnType

      public VpnType()
  • 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.