Class RuntimeHealthReport
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll
Captures the health result for a runtime liveness or readiness probe.
public sealed record RuntimeHealthReport : IEquatable<RuntimeHealthReport>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<RuntimeHealthReport>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”RuntimeHealthReport(string, RuntimeHealthState, string, RuntimeStatus, int, RuntimeFailureInfo?, IReadOnlyList<DependencyHealthReport>, string?, DateTimeOffset?)
Section titled “ RuntimeHealthReport(string, RuntimeHealthState, string, RuntimeStatus, int, RuntimeFailureInfo?, IReadOnlyList<DependencyHealthReport>, string?, DateTimeOffset?)”Captures the health result for a runtime liveness or readiness probe.
public RuntimeHealthReport(string Probe, RuntimeHealthState State, string Description, RuntimeStatus RuntimeStatus, int RestartCount, RuntimeFailureInfo? LastFailure, IReadOnlyList<DependencyHealthReport> Dependencies, string? ActiveWindow = null, DateTimeOffset? ActiveWindowEndsAtUtc = null)Parameters
Section titled “Parameters”Probe string
The probe name that produced the report.
State RuntimeHealthState
The evaluated runtime health state.
Description string
A human-readable description of the evaluated state.
RuntimeStatus RuntimeStatus
The runtime lifecycle status at the time of evaluation.
RestartCount int
The number of completed manual restarts.
LastFailure RuntimeFailureInfo?
The last runtime failure when one is available.
Dependencies IReadOnlyList<DependencyHealthReport>
The dependency-health reports visible during evaluation.
ActiveWindow string?
The active policy-driven lifecycle window, such as startup warmup, shutdown drain, or restart backoff.
ActiveWindowEndsAtUtc DateTimeOffset?
The UTC timestamp when the active lifecycle window ends, if applicable.
Properties
Section titled “Properties”ActiveWindow
Section titled “ ActiveWindow”The active policy-driven lifecycle window, such as startup warmup, shutdown drain, or restart backoff.
public string? ActiveWindow { get; init; }Property Value
Section titled “Property Value”ActiveWindowEndsAtUtc
Section titled “ ActiveWindowEndsAtUtc”The UTC timestamp when the active lifecycle window ends, if applicable.
public DateTimeOffset? ActiveWindowEndsAtUtc { get; init; }Property Value
Section titled “Property Value”Dependencies
Section titled “ Dependencies”The dependency-health reports visible during evaluation.
public IReadOnlyList<DependencyHealthReport> Dependencies { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<DependencyHealthReport>
Description
Section titled “ Description”A human-readable description of the evaluated state.
public string Description { get; init; }Property Value
Section titled “Property Value”IsHealthy
Section titled “ IsHealthy”Gets a value indicating whether the report represents a healthy state.
public bool IsHealthy { get; }Property Value
Section titled “Property Value”LastFailure
Section titled “ LastFailure”The last runtime failure when one is available.
public RuntimeFailureInfo? LastFailure { get; init; }Property Value
Section titled “Property Value”The probe name that produced the report.
public string Probe { get; init; }Property Value
Section titled “Property Value”RestartCount
Section titled “ RestartCount”The number of completed manual restarts.
public int RestartCount { get; init; }Property Value
Section titled “Property Value”RuntimeStatus
Section titled “ RuntimeStatus”The runtime lifecycle status at the time of evaluation.
public RuntimeStatus RuntimeStatus { get; init; }Property Value
Section titled “Property Value”The evaluated runtime health state.
public RuntimeHealthState State { get; init; }