Show / Hide Table of Contents

Class SandboxCommand

Sandbox command resource representation.

Inheritance
object
SandboxCommand
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenerativeaisandboxService.Models
Assembly: OCI.DotNetSDK.Generativeaisandbox.dll
Syntax
public class SandboxCommand

Properties

Args

Declaration
[JsonProperty(PropertyName = "args")]
public List<string> Args { get; set; }
Property Value
Type Description
List<string>

Command arguments.

Command

Declaration
[Required(ErrorMessage = "Command is required.")]
[JsonProperty(PropertyName = "command")]
public string Command { get; set; }
Property Value
Type Description
string

The command executed in the sandbox runtime.

Remarks

Required

Cwd

Declaration
[JsonProperty(PropertyName = "cwd")]
public string Cwd { get; set; }
Property Value
Type Description
string

Absolute directory path used as the working directory for command execution in the sandbox.

EnvironmentVariables

Declaration
[JsonProperty(PropertyName = "environmentVariables")]
public List<EnvironmentVariable> EnvironmentVariables { get; set; }
Property Value
Type Description
List<EnvironmentVariable>

Environment variables injected into the command execution.

ExitCode

Declaration
[JsonProperty(PropertyName = "exitCode")]
public int? ExitCode { get; set; }
Property Value
Type Description
int?

Process exit code when available.

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Sandbox command identifier.

Remarks

Required

Output

Declaration
[JsonProperty(PropertyName = "output")]
public SandboxCommandOutput Output { get; set; }
Property Value
Type Description
SandboxCommandOutput

SandboxId

Declaration
[Required(ErrorMessage = "SandboxId is required.")]
[JsonProperty(PropertyName = "sandboxId")]
public string SandboxId { get; set; }
Property Value
Type Description
string

Sandbox identifier that this command runs against.

Remarks

Required

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the command was created, in RFC 3339 format.

TimeFinished

Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type Description
DateTime?

The date and time command execution finished, in RFC 3339 format.

TimeStarted

Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type Description
DateTime?

The date and time command execution started, in RFC 3339 format.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the command was last updated, in RFC 3339 format.

In this article
Back to top