In this article we will see how you can use “Schedule release trigger” feature of Azure Release Pipeline to schedule deletion & creation of the VM and configuration of VSTS build agent.
Create Self Hosted Linux Build agent using release pipeline (ARM template) and override template parameter values using variables and scope for release pipeline.
Create Self Hosted Windows Build agent using release pipeline (ARM template).
Using ARM template you can create new WLinux VM in a new/existing vNet, storage account, nic, and public ip with the new compute stack then install the Visual Studio Team Services build agent and all dependencies.
Fix errors observed during deployment of resources to Azure using ARM template via VS 2017