eagleeyethinker / functions-powershell-run-aci

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run and monitor long running tasks with Azure Functions and Azure Container Instances

  1. Send request to POST /api/jobs?code=<functions_code> to start a job (executes RequestJob function). It responds with a 202 status code and a location header. It also triggers StartJob function via a queue.
  2. Send GET request to the location to get job status and logs (executes GetJobStatus function).
    • Returns status 202 if job is still in progress
    • Returns status 200 if job is complete

Resources

For more information, see the blog post.

About

License:MIT License


Languages

Language:PowerShell 100.0%