ServiceStatus
Record in Oadm.Sdk.Network · Oadm.Sdk.dll
The status line of a network service plugin (NTP server, DHCP server): kind ok / neutral / warning / error, a plain text for technicians and an optional detail (tooltip) with the fix.
public sealed record ServiceStatus(string Kind, string Text, string? Detail = null)Parameters
Kind: One of the constants: ok, neutral, warning, error.Text: The status for the user.Detail: The fix, shown as tooltip.
Properties
Section titled “Properties”Detail
Section titled “Detail”string? Detail { get; init; }The fix, shown as tooltip.
string Kind { get; init; }One of the constants: ok, neutral, warning, error.
string Text { get; init; }The status for the user.
Fields
Section titled “Fields”const string Error = "error"Not running because of a problem.
Neutral
Section titled “Neutral”const string Neutral = "neutral"Off or idle.
const string Ok = "ok"Running as it should.
Warning
Section titled “Warning”const string Warning = "warning"Running with a problem.