cloud billing get-costs-charts-by-deployment cli command
Auth required
elastic cloud billing get-costs-charts-by-deployment \
--organization-id <organization-id> \
--deployment-id <deployment-id> \
[options]
Get charts by deployment. Currently unavailable in self-hosted ECE.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--organization-idstringrequired- Identifier for the organization
--deployment-idstringrequired- Id of a Deployment
--fromstring- A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.
--tostring- A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.
--bucketing-strategystring- The desired bucketing strategy for the charts. Defaults to
daily. --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON