dcloud billing costs linesThe usage lines behind a bar, a group or a resource
One line per (resource, usage type, unit price): quantity, unit, rate, amount, first and last metered. Pass `bucket` (the ISO start of a bar) with its `granularity` to see one bar.
Synopsis
dcloud billing costs lines --start start --end end [flags]Flags
--startRequiredstring
First day of the window, YYYY-MM-DD, UTC, inclusive
Constraints: /^\d{4}-\d{2}-\d{2}$/
--endRequiredstring
Last day of the window, YYYY-MM-DD, UTC, inclusive
Constraints: /^\d{4}-\d{2}-\d{2}$/
--filtersOptionalarray of json
Narrow to rows matching every filter, at most 20, as in cost-explorer/query; default none
Default:
[]--bucketOptionalstring
Only the bar starting at this ISO 8601 instant (a `series` point’s start), one granularity wide; default the whole window
Constraints: datetime
--granularityOptionalenum
How wide `bucket` is: hour, day (default) or month; ignored without bucket
One of:
hour,day,monthDefault:
"day"--limitOptionalnumber
At most this many lines, 1–2000 (default 200), largest amount first; `truncated` says when more exist
Constraints: integer, 1-2000
Default:
200
Example
dcloud billing costs lines --start example --end exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.