SDK reference / Models / Compute
RunCommandRequest
Kind: class
Namespace: Egulu.Sdk.Models.Compute
Run a script in the guest.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
RunAs | string? | runAs | The guest user: `root`, `nobody` or the image's login user; the login user when omitted. |
Script | string? | script | The script, run by `sh`, at most 64 KiB. Not a place for secrets: its digest is kept with the run. |
SendOutputToLogs | bool? | sendOutputToLogs | Also write the output to the project's logs (as a log entry per run, `plat.resource` = the instance). |
TimeLimitSeconds | int? | timeLimitSeconds | 1 to 1800 seconds; 60 when omitted. The run is killed at the limit. |