https://github.com/imjoseangel/azure-cost-cli
Python CLI tool to perform cost analysis on your Azure subscription
https://github.com/imjoseangel/azure-cost-cli
Last synced: 7 months ago
JSON representation
Python CLI tool to perform cost analysis on your Azure subscription
- Host: GitHub
- URL: https://github.com/imjoseangel/azure-cost-cli
- Owner: imjoseangel
- License: mit
- Created: 2023-10-22T18:15:16.000Z (almost 2 years ago)
- Default Branch: devel
- Last Pushed: 2023-10-23T19:46:24.000Z (almost 2 years ago)
- Last Synced: 2024-05-15T20:13:52.005Z (over 1 year ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Azure Cost CLI
This is a simple command line tool to get the cost of your Azure Tenant. It uses the Azure Cost Management API to get the cost and output the results to the console, text, csv, markdown or JSON. E.g. so it can be used in a workflow to get the cost of your tenant and use it in subsequent steps.
## Installation
```bash
pip install -r requirements.txt
```## References
* [Getting started - Managing Consumption using Azure Python SDK](https://learn.microsoft.com/en-us/samples/azure-samples/azure-samples-python-management/costmanagement/)
* [Examples Documentation](https://github.com/Azure-Samples/azure-samples-python-management/tree/main/samples/costmanagement)
* [Example on Stack Overflow](https://stackoverflow.com/questions/56938103/azure-usage-and-cost-of-resources-in-a-subscription/73666578#73666578)