问题
I am trying to use resource event occurs from a Microsoft tutorial. I know how to detect if a subscription is deleted or created. I cant find a way to detect if a virtual machine i am using restarts
回答1:
We have a document that explains the different kinds of reboots. In that doc you will find a link to the Activity Logs which you can use to find when a VM reboots among other actions
https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/understand-vm-reboot
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/activity-logs-overview
来源:https://stackoverflow.com/questions/55282150/checking-if-virtual-machine-is-restarting-using-logic-apps