[英]No any metric definitions for Azure Load Balancer resource
I try to retrieve Azure Metrics using Azure Monitor API . 我尝试使用Azure Monitor API检索Azure指标。
I use MonitorManagementClient
class from Microsoft.Azure.Management.Monitor nuget package. 我用MonitorManagementClient
从类Microsoft.Azure.Management.Monitor NuGet包。
I need to get metric definitions from the API using next code snippet: 我需要使用下一个代码片段从API获取指标定义:
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. 我的代码段可以在其他Azure资源类型(例如Azure Traffic Manager,Azure应用程序网关,Azure Express Route等)上完美运行。
But I don't see any metric definitions for Azure Load Balancer . 但是我看不到Azure Load Balancer的任何度量标准定义。
Why metric definitions are missed for Azure Load Balancer resource type? 为什么缺少Azure负载均衡器资源类型的指标定义?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.