IntelligenceX
Class

SandboxPolicy

Namespace IntelligenceX.OpenAI.AppServer
Assembly IntelligenceX
Modifiers sealed

Describes sandbox constraints for app-server execution.

Inheritance

  • Object
  • SandboxPolicy

Constructors

SandboxPolicy 2 overloads
public SandboxPolicy(String type, String networkAccessMode, IReadOnlyList<String> writableRoots = null) #

Initializes a sandbox policy using a boolean network access flag.

Parameters

type System.String
Sandbox type identifier.
networkAccess System.Nullable{System.Boolean} = null
Whether network access is allowed.
writableRoots System.Collections.Generic.IReadOnlyList{System.String} = null
Writable root paths.
SandboxPolicy(System.String type, System.String networkAccessMode, System.Collections.Generic.IReadOnlyList{System.String} writableRoots) #

Initializes a sandbox policy using a network access mode string.

Parameters

type System.String
Sandbox type identifier.
networkAccessMode System.String
Network access mode.
writableRoots System.Collections.Generic.IReadOnlyList{System.String}
Writable root paths.

Properties

public String Type { get; } #

Gets the sandbox type identifier.

public Nullable<Boolean> NetworkAccess { get; } #

Gets the network access flag when provided.

public String NetworkAccessMode { get; } #

Gets the network access mode when provided.

public IReadOnlyList<String> WritableRoots { get; } #

Gets the writable root paths.