ARM Templates for non Microsoft ARM templates

Cairn 21 Reputation points
2021-04-04T13:53:27.413+00:00

Is there a way in which you can download the ARM template schema for a non Microsoft resource (Marketplace items), so that I can include them within my CI/CD Infrastructure as Code templates

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

2 answers

Sort by: Most helpful
  1. BhargaviAnnadevara-MSFT 5,446 Reputation points
    2021-04-05T17:10:40.18+00:00

    @Cairn Yes, you can. Currently, there are two ways to export a template:

    • Export from resource group or resource: This option generates a new template from existing resources. The exported template is a "snapshot" of the current state of the resource group. You can export an entire resource group or specific resources within that resource group.
    • Export before deployment or from history: This option retrieves an exact copy of a template used for deployment.

    Further, Resource Manager enables you to pick one or more resources for exporting to a template. You can focus on exactly the resources you need in the template and customize or reuse it accordingly. You can also use Azure CLI, Azure PowerShell, or REST API.

    This article explains each option in detail: Single and multi-resource export to a template in Azure portal

    Please also note the known limitations as well. Do let us know if you have further questions.


  2. BhargaviAnnadevara-MSFT 5,446 Reputation points
    2021-04-06T04:30:04.453+00:00

    @Cairn Apologies if my previous response wasn't clear. Yes, by template, I was referring to the Azure Resource Manager Template containing the resource schema and properties. :)

    For example, to export the ARM template for an Ubuntu 18.04-LTS Server, the following options are available:

    Hope this helps. Do let us know if this does not satisfy your requirement, or if you are looking for something different.