CreateCodeInterpreterInput

名称类型描述示例值
object

创建代码解释器所需的输入参数

codeInterpreterNamestring

代码解释器的名称,用于标识和区分不同的代码解释器实例

my-code-interpreter
descriptionstring

代码解释器的描述信息,说明该解释器的用途和功能

Python code interpreter for data analysis
networkConfigurationNetworkConfiguration

代码解释器的网络配置,包括 VPC、安全组等网络访问设置

memoryinteger

内存资源配置(单位:MB)

1024
executionRoleArnstring

此代码解释器的执行角色

acs:ram::1760720386195983:role/CodeInterpreterExecutionRole
cpufloat

CPU 资源配置(单位:核数)

2.0
sessionIdleTimeoutSecondsinteger

会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用

3600
credentialIdstring

鉴权 Id

cred-1234567890abcdef