Class IpType

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

public final class IpType extends com.azure.core.util.ExpandableStringEnum<IpType>
Enumeration to indicate the IP type.
  • Field Summary

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

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

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

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

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • IPV4

      public static final IpType IPV4
      Static value IPv4 for IpType.
    • IPV6

      public static final IpType IPV6
      Static value IPv6 for IpType.
  • Constructor Details

  • Method Details

    • fromString

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

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