CLI reference

norcube billing budget set

Set the monthly spending caps or alert thresholds

Not verified yet

Changes only what you pass; the other settings stay as they are.

--hard-cap 500     stop paid usage at $500.00 a month ("none" removes it)
--soft-cap 300     warn at $300.00 a month ("none" removes it)
--alerts 50,80,100 email at these percentages of the cap

Reaching a hard cap blocks paid usage, so the command asks first; --yes answers for scripts, and without a terminal --yes is required.

Usage

norcube billing budget set [flags]

Examples

norcube billing budget set --hard-cap 500 --soft-cap 300
norcube billing budget set --alerts 50,90 --yes
norcube billing budget set --hard-cap none

Flags

FlagDefaultDescription
--alertsAlert thresholds, percentages of the cap (50,80,100)
--hard-capMonthly hard cap in US dollars ("none" removes it)
--soft-capMonthly soft (warning) cap in US dollars ("none" removes it)
--yesSkip the confirmation prompt (required when stdin isn't a terminal)

Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.

See also

On this page