Class VpnNatRuleMode

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

public final class VpnNatRuleMode extends com.azure.core.util.ExpandableStringEnum<VpnNatRuleMode>
The Source NAT direction of a VPN NAT.
  • Field Details

    • EGRESS_SNAT

      public static final VpnNatRuleMode EGRESS_SNAT
      Static value EgressSnat for VpnNatRuleMode.
    • INGRESS_SNAT

      public static final VpnNatRuleMode INGRESS_SNAT
      Static value IngressSnat for VpnNatRuleMode.
  • Constructor Details

    • VpnNatRuleMode

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

    • fromString

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

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