Share via


DiskState Enum

Definition

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.

Applies to