CLI tool for Azure services inventory and diagramming
Project description
azure-radar
A CLI tool to inventory, diagram, and run operations on Azure services using Azure CLI, mirroring gcp-radar for GCP.
Requirements
- Azure CLI: Install from https://docs.microsoft.com/cli/azure/install-azure-cli
- Python 3.8+
Installation
pip install -e .
Authentication
This tool uses Azure CLI for authentication, supporting various methods including SSO.
For SSO-enabled accounts:
-
Install Azure CLI (if not already installed):
brew install azure-cli # macOS # or use appropriate installer for your OS
-
Authenticate with SSO:
az login --use-device-code # or if browser available az login
-
Set subscription (if you have multiple):
az account set --subscription <subscription-id> # or export it export AZURE_SUBSCRIPTION_ID=<your-subscription-id>
Usage
# Generate CSV inventory of all Azure resources
azure-radar inventory
# Generate draw.io diagram of services
azure-radar diagram
# Run both inventory and diagram
azure-radar run
Output Files
azure_inventory.csv- CSV file with all Azure resourcesazure_diagram.drawio- Draw.io diagram of service distribution
Supported Azure Services
This tool currently supports the following Azure service categories for inventory and diagram generation:
- Virtual Machines
- Azure SQL
- Azure Functions
- AKS
- Storage Accounts
- Container Apps
- Cosmos DB
- Service Bus
- Azure ML
Cloud Service Mapping (Azure → AWS → GCP → OCI)
| Azure | AWS | GCP | OCI |
|---|---|---|---|
| Virtual Machines | EC2 | Compute Engine | OCI Compute |
| Azure SQL | RDS | Cloud SQL | Autonomous Database |
| Azure Functions | Lambda | Cloud Functions | OCI Functions |
| AKS | EKS | GKE | Container Engine for Kubernetes |
| Storage Accounts | S3 | Cloud Storage | Object Storage |
| Container Apps | App Runner | Cloud Run | Container Instances |
| Cosmos DB | DynamoDB | Firestore | NoSQL Database |
| Service Bus | SNS/SQS | Pub/Sub | Streaming Service |
| Azure ML | SageMaker | Vertex AI | Data Science |
Related PyPI packages
This project is part of a family of "radars" tools available on PyPI. Two related packages you may find useful:
aws-radar— available on PyPI (example versions: 0.1.1, 0.1.0)gcp-radar— available on PyPI (example versions: 0.1.9, 0.1.3, 0.1.1, 0.1.0)
Install them with pip:
pip install aws-radar
pip install gcp-radar
These packages follow a similar CLI shape (inventory, diagram, run) for their respective clouds.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azure_radar-1.0.0.tar.gz.
File metadata
- Download URL: azure_radar-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e5c70544a82a48b812265fdbdaa4373be1254733f52774cc11f04ffa7be306a
|
|
| MD5 |
d13becf53e368c11d5c9e1d07714e41d
|
|
| BLAKE2b-256 |
5d571aa5bd41549d8c9cd6e94d25c1129517e28175ac85007bc003cdf8b4f17d
|
File details
Details for the file azure_radar-1.0.0-py3-none-any.whl.
File metadata
- Download URL: azure_radar-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bbd2cd033d5caa3374f3f1ed99418cb66c4b3a5ca3358869bdba702f31fabde
|
|
| MD5 |
eb5d1a3009f573a3605233eb10e9efca
|
|
| BLAKE2b-256 |
1ac66e30eeb2dc2db55e61f481201208c31b49eb56be1a5d8a498f875da4a5e1
|