0

Is it possible to retrieve ASM metrics using Powershell?

I've only found ARM Metric cmdlets for powershell but nothing for

Azure Services and Classic VMs...

1 Answers1

0

For now, it is not possible. Azure does not provide API to get classic VM's metric. The supported types and metrics are here:Supported metrics with Azure Monitor. You could check, classic VM is not supported. Azure PowerShell cmdlet is encapsulated by API.

Classic VM metrics stores in classic storage account, you could use storage API to get metrics, please refer to this question.

Shui shengbao
  • 18,746
  • 3
  • 27
  • 45