Skip to content

Commit 9ddd534

Browse files
authored
Merge pull request #288366 from mumian/1014-export-templates
Refresh the export articles
2 parents 8c3c066 + 0976065 commit 9ddd534

File tree

8 files changed

+9
-21
lines changed

8 files changed

+9
-21
lines changed

articles/azure-resource-manager/templates/export-template-portal.md

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Export template in Azure portal
33
description: Use Azure portal to export an Azure Resource Manager template from resources in your subscription.
44
ms.topic: how-to
55
ms.custom: devx-track-arm-template
6-
ms.date: 03/20/2024
6+
ms.date: 10/16/2024
77
---
88

99
# Use Azure portal to export a template
@@ -26,12 +26,11 @@ To export one or more resources from a resource group:
2626

2727
1. Select the resource group that contains the resources you want to export.
2828

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.
3030

3131
:::image type="content" source="./media/export-template-portal/select-all-resources.png" alt-text="Screenshot of selecting all resources for export in Azure portal.":::
3232

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.
3534

3635
1. The exported template is displayed, and is available to download and deploy.
3736

@@ -53,20 +52,6 @@ To export one resource:
5352

5453
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.
5554

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-
7055
## Export template after deployment
7156

7257
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
8772

8873
## Next steps
8974

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).
-13.6 KB
Loading
-30.7 KB
Loading
8.28 KB
Loading
14.3 KB
Loading
10.6 KB
Loading
26.2 KB
Loading

articles/azure-resource-manager/templates/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,13 @@
420420
- name: Export templates
421421
items:
422422
- name: Portal
423+
displayName: export
423424
href: export-template-portal.md
424425
- name: Azure CLI
426+
displayName: export
425427
href: export-template-cli.md
426428
- name: PowerShell
429+
displayName: export
427430
href: export-template-powershell.md
428431
- name: Test templates
429432
items:

0 commit comments

Comments
 (0)