Class OperatingSystemType

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

public final class OperatingSystemType extends com.azure.core.util.ExpandableStringEnum<OperatingSystemType>
Gets the Operating System type.
  • Field Details

    • WINDOWS

      public static final OperatingSystemType WINDOWS
      Static value Windows for OperatingSystemType.
    • LINUX

      public static final OperatingSystemType LINUX
      Static value Linux for OperatingSystemType.
  • Constructor Details

    • OperatingSystemType

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

    • fromString

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

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