Automate maintenance mode in Azure

Automate maintenance mode in Azure

Hi, I stumbled on this post how to automate maintenance mode for AWS resources.
Automate maintenance mode - Site24x7 Forum

We would like the same functionality for Azure resources but I canĀ“t find that setting within Azure Monitor.

Where can I find it?