如何通过KQL获取Azure Compute Usage List?查询对应数据所在表
Azure Compute Usage List对应的KQL表
Azure计算资源的使用量与配额数据(即你提到的Compute Usage List接口返回的内容)主要存储在**AzureResources**表中,你可以通过以下KQL语句精准查询:
AzureResources | where type == "microsoft.compute/locations/usages" | project 当前使用值 = properties.currentValue, 配额上限 = properties.limit, 计量单位 = properties.unit, 资源标识 = properties.name.value, 资源本地化名称 = properties.name.localizedValue
另外,ResourceUsage表也包含部分资源使用数据,但针对Compute服务的配额类数据,AzureResources表的结构与你提供的接口返回内容更匹配。
内容的提问来源于stack exchange,提问作者harishk
相关产品推荐
相关产品推荐

