Billing CLI Command Reference

Every dcloud billing command. The shape is dcloud <service> <resource> <verb>; every command also takes the global flags (--json, --profile, --dry-run, …).

dcloud billing summary

Current-period spend rollup

  • getShow the current billing summary

dcloud billing costs

Cost explorer: where the euros come from

  • queryCost over time, grouped and filtered by any dimension
  • linesThe usage lines behind a bar, a group or a resource
  • compareThe same usage priced at other clouds’ public list prices
  • exportCSV of every (period, resource, usage type) row
  • accounting-exportA month or a range of days as a DATEV Buchungsstapel (EXTF) for the tax advisor
  • creditsCredits and discounts granted to the organization, with what is left
  • resourceWhat one resource costs: this month, last month, per hour now, monthly cap

dcloud billing estimates

What an operation costs before it runs

  • createPrice an operation before running it (per hour, per month, monthly cap)

dcloud billing invoices

Issued invoices

  • listList invoices
  • pdfAn issued invoice as a PDF (A4)

dcloud billing account

Who invoices are made out to

  • getThe billing account: company name, invoice address, VAT ID, invoice e-mail
  • updateChange the company name, invoice address, VAT ID or invoice e-mail

dcloud billing budgets

Spend limits and alert thresholds

  • listList budgets
  • createCreate a budget
  • statusList budgets with current spend, scope size and fired alerts
  • scope-previewCount the resources a scope would cover, before saving it
  • getDescribe one budget
  • updateUpdate a budget
  • deleteDelete a budget
  • action-previewWhat the budget’s action would propose to stop right now

dcloud billing cost-report

The monthly cost report mail: who gets it, preview, send

  • getShow the monthly cost report settings and the reports sent
  • updateTurn the monthly cost report on or off, or choose who gets it
  • previewA month’s report as data, without sending it
  • sendSend a month’s report now, with its CSVs (once per month unless `again`)

dcloud billing cost-views

Saved cost explorer views, optionally mailed monthly

  • listList the saved views you can see (shared ones and your own)
  • getDescribe one saved view, with the range it resolves to today
  • createSave a cost explorer view
  • updateChange a saved view, its sharing or its monthly mail
  • deleteDelete a saved view
  • reportA view’s monthly report for a month, as data, without sending it

dcloud billing savings

Waste: idle, oversized, stopped, unattached and unused resources, with the saving

  • listWhat could be saved a month, resource by resource, with the action
  • dismissKeep a finding, with a reason, for good or until a date
  • restoreBring a dismissed finding back

dcloud billing budget-proposals

What crossed budgets propose to stop, waiting for a person

  • listList budget action proposals, newest first
  • approveApprove a proposal: stop or scale down every resource it names
  • dismissDismiss a proposal: nothing is stopped this period

dcloud billing payment-methods

How invoices get paid

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