Share via


HealthState Struct

Definition

One of health states - healthy, critical, warning, unknown, none, disabled.

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

Constructors

HealthState(String)

Initializes a new instance of HealthState.

Properties

Critical

Critical.

Disabled

Disabled.

Healthy

Healthy.

None

None.

Unknown

Unknown.

Warning

Warning.

Methods

Equals(HealthState)

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

Determines if two HealthState values are the same.

Implicit(String to HealthState)

Converts a string to a HealthState.

Inequality(HealthState, HealthState)

Determines if two HealthState values are not the same.

Applies to