Hello @PerhapsCloud
Azure Arc-enabled servers are managed by Azure Arc, which is a service that extends Azure management capabilities to on-premises, multi-cloud, and edge environments. When you connect a server to Azure Arc, you can manage it using the Azure portal, Azure CLI, Azure PowerShell, or Azure REST API.
You can use the Azure CLI to start or stop the virtual machine. Here are the commands to do it:
To stop the virtual machine:
az vm
To start the virtual machine:
az vm start --resource-
Activity Log alert to notify you when an Azure Arc-enabled server is started or stopped, you can follow these steps:
Create an action group. An action group is a collection of notification preferences and actions that you define. You can create an action group in the Azure portal or using Azure PowerShell or Azure CLI.
Create an Activity Log alert. You can create an Activity Log alert in the Azure portal or using Azure PowerShell or Azure CLI.
References:
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/scenarios/hybrid/arc-enabled-servers/eslz-management-and-monitoring-arc-server#design-recommendations