| 名称 | 类型 | 描述 | 示例值 |
|---|---|---|---|
| object | 更新模板所需的输入参数 | ||
| description | string | 模板描述 | demo description |
| containerConfiguration | ContainerConfiguration | 容器配置(内置的不可改) | |
| credentialConfiguration | CredentialConfiguration | 凭证配置 | |
| networkConfiguration | NetworkConfiguration | 网络配置 | |
| logConfiguration | LogConfiguration | 日志配置 | |
| executionRoleArn | string | 执行角色 ARN | arn:acs:agentrun:cn-hangzhou:123456789:xxx/test |
| cpu | float | CPU 资源配置(单位:核心) | 2 |
| memory | integer | 内存资源配置(单位:MB) | 4 |
| sandboxIdleTimeoutInSeconds | integer | 沙箱空闲超时时间(秒) | 21600 |
sandboxTTLInSecondsdeprecated | integer | 沙箱存活时间(秒) | 86400 |
| armsConfiguration | ArmsConfiguration | 应用实时监控服务(ARMS)的配置信息 | |
| allowAnonymousManage | boolean | 是否允许数据链路调用创建/停止/删除沙箱接口 | true |
| nasConfig | NASConfig | NAS 挂载配置项 | |
| enableAgent | boolean | Sandbox Agent 开关 | true |
| workspaceId | string | 关联的空间 ID | ws-1234567890abcdef |
| ossConfiguration | array | OSS 挂载配置 | |
| OssConfiguration | OSS 挂载配置 | ||
| environmentVariables | object | 环境变量 | |
| string | 环境变量配置 | {'HOME': '/tmp/', 'POC_DIR_PREFIX': '/app/'} | |
| templateConfiguration | object | 模板配置(灵活的对象结构,根据 templateType 不同而不同) | |
| any | 模板配置(灵活的对象结构,根据 templateType 不同而不同) | {"templateCustomConfiguration":"demo"} | |
| scalingConfig | ScalingConfig | 弹性配置 |
该文章对您有帮助吗?