azure-cost-cli
0.43.0
dotnet tool install --global azure-cost-cli --version 0.43.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local azure-cost-cli --version 0.43.0
#tool dotnet:?package=azure-cost-cli&version=0.43.0
nuke :add-package azure-cost-cli --version 0.43.0
Azure Cost CLI
This is a simple command line tool to get the cost of your Azure subscription. 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 subscription and use it in subsequent steps.
Installation
You can install this tool globally, using the dotnet tool command:
dotnet tool install --global azure-cost-cli
Upgrading
When there is a new version available on NuGet, you can use the dotnet tool update
command to upgrade:
dotnet tool update --global azure-cost-cli
With a --version
parameter, you can specify a specific version to install. Use the --no-cache
parameter to force a re-download of the package if it cannot find the latest version.
Usage
You can invoke the tool using the azure-cost
command. You can use the --help
parameter to get a list of all available options.
azure-cost --help
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.43.0 | 13,679 | 9/18/2024 |
0.42.0 | 246 | 9/17/2024 |
0.41.0 | 9,578 | 7/2/2024 |
0.40.0 | 3,854 | 5/28/2024 |
0.39.0 | 7,841 | 3/19/2024 |
0.38.0 | 484 | 3/16/2024 |
0.37.0 | 2,703 | 2/16/2024 |
0.36.0 | 3,749 | 12/22/2023 |
0.35.0 | 2,108 | 11/3/2023 |
0.34.0 | 1,267 | 10/5/2023 |
0.33.0 | 748 | 9/24/2023 |
0.32.0 | 3,019 | 8/7/2023 |
0.31.0 | 560 | 7/14/2023 |
0.30.0 | 390 | 7/7/2023 |
0.29.0 | 191 | 7/7/2023 |
0.28.0 | 574 | 6/23/2023 |
0.27.0 | 297 | 6/20/2023 |
0.26.0 | 182 | 6/20/2023 |
0.25.0 | 246 | 6/16/2023 |
0.24.0 | 251 | 6/13/2023 |
0.23.0 | 274 | 6/10/2023 |
0.22.0 | 195 | 6/9/2023 |
0.21.0 | 234 | 6/7/2023 |
0.20.0 | 184 | 6/7/2023 |
0.19.0 | 534 | 5/22/2023 |
0.18.0 | 229 | 5/21/2023 |
0.17.0 | 218 | 5/18/2023 |
0.16.0 | 320 | 5/9/2023 |
0.15.0 | 213 | 5/8/2023 |
0.14.0 | 174 | 5/8/2023 |
0.13.0 | 663 | 4/23/2023 |
0.12.0 | 243 | 4/21/2023 |
0.11.0 | 217 | 4/21/2023 |
0.10.0 | 208 | 4/21/2023 |
0.9.0 | 338 | 4/17/2023 |
0.8.0 | 353 | 4/16/2023 |
0.7.0 | 241 | 4/15/2023 |
0.6.0 | 304 | 4/14/2023 |
0.5.0 | 296 | 4/14/2023 |
0.4.0 | 252 | 4/13/2023 |
0.3.0 | 229 | 4/13/2023 |
0.2.0 | 292 | 4/11/2023 |
0.1.0 | 232 | 4/11/2023 |