Class VpnGatewayGeneration

java.lang.Object
com.azure.core.util.ExpandableStringEnum<VpnGatewayGeneration>
com.azure.resourcemanager.network.models.VpnGatewayGeneration
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class VpnGatewayGeneration extends com.azure.core.util.ExpandableStringEnum<VpnGatewayGeneration>
The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.
  • Field Details

    • NONE

      public static final VpnGatewayGeneration NONE
      Static value None for VpnGatewayGeneration.
    • GENERATION1

      public static final VpnGatewayGeneration GENERATION1
      Static value Generation1 for VpnGatewayGeneration.
    • GENERATION2

      public static final VpnGatewayGeneration GENERATION2
      Static value Generation2 for VpnGatewayGeneration.
  • Constructor Details

    • VpnGatewayGeneration

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

    • fromString

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

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