Class DiskState

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<DiskState>
com.microsoft.azure.management.compute.DiskState

public final class DiskState extends com.microsoft.rest.ExpandableStringEnum<DiskState>
Defines values for DiskState.
  • Field Details

    • UNATTACHED

      public static final DiskState UNATTACHED
      Static value Unattached for DiskState.
    • ATTACHED

      public static final DiskState ATTACHED
      Static value Attached for DiskState.
    • RESERVED

      public static final DiskState RESERVED
      Static value Reserved for DiskState.
    • ACTIVE_SAS

      public static final DiskState ACTIVE_SAS
      Static value ActiveSAS for DiskState.
    • READY_TO_UPLOAD

      public static final DiskState READY_TO_UPLOAD
      Static value ReadyToUpload for DiskState.
    • ACTIVE_UPLOAD

      public static final DiskState ACTIVE_UPLOAD
      Static value ActiveUpload for DiskState.
  • Constructor Details

    • DiskState

      public DiskState()
  • Method Details

    • fromString

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

      public static Collection<DiskState> values()
      Returns:
      known DiskState values