Class HealthEndpointResponse
public sealed class HealthEndpointResponse
- Inheritance
-
HealthEndpointResponse
- Inherited Members
Constructors
HealthEndpointResponse()
public HealthEndpointResponse()
HealthEndpointResponse(HealthCheckResult)
public HealthEndpointResponse(HealthCheckResult result)
Parameters
resultHealthCheckResult
Properties
Components
Gets the individual health check components, including their details.
[JsonPropertyName("components")]
public IDictionary<string, HealthCheckResult> Components { get; }
Property Value
Description
Gets a description of the health check result.
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
Exists
Gets a value indicating whether a health response exists.
[JsonIgnore]
public bool Exists { get; init; }
Property Value
Groups
Gets the list of available health groups.
[JsonPropertyName("groups")]
public IList<string> Groups { get; }
Property Value
Status
Gets the status of the health check.
[JsonPropertyName("status")]
[JsonConverter(typeof(SnakeCaseAllCapsEnumMemberJsonConverter))]
public HealthStatus Status { get; init; }