title: Use an ARM-template generated host as build agent
body: <p>Azure devops with it's pipelines is fine to generate automate your builds.
  As far as I see, you can use</p>
  <ul>
  <li>MS hosted agents for your jobs</li>
  <li>Self hosted agents where you install the agent daemon</li>
  </ul>
  <p>With Azure itself you can use ARM Template to build up machines on demand. It is pretty easy to use arm within <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/apps/cd/azure/deploy-arm-template?view=azure-devops" rel="nofollow noreferrer">your pipeline</a>.</p>
  <p>In my opinion it would be great, if I could build an agent-machine within a pipeline with an arm template and use that agent for the further build process. With that solution we could make use of all the cool pipeline-yaml-features (scripts, conditions, ....).</p>
  <p>Is there a solution that connects azure devops with azure in that way?</p>