Show / Hide Table of Contents

Class RunSandboxCommandDetails

Request body used to run a command in a sandbox.

Inheritance
object
RunSandboxCommandDetails
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 RunSandboxCommandDetails

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 to execute in the sandbox runtime.

Remarks

Required

Cwd

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

Absolute directory path to use 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 to inject into the command execution.

Timeout

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

Maximum execution time for the command, in ISO 8601 duration format.

In this article
Back to top