Example 1:  Exporting a Resource Group to an ARM Template

To export a resource group, perform the following steps:

  1. The first example is about the export of a complete resource group, that is a resource container and any number of other resources. To export a resource group, perform the following steps: In the navigation section of the Resource groups dashboard, click on Automation script, as shown:
  1. Now you can see the resource group template. Click on Download to save the template to finalize your work:
  1. In addition to the template in the JSON data format, special scripts (or classes) are also provided for Azure CLI, Azure PowerShell, NET, or Ruby. You will see this by pressing one of the links in the navigation area. These scripts help you to deploy the template:

Not all resource types support the export template function. If your resource group only contains a storage account, a virtual machine, or a virtual network, you will not see an error. However, if you have created other resource types, you may see an error stating that there is a problem with the export.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.204.201