You can automation runbooks in Microsoft Azure.
You can create runbooks from URLs pointing to .ps1 files, containing a single PowerShell Workflow, such as those on Microsoft Script Center, and have it created in Azure Automation.
You can also publish, put into edit mode, and discard drafts of runbooks.
You can get information about a published or draft runbook, as well as obtain a runbook’s published or draft content. You can also delete runbooks, list all runbooks, and update runbook metadata, such as tags or logging options.
You can update the draft content of a runbook by providing the updated content in a request body.