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 | 10,363 | 9/18/2024 |
0.42.0 | 238 | 9/17/2024 |
0.41.0 | 9,572 | 7/2/2024 |
0.40.0 | 3,811 | 5/28/2024 |
0.39.0 | 7,838 | 3/19/2024 |
0.38.0 | 481 | 3/16/2024 |
0.37.0 | 2,701 | 2/16/2024 |
0.36.0 | 3,747 | 12/22/2023 |
0.35.0 | 2,104 | 11/3/2023 |
0.34.0 | 1,265 | 10/5/2023 |
0.33.0 | 746 | 9/24/2023 |
0.32.0 | 3,017 | 8/7/2023 |
0.31.0 | 558 | 7/14/2023 |
0.30.0 | 388 | 7/7/2023 |
0.29.0 | 189 | 7/7/2023 |
0.28.0 | 572 | 6/23/2023 |
0.27.0 | 295 | 6/20/2023 |
0.26.0 | 180 | 6/20/2023 |
0.25.0 | 244 | 6/16/2023 |
0.24.0 | 249 | 6/13/2023 |
0.23.0 | 272 | 6/10/2023 |
0.22.0 | 193 | 6/9/2023 |
0.21.0 | 232 | 6/7/2023 |
0.20.0 | 181 | 6/7/2023 |
0.19.0 | 532 | 5/22/2023 |
0.18.0 | 227 | 5/21/2023 |
0.17.0 | 216 | 5/18/2023 |
0.16.0 | 317 | 5/9/2023 |
0.15.0 | 210 | 5/8/2023 |
0.14.0 | 172 | 5/8/2023 |
0.13.0 | 660 | 4/23/2023 |
0.12.0 | 241 | 4/21/2023 |
0.11.0 | 215 | 4/21/2023 |
0.10.0 | 206 | 4/21/2023 |
0.9.0 | 335 | 4/17/2023 |
0.8.0 | 351 | 4/16/2023 |
0.7.0 | 236 | 4/15/2023 |
0.6.0 | 302 | 4/14/2023 |
0.5.0 | 294 | 4/14/2023 |
0.4.0 | 250 | 4/13/2023 |
0.3.0 | 227 | 4/13/2023 |
0.2.0 | 289 | 4/11/2023 |
0.1.0 | 229 | 4/11/2023 |