Struct RecoveryMode
Defines whether the current recovery mode is file restore or database restore.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.RecoveryServicesBackup.dll
Syntax
public struct RecoveryMode : IEquatable<Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode>
Constructors
RecoveryMode(String)
Initializes a new instance of RecoveryMode.
Declaration
public RecoveryMode (string value);
Parameters
|
System.String
value
|
Exceptions
|
System.ArgumentNullException
|
Properties
FileRecovery
FileRecovery.
Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode FileRecovery { get; }
Property Value
|
RecoveryMode
|
Invalid
Invalid.
Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode Invalid { get; }
Property Value
|
RecoveryMode
|
RecoveryUsingSnapshot
RecoveryUsingSnapshot.
Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode RecoveryUsingSnapshot { get; }
Property Value
|
RecoveryMode
|
SnapshotAttach
SnapshotAttach.
Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode SnapshotAttach { get; }
Property Value
|
RecoveryMode
|
SnapshotAttachAndRecover
SnapshotAttachAndRecover.
Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode SnapshotAttachAndRecover { get; }
Property Value
|
RecoveryMode
|
WorkloadRecovery
WorkloadRecovery.
Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode WorkloadRecovery { get; }
Property Value
|
RecoveryMode
|
Methods
Equals(RecoveryMode)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode other);
Parameters
|
RecoveryMode
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(RecoveryMode, RecoveryMode)
Determines if two RecoveryMode values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode left, Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode right);
Parameters
|
RecoveryMode
left
|
|
RecoveryMode
right
|
Returns
|
System.Boolean
|
Implicit(String to RecoveryMode)
Converts a System.String to a RecoveryMode.
Declaration
public static implicit operator Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode (string value);
Parameters
|
System.String
value
|
Returns
|
RecoveryMode
|
Inequality(RecoveryMode, RecoveryMode)
Determines if two RecoveryMode values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode left, Azure.ResourceManager.RecoveryServicesBackup.Models.RecoveryMode right);
Parameters
|
RecoveryMode
left
|
|
RecoveryMode
right
|
Returns
|
System.Boolean
|