Parsing ARM Template Output in VSTS Pipelines.
There are many ways to start an Azure Automation Runbook. You can start the Runbook from the Azure Portal, using PowerShell cmdlets or a Webhook. But you can also start a Runbook via a web request against the Azure ARM REST API
Testing Azure Resource Manager template functions with PowerShell and the output section of the ARM Template
With Azure Custom Script Extension you can download and execute scripts on Azure virtual machines. This extension is useful for post deployment configuration, software installation, or any other configuration / management task. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure portal at extension run time.