13 releases
0.4.4 | Apr 3, 2022 |
---|---|
0.4.2 | May 13, 2021 |
0.3.6 | May 3, 2020 |
0.3.5 | Nov 4, 2019 |
0.3.1 | May 12, 2019 |
#403 in Command-line interface
50 downloads per month
110KB
3K
SLoC
azi
Show Azure information.
Installation
You can download binaries from the latest release.
If you have Cargo installed, you can use cargo install azi
You can also use the Docker image: docker run --rm azrtools/azi --help
Usage
List all subscriptions and resource groups:
azi list
Show Kubernetes clusters and deployments:
azi clusters -r
Show the costs of March 2019:
azi costs 201903
Show DNS entries and resource groups they point to:
azi domains
Docker
To simply run the command, use docker run --rm azrtools/azi
.
If you want to keep the authentication tokens between runs, use
docker volume create azi
docker run --rm --mount source=azi-tmp,target=/home/azi azrtools/azi list
docker run --rm --mount source=azi-tmp,target=/home/azi azrtools/azi dns
docker volume rm azi
The images are available on Docker Hub.
Helpful links
- https://docs.microsoft.com/en-us/rest/api/azure/
- https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code
- https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-oauth-code
License
Dependencies
~14–26MB
~495K SLoC