Show / Hide Table of Contents

Struct ResourceHealthStatus

Resource Health Status.

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

Constructors

ResourceHealthStatus(String)

Initializes a new instance of ResourceHealthStatus.

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

Exceptions
System.ArgumentNullException

value is null.

Properties

Healthy

Healthy.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ResourceHealthStatus Healthy { get; }
Property Value
ResourceHealthStatus

Invalid

Invalid.

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

PersistentDegraded

PersistentDegraded.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ResourceHealthStatus PersistentDegraded { get; }
Property Value
ResourceHealthStatus

PersistentUnhealthy

PersistentUnhealthy.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ResourceHealthStatus PersistentUnhealthy { get; }
Property Value
ResourceHealthStatus

TransientDegraded

TransientDegraded.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ResourceHealthStatus TransientDegraded { get; }
Property Value
ResourceHealthStatus

TransientUnhealthy

TransientUnhealthy.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.ResourceHealthStatus TransientUnhealthy { get; }
Property Value
ResourceHealthStatus

Methods

Equals(ResourceHealthStatus)

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

Declaration
public bool Equals (Azure.ResourceManager.RecoveryServicesBackup.Models.ResourceHealthStatus other);
Parameters
ResourceHealthStatus 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(ResourceHealthStatus, ResourceHealthStatus)

Determines if two ResourceHealthStatus values are the same.

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

ResourceHealthStatus right

Returns
System.Boolean

Implicit(String to ResourceHealthStatus)

Converts a System.String to a ResourceHealthStatus.

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

Returns
ResourceHealthStatus

Inequality(ResourceHealthStatus, ResourceHealthStatus)

Determines if two ResourceHealthStatus values are not the same.

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

ResourceHealthStatus right

Returns
System.Boolean

Back to top Azure SDK for .NET