SDK reference / Models / Compute

RunCommandRequest

Kind: class

Namespace: Egulu.Sdk.Models.Compute

Run a script in the guest.

Properties

NameTypeJSON nameDescription
RunAsstring?runAsThe guest user: `root`, `nobody` or the image's login user; the login user when omitted.
Scriptstring?scriptThe script, run by `sh`, at most 64 KiB. Not a place for secrets: its digest is kept with the run.
SendOutputToLogsbool?sendOutputToLogsAlso write the output to the project's logs (as a log entry per run, `plat.resource` = the instance).
TimeLimitSecondsint?timeLimitSeconds1 to 1800 seconds; 60 when omitted. The run is killed at the limit.