/** * Daytona Toolbox API * Daytona Toolbox API. The base URL comes from the sandbox\'s `toolboxProxyUrl` field (returned in sandbox DTO by the main Daytona API) plus the sandbox ID: `{toolboxProxyUrl}/{sandboxId}/{endpoint}`. Default for Daytona Cloud: `https://proxy.app.daytona.io/toolbox/{sandboxId}`. * * The version of the OpenAPI document: v0.0.0-dev * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { SystemMetrics } from '../models'; /** * SystemApi - axios parameter creator */ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration) => { /** * Latest CPU/memory/disk usage snapshot for the sandbox. cpuUsedPct is the average CPU usage as a percentage of the CPU limit over the last sample window (0 until the first sample completes). Byte fields are in bytes. * @summary Get sandbox resource metrics * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSystemMetrics: (options?: RawAxiosRequestConfig) => Promise; }; /** * SystemApi - functional programming interface */ export declare const SystemApiFp: (configuration?: Configuration) => { /** * Latest CPU/memory/disk usage snapshot for the sandbox. cpuUsedPct is the average CPU usage as a percentage of the CPU limit over the last sample window (0 until the first sample completes). Byte fields are in bytes. * @summary Get sandbox resource metrics * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSystemMetrics(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * SystemApi - factory interface */ export declare const SystemApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Latest CPU/memory/disk usage snapshot for the sandbox. cpuUsedPct is the average CPU usage as a percentage of the CPU limit over the last sample window (0 until the first sample completes). Byte fields are in bytes. * @summary Get sandbox resource metrics * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSystemMetrics(options?: RawAxiosRequestConfig): AxiosPromise; }; /** * SystemApi - object-oriented interface */ export declare class SystemApi extends BaseAPI { /** * Latest CPU/memory/disk usage snapshot for the sandbox. cpuUsedPct is the average CPU usage as a percentage of the CPU limit over the last sample window (0 until the first sample completes). Byte fields are in bytes. * @summary Get sandbox resource metrics * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSystemMetrics(options?: RawAxiosRequestConfig): Promise>; }