docs

ix billing

ix billing usage

Summarize account usage by resource type

Usage: ix billing usage [OPTIONS]

options

  • --since <SINCE> Relative window such as 30d, 12h, or 45m
  • --from <FROM> Start date as YYYY-MM-DD
  • --to <TO> End date as YYYY-MM-DD
  • --resource-type <RESOURCE_TYPE> Restrict usage to one resource type
  • --resource-prefix <PREFIX> Report only the per-resource rows whose name starts with this prefix, alongside a total for everything else in the report. A charge with no resource name never matches. The rest of the summary, including the itemized events, still covers the whole report
  • --limit <LIMIT> Number of recent itemized events and top resources to include default: 100
  • --output <OUTPUT> Output format one of: human, json default: human
  • --message-format <MESSAGE_FORMAT> Error format one of: human, short, json default: human