How to create a specific Dev/Test Lab environment using ARM Template?

Luis Simoes 1 Reputation point
2021-02-10T10:45:32.693+00:00

I am trying to automate the creation of Dev/Test Lab environments using ARM Templates. Currently my environments options are stored in GitHub and lets say I have a specific environment called "Env1" that deploys PaaS services.

I wanted to use ARM Templates to trigger the creation of the environment called "Env1" passing all the required parameters.

How can I achieve this? I was only able to find examples in Powershell.

Thank you

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
259 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 12,121 Reputation points
    2021-02-11T15:53:45.18+00:00

    Hello @Luis Simoes - Thanks for reaching out.

    Automation is definitely possible using the API's and ARM templates. We might not have custom scripts available to do so.

    Did you take a look at these docs - Create-lab-windows-vm-template

    documentation on REST API's - DevTestLab

    Hope this helps.

    If the above response helped, please "Accept as Answer" so it can be beneficial to the community.

    0 comments No comments