Condividi tramite


HealthStatus Enum

Definition

Represents the reported status of a health check result.

public enum class HealthStatus
public enum HealthStatus
type HealthStatus = 
Public Enum HealthStatus
Inheritance
HealthStatus

Fields

Name Value Description
Unhealthy 0

Indicates that the health check determined that the component was unhealthy, or an unhandled exception was thrown while executing the health check.

Degraded 1

Indicates that the health check determined that the component was in a degraded state.

Healthy 2

Indicates that the health check determined that the component was healthy.

Remarks

A status of Unhealthy should be considered the default value for a failing health check. Application developers may configure a health check to report a different status as desired.

The values of this enum or ordered from least healthy to most healthy. So Degraded is greater than Unhealthy but less than Healthy.

Applies to