Class SandboxCondition
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
One status condition of a sandbox.
public sealed record SandboxCondition : IEquatable<SandboxCondition>
- Inheritance
-
SandboxCondition
- Implements
- Inherited Members
Constructors
SandboxCondition(string, string, string, string, DateTimeOffset?)
One status condition of a sandbox.
public SandboxCondition(string Type, string Status, string Reason, string Message, DateTimeOffset? TransitionTime)
Parameters
TypestringThe condition type, for example
Ready.StatusstringThe condition status, for example
True.ReasonstringA short machine-readable reason.
MessagestringA human-readable message.
TransitionTimeDateTimeOffset?When the condition last changed, when reported.
Properties
Message
A human-readable message.
public string Message { get; init; }
Property Value
Reason
A short machine-readable reason.
public string Reason { get; init; }
Property Value
Status
The condition status, for example True.
public string Status { get; init; }
Property Value
TransitionTime
When the condition last changed, when reported.
public DateTimeOffset? TransitionTime { get; init; }
Property Value
Type
The condition type, for example Ready.
public string Type { get; init; }