Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Data Source schema for Byteplus::VEFAAS::Sandbox
Using getSandbox
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSandbox(args: GetSandboxArgs, opts?: InvokeOptions): Promise<GetSandboxResult>
function getSandboxOutput(args: GetSandboxOutputArgs, opts?: InvokeOptions): Output<GetSandboxResult>def get_sandbox(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSandboxResult
def get_sandbox_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSandboxResult]func LookupSandbox(ctx *Context, args *LookupSandboxArgs, opts ...InvokeOption) (*LookupSandboxResult, error)
func LookupSandboxOutput(ctx *Context, args *LookupSandboxOutputArgs, opts ...InvokeOption) LookupSandboxResultOutput> Note: This function is named LookupSandbox in the Go SDK.
public static class GetSandbox
{
public static Task<GetSandboxResult> InvokeAsync(GetSandboxArgs args, InvokeOptions? opts = null)
public static Output<GetSandboxResult> Invoke(GetSandboxInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSandboxResult> getSandbox(GetSandboxArgs args, InvokeOptions options)
public static Output<GetSandboxResult> getSandbox(GetSandboxArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:vefaas/getSandbox:getSandbox
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getSandbox Result
The following output properties are available:
- Availability
Zone string - 沙箱实例所在可用区 ID。
- Cpu
Milli int - 沙箱实例 CPU 规格:单位:milli cpu取值范围:250~16000,默认值:1000。
- Created
Time string - 沙箱实例创建时间。
- Envs
List<Byteplus.
Get Sandbox Env> - 沙箱实例环境变量。
- Error
Code string - 沙箱实例启动失败错误码。参数值说明:internalloadrequesterror:系统内部错误,functioninitializefailed:业务进程初始化错误,functionhealthcheckfailed:健康检查错误,route_terminating:路由删除中,正常启动沙箱实例时,该字段为空。
- Error
Message string - 沙箱实例启动失败的错误码详情。正常启动沙箱实例时,该字段为空。
- Expire
At string - 沙箱实例存活时长。
- Function
Id string - 沙箱实例所属的沙箱应用 ID。
- Id string
- Uniquely identifies the resource.
- Instance
Image Byteplus.Info Get Sandbox Instance Image Info - 沙箱实例镜像信息,包括镜像地址、启动命令、监听端口。
- Instance
Tos Byteplus.Mount Config Get Sandbox Instance Tos Mount Config - 沙箱实例级别对象存储(TOS)存储挂载配置。
- Instance
Type string - 沙箱实例类型 。参数值说明:elastic:弹性实例,frozen:冻结实例,activated:激活实例,reserved:预留实例。
- Max
Concurrency int - 单实例请求最大并发数:取值范围:10~1000,默认值:100。
- Memory
Mb int - 沙箱实例内存规格:单位:MiB,取值范围:512~131072,默认值:2048
- Metadatas
List<Byteplus.
Get Sandbox Metadata> - 沙箱实例标签(Label)元信息,用于标记、筛选实例。格式为<"key":"value">。
- Pending bool
- 沙箱实例是否处于 Pending 状态。参数值说明:true:是,false:否。
- Request
Timeout int - 请求超时时间:单位:秒,取值范围:1~900,正整数。默认值:30。
- Revision
Number int - 函数实例版本编号。
- Sandbox
Id string - 沙箱实例 ID。
- Status string
- 沙箱实例状态。 参数值说明:Starting:开始启动,Ready:启动完成,Failed:启动失败,Terminating:终止中。
- Timeout int
- 沙箱实例存活时长:单位:分钟,取值范围:3~1440,默认值:60。
- Availability
Zone string - 沙箱实例所在可用区 ID。
- Cpu
Milli int - 沙箱实例 CPU 规格:单位:milli cpu取值范围:250~16000,默认值:1000。
- Created
Time string - 沙箱实例创建时间。
- Envs
[]Get
Sandbox Env - 沙箱实例环境变量。
- Error
Code string - 沙箱实例启动失败错误码。参数值说明:internalloadrequesterror:系统内部错误,functioninitializefailed:业务进程初始化错误,functionhealthcheckfailed:健康检查错误,route_terminating:路由删除中,正常启动沙箱实例时,该字段为空。
- Error
Message string - 沙箱实例启动失败的错误码详情。正常启动沙箱实例时,该字段为空。
- Expire
At string - 沙箱实例存活时长。
- Function
Id string - 沙箱实例所属的沙箱应用 ID。
- Id string
- Uniquely identifies the resource.
- Instance
Image GetInfo Sandbox Instance Image Info - 沙箱实例镜像信息,包括镜像地址、启动命令、监听端口。
- Instance
Tos GetMount Config Sandbox Instance Tos Mount Config - 沙箱实例级别对象存储(TOS)存储挂载配置。
- Instance
Type string - 沙箱实例类型 。参数值说明:elastic:弹性实例,frozen:冻结实例,activated:激活实例,reserved:预留实例。
- Max
Concurrency int - 单实例请求最大并发数:取值范围:10~1000,默认值:100。
- Memory
Mb int - 沙箱实例内存规格:单位:MiB,取值范围:512~131072,默认值:2048
- Metadatas
[]Get
Sandbox Metadata - 沙箱实例标签(Label)元信息,用于标记、筛选实例。格式为<"key":"value">。
- Pending bool
- 沙箱实例是否处于 Pending 状态。参数值说明:true:是,false:否。
- Request
Timeout int - 请求超时时间:单位:秒,取值范围:1~900,正整数。默认值:30。
- Revision
Number int - 函数实例版本编号。
- Sandbox
Id string - 沙箱实例 ID。
- Status string
- 沙箱实例状态。 参数值说明:Starting:开始启动,Ready:启动完成,Failed:启动失败,Terminating:终止中。
- Timeout int
- 沙箱实例存活时长:单位:分钟,取值范围:3~1440,默认值:60。
- availability
Zone String - 沙箱实例所在可用区 ID。
- cpu
Milli Integer - 沙箱实例 CPU 规格:单位:milli cpu取值范围:250~16000,默认值:1000。
- created
Time String - 沙箱实例创建时间。
- envs
List<Get
Sandbox Env> - 沙箱实例环境变量。
- error
Code String - 沙箱实例启动失败错误码。参数值说明:internalloadrequesterror:系统内部错误,functioninitializefailed:业务进程初始化错误,functionhealthcheckfailed:健康检查错误,route_terminating:路由删除中,正常启动沙箱实例时,该字段为空。
- error
Message String - 沙箱实例启动失败的错误码详情。正常启动沙箱实例时,该字段为空。
- expire
At String - 沙箱实例存活时长。
- function
Id String - 沙箱实例所属的沙箱应用 ID。
- id String
- Uniquely identifies the resource.
- instance
Image GetInfo Sandbox Instance Image Info - 沙箱实例镜像信息,包括镜像地址、启动命令、监听端口。
- instance
Tos GetMount Config Sandbox Instance Tos Mount Config - 沙箱实例级别对象存储(TOS)存储挂载配置。
- instance
Type String - 沙箱实例类型 。参数值说明:elastic:弹性实例,frozen:冻结实例,activated:激活实例,reserved:预留实例。
- max
Concurrency Integer - 单实例请求最大并发数:取值范围:10~1000,默认值:100。
- memory
Mb Integer - 沙箱实例内存规格:单位:MiB,取值范围:512~131072,默认值:2048
- metadatas
List<Get
Sandbox Metadata> - 沙箱实例标签(Label)元信息,用于标记、筛选实例。格式为<"key":"value">。
- pending Boolean
- 沙箱实例是否处于 Pending 状态。参数值说明:true:是,false:否。
- request
Timeout Integer - 请求超时时间:单位:秒,取值范围:1~900,正整数。默认值:30。
- revision
Number Integer - 函数实例版本编号。
- sandbox
Id String - 沙箱实例 ID。
- status String
- 沙箱实例状态。 参数值说明:Starting:开始启动,Ready:启动完成,Failed:启动失败,Terminating:终止中。
- timeout Integer
- 沙箱实例存活时长:单位:分钟,取值范围:3~1440,默认值:60。
- availability
Zone string - 沙箱实例所在可用区 ID。
- cpu
Milli number - 沙箱实例 CPU 规格:单位:milli cpu取值范围:250~16000,默认值:1000。
- created
Time string - 沙箱实例创建时间。
- envs
Get
Sandbox Env[] - 沙箱实例环境变量。
- error
Code string - 沙箱实例启动失败错误码。参数值说明:internalloadrequesterror:系统内部错误,functioninitializefailed:业务进程初始化错误,functionhealthcheckfailed:健康检查错误,route_terminating:路由删除中,正常启动沙箱实例时,该字段为空。
- error
Message string - 沙箱实例启动失败的错误码详情。正常启动沙箱实例时,该字段为空。
- expire
At string - 沙箱实例存活时长。
- function
Id string - 沙箱实例所属的沙箱应用 ID。
- id string
- Uniquely identifies the resource.
- instance
Image GetInfo Sandbox Instance Image Info - 沙箱实例镜像信息,包括镜像地址、启动命令、监听端口。
- instance
Tos GetMount Config Sandbox Instance Tos Mount Config - 沙箱实例级别对象存储(TOS)存储挂载配置。
- instance
Type string - 沙箱实例类型 。参数值说明:elastic:弹性实例,frozen:冻结实例,activated:激活实例,reserved:预留实例。
- max
Concurrency number - 单实例请求最大并发数:取值范围:10~1000,默认值:100。
- memory
Mb number - 沙箱实例内存规格:单位:MiB,取值范围:512~131072,默认值:2048
- metadatas
Get
Sandbox Metadata[] - 沙箱实例标签(Label)元信息,用于标记、筛选实例。格式为<"key":"value">。
- pending boolean
- 沙箱实例是否处于 Pending 状态。参数值说明:true:是,false:否。
- request
Timeout number - 请求超时时间:单位:秒,取值范围:1~900,正整数。默认值:30。
- revision
Number number - 函数实例版本编号。
- sandbox
Id string - 沙箱实例 ID。
- status string
- 沙箱实例状态。 参数值说明:Starting:开始启动,Ready:启动完成,Failed:启动失败,Terminating:终止中。
- timeout number
- 沙箱实例存活时长:单位:分钟,取值范围:3~1440,默认值:60。
- availability_
zone str - 沙箱实例所在可用区 ID。
- cpu_
milli int - 沙箱实例 CPU 规格:单位:milli cpu取值范围:250~16000,默认值:1000。
- created_
time str - 沙箱实例创建时间。
- envs
Sequence[Get
Sandbox Env] - 沙箱实例环境变量。
- error_
code str - 沙箱实例启动失败错误码。参数值说明:internalloadrequesterror:系统内部错误,functioninitializefailed:业务进程初始化错误,functionhealthcheckfailed:健康检查错误,route_terminating:路由删除中,正常启动沙箱实例时,该字段为空。
- error_
message str - 沙箱实例启动失败的错误码详情。正常启动沙箱实例时,该字段为空。
- expire_
at str - 沙箱实例存活时长。
- function_
id str - 沙箱实例所属的沙箱应用 ID。
- id str
- Uniquely identifies the resource.
- instance_
image_ Getinfo Sandbox Instance Image Info - 沙箱实例镜像信息,包括镜像地址、启动命令、监听端口。
- instance_
tos_ Getmount_ config Sandbox Instance Tos Mount Config - 沙箱实例级别对象存储(TOS)存储挂载配置。
- instance_
type str - 沙箱实例类型 。参数值说明:elastic:弹性实例,frozen:冻结实例,activated:激活实例,reserved:预留实例。
- max_
concurrency int - 单实例请求最大并发数:取值范围:10~1000,默认值:100。
- memory_
mb int - 沙箱实例内存规格:单位:MiB,取值范围:512~131072,默认值:2048
- metadatas
Sequence[Get
Sandbox Metadata] - 沙箱实例标签(Label)元信息,用于标记、筛选实例。格式为<"key":"value">。
- pending bool
- 沙箱实例是否处于 Pending 状态。参数值说明:true:是,false:否。
- request_
timeout int - 请求超时时间:单位:秒,取值范围:1~900,正整数。默认值:30。
- revision_
number int - 函数实例版本编号。
- sandbox_
id str - 沙箱实例 ID。
- status str
- 沙箱实例状态。 参数值说明:Starting:开始启动,Ready:启动完成,Failed:启动失败,Terminating:终止中。
- timeout int
- 沙箱实例存活时长:单位:分钟,取值范围:3~1440,默认值:60。
- availability
Zone String - 沙箱实例所在可用区 ID。
- cpu
Milli Number - 沙箱实例 CPU 规格:单位:milli cpu取值范围:250~16000,默认值:1000。
- created
Time String - 沙箱实例创建时间。
- envs List<Property Map>
- 沙箱实例环境变量。
- error
Code String - 沙箱实例启动失败错误码。参数值说明:internalloadrequesterror:系统内部错误,functioninitializefailed:业务进程初始化错误,functionhealthcheckfailed:健康检查错误,route_terminating:路由删除中,正常启动沙箱实例时,该字段为空。
- error
Message String - 沙箱实例启动失败的错误码详情。正常启动沙箱实例时,该字段为空。
- expire
At String - 沙箱实例存活时长。
- function
Id String - 沙箱实例所属的沙箱应用 ID。
- id String
- Uniquely identifies the resource.
- instance
Image Property MapInfo - 沙箱实例镜像信息,包括镜像地址、启动命令、监听端口。
- instance
Tos Property MapMount Config - 沙箱实例级别对象存储(TOS)存储挂载配置。
- instance
Type String - 沙箱实例类型 。参数值说明:elastic:弹性实例,frozen:冻结实例,activated:激活实例,reserved:预留实例。
- max
Concurrency Number - 单实例请求最大并发数:取值范围:10~1000,默认值:100。
- memory
Mb Number - 沙箱实例内存规格:单位:MiB,取值范围:512~131072,默认值:2048
- metadatas List<Property Map>
- 沙箱实例标签(Label)元信息,用于标记、筛选实例。格式为<"key":"value">。
- pending Boolean
- 沙箱实例是否处于 Pending 状态。参数值说明:true:是,false:否。
- request
Timeout Number - 请求超时时间:单位:秒,取值范围:1~900,正整数。默认值:30。
- revision
Number Number - 函数实例版本编号。
- sandbox
Id String - 沙箱实例 ID。
- status String
- 沙箱实例状态。 参数值说明:Starting:开始启动,Ready:启动完成,Failed:启动失败,Terminating:终止中。
- timeout Number
- 沙箱实例存活时长:单位:分钟,取值范围:3~1440,默认值:60。
Supporting Types
GetSandboxEnv
GetSandboxInstanceImageInfo
GetSandboxInstanceTosMountConfig
- Enable bool
- 沙箱实例是否启用了实例级别的 TOS 挂载,参数值说明:true:是,false:否。
- Tos
Mount List<Byteplus.Points Get Sandbox Instance Tos Mount Config Tos Mount Point> - 启用了实例级别 TOS 挂载的沙箱实例具体 TOS 挂载目录信息。
- Enable bool
- 沙箱实例是否启用了实例级别的 TOS 挂载,参数值说明:true:是,false:否。
- Tos
Mount []GetPoints Sandbox Instance Tos Mount Config Tos Mount Point - 启用了实例级别 TOS 挂载的沙箱实例具体 TOS 挂载目录信息。
- enable Boolean
- 沙箱实例是否启用了实例级别的 TOS 挂载,参数值说明:true:是,false:否。
- tos
Mount List<GetPoints Sandbox Instance Tos Mount Config Tos Mount Point> - 启用了实例级别 TOS 挂载的沙箱实例具体 TOS 挂载目录信息。
- enable boolean
- 沙箱实例是否启用了实例级别的 TOS 挂载,参数值说明:true:是,false:否。
- tos
Mount GetPoints Sandbox Instance Tos Mount Config Tos Mount Point[] - 启用了实例级别 TOS 挂载的沙箱实例具体 TOS 挂载目录信息。
- enable bool
- 沙箱实例是否启用了实例级别的 TOS 挂载,参数值说明:true:是,false:否。
- tos_
mount_ Sequence[Getpoints Sandbox Instance Tos Mount Config Tos Mount Point] - 启用了实例级别 TOS 挂载的沙箱实例具体 TOS 挂载目录信息。
- enable Boolean
- 沙箱实例是否启用了实例级别的 TOS 挂载,参数值说明:true:是,false:否。
- tos
Mount List<Property Map>Points - 启用了实例级别 TOS 挂载的沙箱实例具体 TOS 挂载目录信息。
GetSandboxInstanceTosMountConfigTosMountPoint
- Bucket
Path string - 沙箱实例挂载的 TOS 远端目录。
- Local
Mount stringPath - 沙箱实例挂载的 TOS 存储桶本地目录。该目录为沙箱应用已配置的 TOS 存储挂载的本地目录时,系统根据指定的本地目录,修改与之对应的 TOS BucketPath。
- Bucket
Path string - 沙箱实例挂载的 TOS 远端目录。
- Local
Mount stringPath - 沙箱实例挂载的 TOS 存储桶本地目录。该目录为沙箱应用已配置的 TOS 存储挂载的本地目录时,系统根据指定的本地目录,修改与之对应的 TOS BucketPath。
- bucket
Path String - 沙箱实例挂载的 TOS 远端目录。
- local
Mount StringPath - 沙箱实例挂载的 TOS 存储桶本地目录。该目录为沙箱应用已配置的 TOS 存储挂载的本地目录时,系统根据指定的本地目录,修改与之对应的 TOS BucketPath。
- bucket
Path string - 沙箱实例挂载的 TOS 远端目录。
- local
Mount stringPath - 沙箱实例挂载的 TOS 存储桶本地目录。该目录为沙箱应用已配置的 TOS 存储挂载的本地目录时,系统根据指定的本地目录,修改与之对应的 TOS BucketPath。
- bucket_
path str - 沙箱实例挂载的 TOS 远端目录。
- local_
mount_ strpath - 沙箱实例挂载的 TOS 存储桶本地目录。该目录为沙箱应用已配置的 TOS 存储挂载的本地目录时,系统根据指定的本地目录,修改与之对应的 TOS BucketPath。
- bucket
Path String - 沙箱实例挂载的 TOS 远端目录。
- local
Mount StringPath - 沙箱实例挂载的 TOS 存储桶本地目录。该目录为沙箱应用已配置的 TOS 存储挂载的本地目录时,系统根据指定的本地目录,修改与之对应的 TOS BucketPath。
GetSandboxMetadata
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
