CLICommands
orl billing auto-recharge update
Set the org's auto-recharge policy (needs `orl auth login`), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.
orl billing auto-recharge update --amount-cents <amount-cents> --enabled --threshold-cents <threshold-cents>Saves the org's auto-recharge settings and returns them. Turning it on needs a default saved card, an amount from $25 to $500, and a threshold of 0 or more.
Flags
| Flag | Type | Required | |
|---|---|---|---|
--amount-cents | int | yes | Amount charged per auto-recharge, in cents. When enabled is true it must sit within the deposit bounds, $25 to $500; a stored amount under the $25 floor is never charged. Ignored while enabled is false. |
--enabled | bool | yes | When on, the balance is topped up automatically below the threshold. |
--threshold-cents | int | yes | Recharge fires when available balance drops below this. For an org subject to auto-stop, a value under the $0.50 auto-stop floor acts as the floor, so a recharge is attempted before workloads are stopped. The attempt is still subject to the amount bounds and the monthly spend limit. |
--body | string | no | a JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"} |
--body-file | string | no | read the --body JSON object from a file (- for stdin) |
This wraps the updateAutoRecharge API operation.
orl billing auto-recharge get
Read the org's auto-recharge policy, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing. Usage, every flag and an example.
orl billing balance get
Org balance + recent transactions, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing. Usage, every flag and an example.