Get a table of costs
Is there a table of costs for resources accessible by API / JSON ?
There is this page of course: https://www.linode.com/pricing/
But I'd have to web scrape it, which isn't elegant.
I'm a sysadmin for an organization using linode. I don't have billing access - separation of duties - but I'd like to keep a rough tally of of the monthly cost as resources are spun up, turned off, etc.
I have in mind a script that can fire up daily, use linode-cli to tally my assets, query the table for costs, and store a running tally for the month.
If you know the number of Linodes, which plans they’re on, and any extras like block storage, you could pretty much figure out the monthly bill.
Any Linode’s not running, but still on the account still get billed at the monthly rate.
Anything more detailed would probably require billing access.