DiskState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This enumerates the possible state of the disk.
public enum DiskState
type DiskState =
Public Enum DiskState
- Inheritance
-
DiskState
Fields
| Name | Value | Description |
|---|---|---|
| Unattached | 0 | The disk is not being used and can be attached to a VM. |
| Attached | 1 | The disk is currently attached to a running VM. |
| Reserved | 2 | The disk is attached to a stopped-deallocated VM. |
| Frozen | 3 | The disk is attached to a VM which is in hibernated state. |
| ActiveSas | 4 | The disk currently has an Active SAS Uri associated with it. |
| ActiveSasFrozen | 5 | The disk is attached to a VM in hibernated state and has an active SAS URI associated with it. |
| ReadyToUpload | 6 | A disk is ready to be created by upload by requesting a write token. |
| ActiveUpload | 7 | A disk is created for upload and a write token has been issued for uploading to it. |