Viewing and reporting usage data
As we mentioned in the previous section, each resource provider available in Azure Stack Hub posts usage data per resource usage. The usage service periodically aggregates this usage data and stores it in the usage database. Azure Stack Hub operators and users can access this stored usage data through the Azure Stack Hub resource usage APIs.
If Azure Stack Hub has been registered with Azure, then, as stated previously, Azure Stack Hub will send this usage data to Azure Commerce. After this data has been uploaded to Azure, it is possible to access it through the billing portal or by using Azure resource usage APIs.
All Azure Stack Hub resource providers, including Compute, Storage, and Network, generate usage data at hourly intervals for each subscription. This usage data includes information about the resource being used, such as the resource's name, subscription used, and quantity used. After this usage data has been collected, it is reported...