Skip to content

Commit b073cae

Browse files
committed
property copy must be top level
1 parent f8aac41 commit b073cae

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/azure-resource-manager/templates/copy-properties.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
title: Define multiple instances of a property
33
description: Use copy operation in an Azure Resource Manager template to iterate multiple times when creating a property on a resource.
44
ms.topic: conceptual
5-
ms.date: 04/14/2020
5+
ms.date: 09/15/2020
66
---
77
# Property iteration in ARM templates
88

9-
This article shows you how to create more than one instance of a property in your Azure Resource Manager (ARM) template. By adding the **copy** element to the properties section of a resource in your template, you can dynamically set the number of items for a property during deployment. You also avoid having to repeat template syntax.
9+
This article shows you how to create more than one instance of a property in your Azure Resource Manager template (ARM template). By adding the **copy** element to the properties section of a resource in your template, you can dynamically set the number of items for a property during deployment. You also avoid having to repeat template syntax.
10+
11+
You can only use copy with top-level resources, even when applying copy to a property. To learn about changing a child resource to a top-level resource, see [Iteration for a child resource](copy-resources.md#iteration-for-a-child-resource).
1012

1113
You can also use copy with [resources](copy-resources.md), [variables](copy-variables.md), and [outputs](copy-outputs.md).
1214

0 commit comments

Comments
 (0)