Update machine pool
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.
Authorizations
An opaque Omnara personal or organization bearer token.
Path Parameters
^org_[a-z2-7]{26}$^mpo_[a-z2-7]{26}$Body
Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
1 - 641 <= x <= 21474836471 <= x <= 2147483647Default 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.
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.
^sec_[a-z2-7]{26}$Whether Omnara should delete a pool machine when its provider remains running after its daemon becomes inactive.
0 <= x <= 21474836470 <= x <= 21474836470 <= x <= 21474836470 <= x <= 21474836470 <= x <= 21474836471 <= x <= 21474836471 <= x <= 2147483647Idle minutes before deleting a machine from this pool. Null clears the pool default; omitted leaves it unchanged.
5 <= x <= 2147483647User-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.
Response
Machine pool updated.
^mpo_[a-z2-7]{26}$^org_[a-z2-7]{26}$Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
1 - 64Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.
tenant, cluster 1 <= x <= 21474836471 <= x <= 2147483647Default 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.
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.
Whether Omnara deletes this pool's machines when the provider remains running after the daemon becomes inactive.
0 <= x <= 21474836470 <= x <= 21474836470 <= x <= 21474836470 <= x <= 21474836470 <= x <= 21474836471 <= x <= 21474836471 <= x <= 2147483647Idle minutes before deleting a machine from this pool, or null when the pool default is unset.
5 <= x <= 2147483647Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.
^sec_[a-z2-7]{26}$Current quota-consuming usage. Populated when the machine pool is returned by the list endpoint.