Available on crate feature
managed-agents-preview only.Expand description
Environments: container configuration for sessions.
An environment defines the cloud container (pre-installed packages, networking policy) where sessions run. Multiple sessions can share one environment; each gets its own container instance.
Environments are not versioned; mutate via re-create rather than patch. The lifecycle is create → list/retrieve → archive → delete.
Structs§
- Cloud
Config - Body of an
EnvironmentConfig::Cloud. - Cloud
Config Builder - Builder for
EnvironmentConfig::Cloud. - Create
Environment Request - Request body for
POST /v1/environments. - Environment
- An environment definition.
- Environment
Packages - Pre-installed packages, indexed by package manager. Caches across sessions that share the environment.
- Environments
- Namespace handle for the Environments API.
- Limited
Networking - Body of a
Networking::Limitedpolicy. - List
Environments Params - Optional knobs for
Environments::list. - Update
Environment Request - Request body for
Environments::update. All fields optional with merge-patch semantics: omit a field to preserve.
Enums§
- Environment
Config - Container configuration. Currently only the
cloudshape is documented; new shapes fall through toSelf::Other. - Networking
- Networking policy for the container.