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?