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

public final class OS extends com.azure.core.util.ExpandableStringEnum<OS>
The OS of agent machine.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final OS
    Static value Linux for OS.
    static final OS
    Static value Windows for OS.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    static OS
    Creates or finds a OS from its string representation.
    static Collection<OS>
    Gets known OS values.

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

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

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

    • WINDOWS

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

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

  • Method Details

    • fromString

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

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