Skip to main content

agentrun sandbox

Manage isolated AgentRun sandbox instances.

Run ecctl agentrun sandbox <action> -h for usage, or ecctl schema agentrun.sandbox.<action> --full for the complete, agent-readable spec of every parameter and behavior.

create

ecctl agentrun sandbox create [flags]

Create an AgentRun sandbox

  • Kind: mutation · Risk: medium
  • Synchronous: waits for READY (waiter ready_after_create, timeout 600s); use --no-wait to skip.
APIWhen calledPurpose
CreateSandboxEvery time the command runs.Perform the resource operation.
GetSandboxWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--template-namestringtemplate name
--idstringsandbox ID
--idle-timeoutintegersandbox idle timeout in seconds
--nas-configobjectNAS configuration as a JSON object or @file
--oss-mount-configobjectOSS mount configuration as a JSON object or @file
--polar-fs-configobjectPolarFS configuration as a JSON object or @file

delete

ecctl agentrun sandbox delete <id> [flags]

Delete an AgentRun sandbox

  • Kind: mutation · Risk: high
  • Synchronous: waits for absent (waiter absent_after_delete, timeout 300s); use --no-wait to skip.
APIWhen calledPurpose
DeleteSandboxEvery time the command runs.Perform the resource operation.
ListSandboxesWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region

get

ecctl agentrun sandbox get <id> [flags]

Get an AgentRun sandbox

  • Kind: read · Risk: low
APIWhen calledPurpose
GetSandboxEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include

list

ecctl agentrun sandbox list [flags]

List AgentRun sandboxes

  • Kind: read · Risk: low
APIWhen calledPurpose
ListSandboxesEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--filterkey_valuefilter expression key=value
--limitintegermaximum sandboxes to return (default: 100)
--next-tokenstringpagination token from a previous response

stop

ecctl agentrun sandbox stop <id> [flags]

Stop an AgentRun sandbox

  • Kind: mutation · Risk: medium
  • Synchronous: waits for TERMINATED (waiter terminated_after_stop, timeout 300s); use --no-wait to skip.
APIWhen calledPurpose
StopSandboxEvery time the command runs.Perform the resource operation.
GetSandboxWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region