Skip to content

Commit 77ac0a2

Browse files
committed
update
1 parent c9e63b9 commit 77ac0a2

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

articles/azure-resource-manager/bicep/decompile.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Decompile a JSON Azure Resource Manager template to Bicep
33
description: Learn the commands for decompiling JSON Azure Resource Manager templates to Bicep files.
44
ms.topic: how-to
5-
ms.date: 01/10/2025
5+
ms.date: 02/14/2025
66
ms.custom: devx-track-bicep, devx-track-arm-template
77
---
88

@@ -167,6 +167,9 @@ output storageAccountName string = uniqueStorageName
167167

168168
## Export template and convert
169169

170+
> [!NOTE]
171+
> You can export Bicep files by using the Azure portal. For more information, see [Use Azure portal to export a Bicep file](./export-bicep-portal.md).
172+
170173
You can export the template for a resource group and then pass it directly to the `decompile` command. The following examples show how to decompile an exported template:
171174

172175
# [Azure CLI](#tab/azure-cli)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ You can export the template that was used to deploy existing resources. The temp
7272

7373
## Next steps
7474

75+
* Learn how to export Bicep files with the [Azure portal](../bicpe/export-bicep-portal.md).
7576
* 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).
7677
* 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.3 KB
Loading

includes/resource-manager-export-template-choose-option.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ There are two ways to export a template:
1212

1313
* **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.
1414

15-
* **Save from history**. This option supports exporting only ARM JSON templates. It retrieves an exact copy of the template used for deployment, allowing you to select a specific deployment from the deployment history. After exporting, you can [decompile](./decompile.md) them into to Bicep files.
15+
* **Save from history**. This option supports exporting only ARM JSON templates. It retrieves an exact copy of the template used for deployment, allowing you to select a specific deployment from the deployment history. After exporting, you can [decompile](../articles/azure-resource-manager/bicep/decompile.md) them into to Bicep files.
1616

1717
Depending on the option you choose, the exported templates have different qualities.
1818

0 commit comments

Comments
 (0)