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.
ARM
How to create self hosted Linux Build Agent using azure release pipeline (ARM template)
Create Self Hosted Linux Build agent using release pipeline (ARM template) and override template parameter values using variables and scope for release pipeline.
How to create self hosted Windows Build Agent using azure release pipeline (ARM template)
Create Self Hosted Windows Build agent using release pipeline (ARM template).
How to create Linux (Ubuntu) VSTS build agent using ARM template in Visual studio 2017
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
Fix errors observed during deployment of resources to Azure using ARM template via VS 2017