This enumerates the possible state of the disk.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Compute.dll
Syntax
public struct DiskState : IEquatable<Azure.ResourceManager.Compute.Models.DiskState>
Constructors
DiskState(String)
Declaration
public DiskState (string value);
Parameters
System.String value |
Exceptions
System.ArgumentNullException
|
Properties
ActiveSas
The disk currently has an Active SAS Uri associated with it.
Declaration
public static Azure.ResourceManager.Compute.Models.DiskState ActiveSas { get; }
Property Value
ActiveSasFrozen
The disk is attached to a VM in hibernated state and has an active SAS URI associated with it.
Declaration
public static Azure.ResourceManager.Compute.Models.DiskState ActiveSasFrozen { get; }
Property Value
ActiveUpload
A disk is created for upload and a write token has been issued for uploading to it.
Declaration
public static Azure.ResourceManager.Compute.Models.DiskState ActiveUpload { get; }
Property Value
Attached
The disk is currently attached to a running VM.
Declaration
public static Azure.ResourceManager.Compute.Models.DiskState Attached { get; }
Property Value
Frozen
The disk is attached to a VM which is in hibernated state.
Declaration
public static Azure.ResourceManager.Compute.Models.DiskState Frozen { get; }
Property Value
ReadyToUpload
A disk is ready to be created by upload by requesting a write token.
Declaration
public static Azure.ResourceManager.Compute.Models.DiskState ReadyToUpload { get; }
Property Value
Reserved
The disk is attached to a stopped-deallocated VM.
Declaration
public static Azure.ResourceManager.Compute.Models.DiskState Reserved { get; }
Property Value
Unattached
The disk is not being used and can be attached to a VM.
Declaration
public static Azure.ResourceManager.Compute.Models.DiskState Unattached { get; }
Property Value
Methods
Equals(DiskState)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.Compute.Models.DiskState other);
Parameters
DiskState other An object to compare with this object. |
Returns
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable] public override bool Equals (object obj);
Parameters
System.Object obj The object to compare with the current instance. |
Returns
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable] public override int GetHashCode ();
Returns
System.Int32 A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
System.String The fully qualified type name. |
Operators
Equality(DiskState, DiskState)
Determines if two DiskState values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.Compute.Models.DiskState left, Azure.ResourceManager.Compute.Models.DiskState right);
Parameters
Returns
System.Boolean |
Implicit(String to DiskState)
Declaration
public static implicit operator Azure.ResourceManager.Compute.Models.DiskState (string value);
Parameters
System.String value |
Returns
Inequality(DiskState, DiskState)
Determines if two DiskState values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.Compute.Models.DiskState left, Azure.ResourceManager.Compute.Models.DiskState right);
Parameters
Returns
System.Boolean |
ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjnqxrqqVY5%2Bmv86uqZydfZa7orPEq2V8p52lwrWxjmplaWZgYq%2BmwMBncGiZoJ58gsbUq5xnipWovLa%2Bwp6EmqaRnLKzeqKopKmtpJp7jrvDnqOsZ3GvwrOxjYucrKelp7CmmcCnmKCdomOQsLnPrqueZn2ksaa40md7oqubiMGiwMRnn62lnA%3D%3D