oz0 quota set
Set what a subject may use on top of the tenant's budget, replacing its quota: --usd a calendar month, --running jobs at once, --per-day jobs started per UTC day.
For: Operators and developers looking up a command.
Set what a subject may use on top of the tenant's budget, replacing its quota: --usd a calendar month, --running jobs at once, --per-day jobs started per UTC day. A limit left out is no limit, and a quota without limits is removed.
The subject is user:<name> (or just the name), apikey:<id>, service:<name> (service:webhook/<flow> for a flow's webhook), operator:<name> for an operator certificate, team:<name>, or a default: '' for every user, key and service without a quota of its own, 'team:' for every team.
Usage
oz0 quota set <subject> [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | print JSON instead of a table | |
--per-day | int | most jobs it may start per UTC day | |
--running | int | most of its jobs that may run at once | |
--tenant | string | default | tenant |
--usd | string | most its jobs may spend in a calendar month (UTC), in US dollars |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.