E2BTemplate

Updated at:

Parameter

Type

Description

Example

object

The template information.

templateID

string

The unique identifier of the template.

your-template-id

cpuCount

integer

The number of CPU cores configured for the template.

1

memoryMB

integer

The memory size configured for the template, in MB.

2048

public

boolean

Indicates whether the template is publicly available.

false

createdAt

string

The time when the template was created.

2026-01-01T00:00:00Z

updatedAt

string

The time when the template was last updated.

2026-01-01T00:00:00Z

userID

string

The ID of the user who created the template.

logConfiguration

LogConfiguration

The log service configuration of the template.

{"project":"sandbox-project","logstore":"sandbox-logstore"}

buildStatus

string

The build status of the template.

ready

statusReason

string

The reason for the build status of the template.

teamID

string

The unique identifier of the team to which the template belongs.

88a4c762-b0ce-4661-9413-578b2309e60f

teamName

string

The name of the team to which the template belongs.

my-team

resourceGroupID

string

The ID of the resource group to which the template belongs.

rg-acfmwxqyrgwabcd

networkConfiguration

NetworkConfiguration

The VPC configuration of the template.

{"vpcID":"vpc-bp1example","securityGroupID":"sg-bp1example","vswitchIDs":["vsw-bp1example"]}

category

string

The category of the template.

names

array

The list of template names.

["my-template"]

string

The individual template name.

my-template

tags

array

The list of tags for the template.

E2BTemplateTag

The individual template tag.

containerConfiguration

ContainerConfiguration

The container image configuration of the template.

{"image":"registry.cn-hangzhou.aliyuncs.com/demo/nginx:latest"}

teamPlan

string

The plan of the team to which the template belongs.