【问题标题】:Azure Monitor: How to fetch UsedCapacity for particulare FileShare?Azure Monitor:如何获取特定文件共享的用户容量?
【发布时间】: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


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 2021-06-18
      • 1970-01-01
      • 2014-11-27
      • 1970-01-01
      • 1970-01-01
      • 2020-12-28
      • 2020-11-06
      • 2021-04-27
      • 2019-08-17
      相关资源
      最近更新 更多