DiskState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. DiskState
- com.
- com.
public final class DiskState
extends ExpandableStringEnum<DiskState>
This enumerates the possible state of the disk.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Disk |
ACTIVE_SAS
Static value ActiveSAS for Disk |
static final
Disk |
ACTIVE_SASFROZEN
Static value Active |
static final
Disk |
ACTIVE_UPLOAD
Static value Active |
static final
Disk |
ATTACHED
Static value Attached for Disk |
static final
Disk |
FROZEN
Static value Frozen for Disk |
static final
Disk |
READY_TO_UPLOAD
Static value Ready |
static final
Disk |
RESERVED
Static value Reserved for Disk |
static final
Disk |
UNATTACHED
Static value Unattached for Disk |
Constructor Summary
Constructor | Description |
---|---|
DiskState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Disk |
fromString(String name)
Creates or finds a Disk |
static
Collection<Disk |
values()
Gets known Disk |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ACTIVE_SAS
public static final DiskState ACTIVE_SAS
Static value ActiveSAS for DiskState.
ACTIVE_SASFROZEN
public static final DiskState ACTIVE_SASFROZEN
Static value ActiveSASFrozen for DiskState.
ACTIVE_UPLOAD
public static final DiskState ACTIVE_UPLOAD
Static value ActiveUpload for DiskState.
ATTACHED
public static final DiskState ATTACHED
Static value Attached for DiskState.
FROZEN
public static final DiskState FROZEN
Static value Frozen for DiskState.
READY_TO_UPLOAD
public static final DiskState READY_TO_UPLOAD
Static value ReadyToUpload for DiskState.
RESERVED
public static final DiskState RESERVED
Static value Reserved for DiskState.
UNATTACHED
public static final DiskState UNATTACHED
Static value Unattached for DiskState.
Constructor Details
DiskState
@Deprecated
public DiskState()
Deprecated
Creates a new instance of DiskState value.
Method Details
fromString
public static DiskState fromString(String name)
Creates or finds a DiskState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DiskState values.
Returns:
Applies to
Azure SDK for Java