0
votes

I try to retrieve Azure Metrics using Azure Monitor API.

I use MonitorManagementClient class from Microsoft.Azure.Management.Monitor nuget package.

I need to get metric definitions from the API using next code snippet:

client.MetricDefinitions.List(resourceId)

My code snippet works perfectly on other Azure resource types like Azure Traffic Manager, Azure Application Gateway, Azure Express Route, etc.

But I don't see any metric definitions for Azure Load Balancer.

Why metric definitions are missed for Azure Load Balancer resource type?

1

1 Answers

0
votes

It is just for the Standard SKUs, I test with that, it works. Also I can reproduce your issue with a Basic one.

See the doc:

enter image description here