Class PowerState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PowerState>
com.azure.developer.devcenter.models.PowerState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class PowerState extends com.azure.core.util.ExpandableStringEnum<PowerState>
The power states of a Dev Box.
  • Field Details

    • UNKNOWN

      public static final PowerState UNKNOWN
      The Dev Box power state is not known.
    • RUNNING

      public static final PowerState RUNNING
      The Dev Box is running.
    • DEALLOCATED

      public static final PowerState DEALLOCATED
      The Dev Box is deallocated.
    • POWERED_OFF

      public static final PowerState POWERED_OFF
      The Dev Box is powered off.
    • HIBERNATED

      public static final PowerState HIBERNATED
      The Dev Box is hibernated.
  • Constructor Details

  • Method Details

    • fromString

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

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