gbox-sdk
    Preparing search index...

    Complete configuration for Linux box instance

    interface Config {
        cpu: number;
        envs: { [key: string]: string };
        labels: { [key: string]: string };
        memory: number;
        os: GboxClient.V1.LinuxBox.Config.Os;
        storage: number;
        workingDir: string;
    }
    Index

    Properties

    cpu: number

    CPU cores allocated to the box

    envs: { [key: string]: string }

    Environment variables for the box. These variables will be available in all operations including command execution, code running, and other box behaviors

    labels: { [key: string]: string }

    Key-value pairs of labels for the box. Labels are used to add custom metadata to help identify, categorize, and manage boxes. Common use cases include project names, environments, teams, applications, or any other organizational tags that help you organize and filter your boxes.

    memory: number

    Memory allocated to the box in MiB

    Linux operating system configuration

    storage: number

    Storage allocated to the box in GiB.

    workingDir: string

    Working directory path for the box. This directory serves as the default starting point for all operations including command execution, code running, and file system operations. When you execute commands or run code, they will start from this directory unless explicitly specified otherwise.