Update machine pool
pools_updateUpdate a machine pool's configuration; tenant-managed pools accept all fields, while cluster-managed pools allow only CPU, memory, env, secrets, and idle deletion changes.
Instructions
Tenant-managed pools support every request field. Cluster-managed pools only allow changes to default CPU and memory, environment and secret environment variables, provider-supported per-machine CPU and memory limits, and the idle deletion policy. Other cluster-managed changes are rejected with 409 Conflict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not. | |
| orgID | Yes | ||
| poolID | Yes | ||
| metadata | No | User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - Omnara sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted. | |
| default_cwd | No | ||
| description | No | ||
| max_total_cpu | No | ||
| max_machine_cpu | No | ||
| min_machine_cpu | No | ||
| provider_config | No | ||
| max_total_machines | No | ||
| default_machine_cpu | No | ||
| default_machine_env | No | Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch. | |
| max_total_memory_mb | No | ||
| max_machine_memory_mb | No | ||
| min_machine_memory_mb | No | ||
| provider_auth_secret_id | No | ||
| default_machine_memory_mb | No | ||
| delete_after_idle_minutes | No | Idle minutes before deleting a machine from this pool. Null clears the pool default; omitted leaves it unchanged. | |
| default_machine_secret_env | No | Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied. | |
| runtime_protection_enabled | No | Whether Omnara should delete a pool machine when its provider remains running after its daemon becomes inactive. | |
| default_machine_provider_options | No |