Class HyperVGeneration

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

public final class HyperVGeneration extends com.azure.core.util.ExpandableStringEnum<HyperVGeneration>
The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
  • Field Details

    • V1

      public static final HyperVGeneration V1
      Static value V1 for HyperVGeneration.
    • V2

      public static final HyperVGeneration V2
      Static value V2 for HyperVGeneration.
  • Constructor Details

    • HyperVGeneration

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

    • fromString

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

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