Class HealthCheckResult
- Namespace
- Steeltoe.Common.HealthChecks
- Assembly
- Steeltoe.Common.dll
The result of a health check.
public sealed class HealthCheckResult
- Inheritance
-
HealthCheckResult
- Inherited Members
Properties
Description
Gets or sets a description of the health check result.
public string? Description { get; set; }
Property Value
Remarks
Currently only used on check failures.
Details
Gets details of the health check.
public IDictionary<string, object> Details { get; }
Property Value
Status
Gets or sets the status of the health check.
[JsonConverter(typeof(SnakeCaseAllCapsEnumMemberJsonConverter))]
public HealthStatus Status { get; set; }
Property Value
Remarks
Used by the health middleware to determine the HTTP Status code.