cloud billing get-costs-items-by-deployment cli command
Auth required
elastic cloud billing get-costs-items-by-deployment \
--organization-id <organization-id> \
--deployment-id <deployment-id> \
[options]
Get itemized costs by deployments. Currently unavailable in self-hosted ECE.
--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.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON