You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/export-template-portal.md
+6-21Lines changed: 6 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Export template in Azure portal
3
3
description: Use Azure portal to export an Azure Resource Manager template from resources in your subscription.
4
4
ms.topic: how-to
5
5
ms.custom: devx-track-arm-template
6
-
ms.date: 03/20/2024
6
+
ms.date: 10/16/2024
7
7
---
8
8
9
9
# Use Azure portal to export a template
@@ -26,12 +26,11 @@ To export one or more resources from a resource group:
26
26
27
27
1. Select the resource group that contains the resources you want to export.
28
28
29
-
1. Select one or more resources by selecting the checkboxes. To select all, select the checkbox on the left of **Name**. The **Export template**menu item only becomes enabled after you've selected at least one resource.
29
+
1. Select one or more resources by selecting the checkboxes. To select all, select the checkbox on the left of **Name**. The **Export template**from the top menu only becomes enabled after you've selected at least one resource.
30
30
31
31
:::image type="content" source="./media/export-template-portal/select-all-resources.png" alt-text="Screenshot of selecting all resources for export in Azure portal.":::
32
32
33
-
On the screenshot, only the storage account is selected.
34
-
1. Select **Export template**.
33
+
1. Select **Export template** from the top menu. The **Export template** from the left menu exports all the resources in the group to a template.
35
34
36
35
1. The exported template is displayed, and is available to download and deploy.
37
36
@@ -53,20 +52,6 @@ To export one resource:
53
52
54
53
1. The exported template is displayed, and is available to download and deploy. The template only contains the single resource. **Include parameters** is selected by default. When selected, all template parameters are included when the template is generated. If you’d like to author your own parameters, toggle this checkbox to not include them.
55
54
56
-
## Download template before deployment
57
-
58
-
The portal has the option of downloading a template before deploying it. This option isn't available through PowerShell or Azure CLI.
59
-
60
-
1. Select the Azure service you want to deploy.
61
-
62
-
1. Fill in the values for the new service.
63
-
64
-
1. After passing validation, but before starting the deployment, select **Download a template for automation**.
65
-
66
-
:::image type="content" source="./media/export-template-portal/download-before-deployment.png" alt-text="Screenshot of the option to download a template before deployment in Azure portal.":::
67
-
68
-
1. The template is displayed and is available for download and deploy.
69
-
70
55
## Export template after deployment
71
56
72
57
You can export the template that was used to deploy existing resources. The template you get is exactly the one that was used for deployment.
@@ -87,6 +72,6 @@ You can export the template that was used to deploy existing resources. The temp
87
72
88
73
## Next steps
89
74
90
-
- Learn how to export templates with [Azure CLI](export-template-cli.md), [Azure PowerShell](export-template-powershell.md), or [REST API](/rest/api/resources/resourcegroups/exporttemplate).
91
-
- To learn the Resource Manager template syntax, see [Understand the structure and syntax of Azure Resource Manager templates](./syntax.md).
92
-
- To learn how to develop templates, see the [step-by-step tutorials](../index.yml).
75
+
* Learn how to export templates with [Azure CLI](export-template-cli.md), [Azure PowerShell](export-template-powershell.md), or [REST API](/rest/api/resources/resourcegroups/exporttemplate).
76
+
* To learn the Resource Manager template syntax, see [Understand the structure and syntax of Azure Resource Manager templates](./syntax.md).
77
+
* To learn how to develop templates, see the [step-by-step tutorials](../index.yml).
0 commit comments