SDK reference / Models / Compute

CommandRun

Kind: class

Namespace: Egulu.Sdk.Models.Compute

One run of a command. Output is returned by getCommandRun only, from offset, so a page can follow a run as it streams.

Properties

NameTypeJSON nameDescription
DurationMslong?durationMsThe durationMs property
EndTimeDateTimeOffset?endTimeThe endTime property
ExitCodeint?exitCodeThe exitCode property
Idstring?idRun ID, `cr-…`.
NextOffsetlong?nextOffsetThe offset to ask for next.
Outputstring?outputStandard output and error as the guest wrote them, from `offset`; at most 64 KiB are kept.
OutputToLogsbool?outputToLogsThe outputToLogs property
RunAsstring?runAsThe runAs property
ScriptDigeststring?scriptDigest`sha256:` and the hex digest of the script.
StartTimeDateTimeOffset?startTimeThe startTime property
StartedBystring?startedByThe principal that started it.
Statestring?stateRUNNING, SUCCEEDED (exit 0), FAILED (exit not 0), TIMED_OUT, CANCELLED or INTERRUPTED (the host stopped before it ended).
TimeLimitSecondsint?timeLimitSecondsThe timeLimitSeconds property
Truncatedbool?truncatedTrue when output past 64 KiB was dropped.