Show / Hide Table of Contents

Struct ProtectedItemState

Backup state of the backed up item.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.RecoveryServicesBackup.dll
Syntax
public struct ProtectedItemState : IEquatable<Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState>

Constructors

ProtectedItemState(String)

Initializes a new instance of ProtectedItemState.

Declaration
public ProtectedItemState (string value);
Parameters
System.String value

Exceptions
System.ArgumentNullException

value is null.

Properties

BackupsSuspended

BackupsSuspended.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState BackupsSuspended { get; }
Property Value
ProtectedItemState

Invalid

Invalid.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState Invalid { get; }
Property Value
ProtectedItemState

IRPending

IRPending.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState IRPending { get; }
Property Value
ProtectedItemState

Protected

Protected.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState Protected { get; }
Property Value
ProtectedItemState

ProtectionError

ProtectionError.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState ProtectionError { get; }
Property Value
ProtectedItemState

ProtectionPaused

ProtectionPaused.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState ProtectionPaused { get; }
Property Value
ProtectedItemState

ProtectionStopped

ProtectionStopped.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState ProtectionStopped { get; }
Property Value
ProtectedItemState

Methods

Equals(ProtectedItemState)

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

Declaration
public bool Equals (Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState other);
Parameters
ProtectedItemState other

An object to compare with this object.

Returns
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

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

true if obj and this instance are the same type and represent the same value; otherwise, false.

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(ProtectedItemState, ProtectedItemState)

Determines if two ProtectedItemState values are the same.

Declaration
public static bool operator == (Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState left, Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState right);
Parameters
ProtectedItemState left

ProtectedItemState right

Returns
System.Boolean

Implicit(String to ProtectedItemState)

Converts a System.String to a ProtectedItemState.

Declaration
public static implicit operator Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState (string value);
Parameters
System.String value

Returns
ProtectedItemState

Inequality(ProtectedItemState, ProtectedItemState)

Determines if two ProtectedItemState values are not the same.

Declaration
public static bool operator != (Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState left, Azure.ResourceManager.RecoveryServicesBackup.Models.ProtectedItemState right);
Parameters
ProtectedItemState left

ProtectedItemState right

Returns
System.Boolean

Back to top Azure SDK for .NET