Defining and configuring automation scripts for cost control
Azure automation scripts are a key element of every governance process, including cost governance. Automation runbooks can be scripted with the Azure graphical interface, PowerShell, and Python. For editing, we encourage you to read the documentation and choose something according to each advantage and limitation (https://docs.microsoft.com/en-us/azure/automation/automation-runbook-types).
Important Note:
Azure Automation can work on Azure, on-premises, and other cloud providers (for example, AWS) to automate tasks. Specific permissions are needed to securely access these cloud resources using the least privilege rule.
You can find detailed information in the official documentation at https://docs.microsoft.com/en-us/azure/automation/automation-intro, and tons of pre-created runbooks on the official GitHub repository at https://github.com/azureautomation, but the key elements you need to know about automation scripts...