Skip to content

dt cost add-budget

Overview

Create a budget (admin only). Optional ACL via --users, --groups, --others. Use -P/--prevent-overflow to enable cap enforcement.

Synopsis

dt cost add-budget [OPTIONS] <name> 

Options

  • -a, --amount=<amount>
    Budget cap in USD

  • -P, --prevent-overflow
    Enable prevent-overflow enforcement for this budget

  • -g, --groups=<groups>
    Group permissions (format: name:[r][o])

  • -o, --others=<others>
    Default permissions for others ([r][o])

  • -u, --users=<users>
    User permissions (format: name:[r][o])

Arguments

  • name (required)
    Type: String
    Budget name

Examples

Add a budget with cap

dt cost add-budget my_budget --amount 50000

Add a budget with prevent-overflow enabled

dt cost add-budget my_budget --amount 50000 -P

SEE ALSO

← Back to dt cost