Class IpAllocationMethod

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

public final class IpAllocationMethod extends com.azure.core.util.ExpandableStringEnum<IpAllocationMethod>
IP address allocation method.
  • Field Details

    • STATIC

      public static final IpAllocationMethod STATIC
      Static value Static for IpAllocationMethod.
    • DYNAMIC

      public static final IpAllocationMethod DYNAMIC
      Static value Dynamic for IpAllocationMethod.
  • Constructor Details

    • IpAllocationMethod

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

    • fromString

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

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