IntelligenceX

API Reference

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 requiredposition: 0
Sandbox type identifier.
networkAccess System.Nullable{System.Boolean} = null requiredposition: 1
Whether network access is allowed.
writableRoots System.Collections.Generic.IReadOnlyList{System.String} = null optionalposition: 2
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 required
Sandbox type identifier.
networkAccessMode System.String required
Network access mode.
writableRoots System.Collections.Generic.IReadOnlyList{System.String} required
Writable root paths.

Methods

public SandboxPolicy Clone() #
Returns: SandboxPolicy

Creates a defensive copy of this policy instance.

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.