dcloud billing budgets update

Update a budget

IAM billing:UpdateBudgetChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud billing budgets update id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --nameOptional

    string

    1–255 characters; need not be unique

    Constraints: 1-255 chars

  • --amount-centsOptional

    number

    The cap in euro cents (net, before VAT), a positive whole number: 50000 is €500

    Constraints: integer, min 1

  • --periodOptional

    enum

    monthly, quarterly or annual; periods start at midnight German time, like the invoice

    One of: monthly, quarterly, annual

  • --scopeOptional

    object

    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-filterOptional

    array of string

    Count only usage of these service ids; null: every service; omitted: unchanged

    May be null.

  • --alert-thresholdsOptional

    array 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-emailsOptional

    array of string

    Who is mailed; null: nobody; omitted: unchanged

    Constraints: email

    May be null.

  • --actionOptional

    object

    The budget’s action; null removes it (the budget then only notifies)

    Constraints: JSON

    May be null.

  • --forecast-thresholdsOptional

    array 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 id

Generated from the API description, the same one the API checks requests against and the CLI is built from.