Class PublicIpAllocationMethod

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PublicIpAllocationMethod>
com.azure.resourcemanager.compute.models.PublicIpAllocationMethod

public final class PublicIpAllocationMethod extends com.azure.core.util.ExpandableStringEnum<PublicIpAllocationMethod>
Specify the public IP allocation type.
  • Field Details

  • Constructor Details

    • PublicIpAllocationMethod

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

    • fromString

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

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