Maximizing Azure Resource Insights: Introducing the Azure Inventory Gateway
Introduction
Azure Resource Graph (ARG) is an efficient tool for querying Azure resources, but it doesn’t always provide the full scope of information you need about them, especially when it comes to in-depth details.
This is where Resource Inventory Gateway comes into play. ARG’s limitations – such as not retrieving all attributes or configurations for a resource – force users to make additional API calls to Azure Resource Manager (ARM). Instead of manually querying multiple resources, this gateway automates and consolidates those calls, returning a complete data set.
TLDR; GitHub Repository
Why we build the Azure Inventory Gateway?
ARG (Azure Resource Graph) missing attributes:
Azure Resource Graph is a powerful service that allows you to explore and query your Azure resources across multiple subscriptions quickly and efficiently, providing detailed insights without needing individual API calls but it is not includes all ARM attributes.
Azure Resource Manager (ARM) Rest API capability
ARM is designed to handle queries for a single resource at a time.
To retrieve data from multiple resources, whether across a single subscription or multiple subscriptions, you need to execute multiple API calls.
The Azure Inventory Gateway simplify the achievement of this capability.
What is Azure Inventory Gateway?
Azure Inventory Gateway is a .NET-based gateway that simplifies the management and aggregation of REST API calls.
This solution provides an endpoint where you can send an API call along with variables. It processes the request and returns a unified response by aggregating the results from the APIs calls.
Currently it is including 2 interface gateways:
ARM Gateway – Interact with Azure Resource Manager (ARM) REST API.
Cost Gateway – Interact with Azure Cost Management REST API.
Azure Workbook
Workbooks provide a flexible canvas for data analysis and the creation of rich visual reports within the Azure portal. They allow you to tap into multiple data sources from across Azure and combine them into unified interactive experiences.
You can use the Azure inventory Gateway in Azure workbooks.
To make a call to the Azure Inventory Gateway, you need to use the custom endpoint data source and provide the appropriate API call along with the necessary variables.
You can find all details here.
Examples
Azure OpenAI Model Deployments
List all deployment models across all my Azure OpenAI resources
This provides a centralized view of your deployment models across subscriptions and resources.
If you need to locate where a specific model is deployed, you can now easily search across all your instances.
Azure OpenAI Models
List all supported models across all my Azure OpenAI resources
This provides a centralized view of your supported models, versions, lifecycle (Generally Available, Preview), creation date, etc. across subscriptions and resources.
If you need to locate where a specific model or version is supported, you can now easily search across all your instances.
Conclusion
Azure Inventory Gateway provides a streamlined approach to accessing complete resource data, eliminating the need for multiple ARM queries and delivering unified results. This tool saves time, automates the complexity of resource management, and expands the capabilities of Azure Resource Graph.
To get started, check out the GitHub repository, and integrate it into your resource management workflows today. For any queries or to contribute, feel free to connect via the repo or submit feedback!
Microsoft Tech Community – Latest Blogs –Read More