Automation Jobs
You can automate the management of jobs using the Microsoft Azure Automation API.
When you create a job to execute a runbook, the job is run immediately. You can get the runbook content of a job, or just its output.
You can obtain information about a job, or all jobs. You can examine one or all of the job stream records to determine the job IDs that were used.