Skip to content

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.
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.

const string Error = "error"

Not running because of a problem.

const string Neutral = "neutral"

Off or idle.

const string Ok = "ok"

Running as it should.

const string Warning = "warning"

Running with a problem.