【发布时间】:2021-11-05 03:01:18
【问题描述】:
我正在尝试从 Azure Monitor REST-API 获取特定文件共享的已用容量。
但我得到的只是总容量。有谁知道诀窍吗?
此命令将传递整个 StorageAccount 的 UsedCapacity:
GET https://management.azure.com/subscriptions/<MYSUBSCRIPTION>/resourceGroups/<MYRG>/providers/Microsoft.Storage/storageAccounts/<MYSTORAGEACCOUNT>/fileServices/default/providers/Microsoft.Insights/metrics?api-version=2018-01-01
【问题讨论】:
标签: azure-files azure-rest-api azure-monitor