最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Get alert history for scheduled query rule resource using Azure SDK .NET - Stack Overflow

programmeradmin3浏览0评论

The resource type is Microsoft.Insights/scheduledqueryrules. In the portal, I can see the History:

In code, I was able to construct the resource object:

...
var armClient = new ArmClient(credential, subscriptionId);
...
var resource = armClient.GetScheduledQueryRuleResource(new ResourceIdentifier(resourceId));

But resource has no method to get the History information. I already added Azure.ResourceManager.Monitor Nuget package. How do I get this history information?

发布评论

评论列表(0)

  1. 暂无评论