|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The input parameters for creating a code interpreter. |
||
| codeInterpreterName |
string |
The name of the code interpreter. Use this to identify and distinguish code interpreter instances. |
my-code-interpreter |
| description |
string |
A description of the code interpreter. |
Python code interpreter for data analysis |
| networkConfiguration | NetworkConfiguration |
Specifies the network configuration for the code interpreter, including VPC and security group settings. |
{} |
| memory |
integer |
The amount of memory to allocate, in megabytes (MB). |
1024 |
| executionRoleArn |
string |
The Alibaba Cloud Resource Name (ARN) of the execution role for the code interpreter. |
acs:ram::1760720386195983:role/CodeInterpreterExecutionRole |
| cpu |
number |
The amount of CPU to allocate, in cores. |
2.0 |
| sessionIdleTimeoutSeconds |
integer |
The idle timeout for a session, in seconds. If an instance has no new requests for this duration, its session expires and cannot be reused. |
3600 |
| credentialId |
string |
The credential ID used for authentication. |
cred-1234567890abcdef |
CreateCodeInterpreterInput
Updated at:
Copy as MD
Is this page helpful?