java.lang.Object
com.azure.core.util.ExpandableStringEnum<IpVersion>
com.azure.resourcemanager.hybridnetwork.models.IpVersion

public final class IpVersion extends com.azure.core.util.ExpandableStringEnum<IpVersion>
IP address version.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IpVersion
    Static value IPv4 for IpVersion.
    static final IpVersion
    Static value Unknown for IpVersion.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static IpVersion
    Creates or finds a IpVersion from its string representation.
    Gets known IpVersion 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

    • UNKNOWN

      public static final IpVersion UNKNOWN
      Static value Unknown for IpVersion.
    • IPV4

      public static final IpVersion IPV4
      Static value IPv4 for IpVersion.
  • Constructor Details

    • IpVersion

      public IpVersion()
  • Method Details

    • fromString

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

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