DiskState Struct

Definition

This enumerates the possible state of the disk.

public readonly struct DiskState : IEquatable<Azure.ResourceManager.Compute.Models.DiskState>
type DiskState = struct
Public Structure DiskState
Implements IEquatable(Of DiskState)
Inheritance
DiskState
Implements

Constructors

DiskState(String)

Initializes a new instance of DiskState.

Properties

ActiveSas

The disk currently has an Active SAS Uri associated with it.

ActiveSasFrozen

The disk is attached to a VM in hibernated state and has an active SAS URI associated with it.

ActiveUpload

A disk is created for upload and a write token has been issued for uploading to it.

Attached

The disk is currently attached to a running VM.

Frozen

The disk is attached to a VM which is in hibernated state.

ReadyToUpload

A disk is ready to be created by upload by requesting a write token.

Reserved

The disk is attached to a stopped-deallocated VM.

Unattached

The disk is not being used and can be attached to a VM.

Methods

Equals(DiskState)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(DiskState, DiskState)

Determines if two DiskState values are the same.

Implicit(String to DiskState)

Converts a string to a DiskState.

Inequality(DiskState, DiskState)

Determines if two DiskState values are not the same.

Applies to