import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::VEFAAS::Sandbox */ export declare function getSandbox(args: GetSandboxArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSandbox. */ export interface GetSandboxArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getSandbox. */ export interface GetSandboxResult { /** * Availability zone ID of the sandbox instance */ readonly availabilityZone: string; /** * Sandbox instance CPU specification: Unit: milli CPU, range: 250~16000, default: 1000 */ readonly cpuMilli: number; /** * Sandbox instance creation time. */ readonly createdTime: string; /** * Sandbox instance environment variables */ readonly envs: outputs.vefaas.GetSandboxEnv[]; /** * Sandbox instance startup failure error code. Parameter description: internal*load*request*error: internal system error, function*initialize*failed: business process initialization error, function*health*check*failed: health check error, route_terminating: route deletion in progress. This field is empty when the sandbox instance starts normally */ readonly errorCode: string; /** * Details of the error code when the sandbox instance fails to start. This field is empty when the sandbox instance starts normally. */ readonly errorMessage: string; /** * Sandbox instance uptime. */ readonly expireAt: string; /** * Sandbox application ID to which the sandbox instance belongs */ readonly functionId: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Sandbox instance image information, including image address, startup command, and listening port. */ readonly instanceImageInfo: outputs.vefaas.GetSandboxInstanceImageInfo; /** * Instance-level object storage (TOS) mount configuration for the sandbox instance */ readonly instanceTosMountConfig: outputs.vefaas.GetSandboxInstanceTosMountConfig; /** * Sandbox instance type. Parameter description: elastic: elastic instance, frozen: frozen instance, activated: activated instance, reserved: reserved instance */ readonly instanceType: string; /** * Maximum concurrent requests per instance: range: 10~1000, default: 100 */ readonly maxConcurrency: number; /** * Sandbox instance memory specification: Unit: MiB, range: 512~131072, default: 2048 */ readonly memoryMb: number; /** * Sandbox instance label metadata used to tag and filter instances. Format: <"key":"value"> */ readonly metadatas: outputs.vefaas.GetSandboxMetadata[]; /** * Whether the sandbox instance is in Pending status. Parameter description: true: yes, false: no */ readonly pending: boolean; /** * Request timeout: Unit: seconds, range: 1~900, positive integer. Default: 30 */ readonly requestTimeout: number; /** * Function instance version number */ readonly revisionNumber: number; /** * Sandbox instance ID */ readonly sandboxId: string; /** * Sandbox instance status. Parameter description: Starting: starting, Ready: startup completed, Failed: startup failed, Terminating: terminating */ readonly status: string; /** * Sandbox instance lifespan: Unit: minutes, range: 3~1440, default: 60 */ readonly timeout: number; } /** * Data Source schema for Volcengine::VEFAAS::Sandbox */ export declare function getSandboxOutput(args: GetSandboxOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSandbox. */ export interface GetSandboxOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }