An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Azure Monitor tracks VM utilization. Azure Monitor can call an action group. One action group activity option is a logic app. So you could trigger a logic app using an Azure Monitor alert that would shut down an underutilized VM. I recommend querying for resource utilization over time rather than a flat threshold.