dcloud billing budgets updateUpdate a budget
Synopsis
dcloud billing budgets update id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--nameOptionalstring
1–255 characters; need not be unique
Constraints: 1-255 chars
--amount-centsOptionalnumber
The cap in euro cents (net, before VAT), a positive whole number: 50000 is €500
Constraints: integer, min 1
--periodOptionalenum
monthly, quarterly or annual; periods start at midnight German time, like the invoice
One of:
monthly,quarterly,annual--scopeOptionalobject
What the budget counts: {type: organization}, {type: resourceProject, projectId} (a project), {type: project, projectId} (a saved tag view) or {type: tags, clauses}. A resource without the scope’s tags is not counted. A project that does not exist is accepted and reported as a broken scope. Omitted: unchanged
Constraints: JSON
--service-filterOptionalarray of string
Count only usage of these service ids; null: every service; omitted: unchanged
May be null.
--alert-thresholdsOptionalarray of number
Percentages of the cap (1–1000) at which to alert; null resets to [80, 100]; omitted: unchanged
Constraints: integer, 1-1000
May be null.
--notification-emailsOptionalarray of string
Who is mailed; null: nobody; omitted: unchanged
Constraints: email
May be null.
--actionOptionalobject
The budget’s action; null removes it (the budget then only notifies)
Constraints: JSON
May be null.
--forecast-thresholdsOptionalarray of number
Forecast alert percentages (monthly budgets), at most 10 of 1–1000; null or []: none; omitted: unchanged
Constraints: integer, 1-1000
May be null.
Example
dcloud billing budgets update idGenerated from the API description, the same one the API checks requests against and the CLI is built from.