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/template-syntax.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,12 +185,6 @@ You define resources with the following structure:
185
185
"name": "<name-of-the-resource>",
186
186
"comments": "<your-reference-notes>",
187
187
"location": "<location-of-resource>",
188
-
"copy": {
189
-
"name": "<name-of-copy-loop>",
190
-
"count": <number-of-iterations>,
191
-
"mode": "<serial-or-parallel>",
192
-
"batchSize": <number-to-deploy-serially>
193
-
},
194
188
"dependsOn": [
195
189
"<array-of-related-resource-names>"
196
190
],
@@ -206,6 +200,12 @@ You define resources with the following structure:
206
200
"capacity": <sku-capacity>
207
201
},
208
202
"kind": "<type-of-resource>",
203
+
"copy": {
204
+
"name": "<name-of-copy-loop>",
205
+
"count": <number-of-iterations>,
206
+
"mode": "<serial-or-parallel>",
207
+
"batchSize": <number-to-deploy-serially>
208
+
},
209
209
"plan": {
210
210
"name": "<plan-name>",
211
211
"promotionCode": "<plan-promotion-code>",
@@ -240,9 +240,9 @@ You define resources with the following structure:
240
240
| location |Varies |Supported geo-locations of the provided resource. You can select any of the available locations, but typically it makes sense to pick one that is close to your users. Usually, it also makes sense to place resources that interact with each other in the same region. Most resource types require a location, but some types (such as a role assignment) don't require a location. See [Set resource location](resource-location.md). |
241
241
| dependsOn |No |Resources that must be deployed before this resource is deployed. Resource Manager evaluates the dependencies between resources and deploys them in the correct order. When resources aren't dependent on each other, they're deployed in parallel. The value can be a comma-separated list of a resource names or resource unique identifiers. Only list resources that are deployed in this template. Resources that aren't defined in this template must already exist. Avoid adding unnecessary dependencies as they can slow your deployment and create circular dependencies. For guidance on setting dependencies, see [Defining dependencies in Azure Resource Manager templates](define-resource-dependency.md). |
242
242
| tags |No |Tags that are associated with the resource. Apply tags to logically organize resources across your subscription. |
243
-
| copy |No |If more than one instance is needed, the number of resources to create. The default mode is parallel. Specify serial mode when you don't want all or the resources to deploy at the same time. For more information, see [Create several instances of resources in Azure Resource Manager](create-multiple-instances.md). |
244
243
| sku | No | Some resources allow values that define the SKU to deploy. For example, you can specify the type of redundancy for a storage account. |
245
244
| kind | No | Some resources allow a value that defines the type of resource you deploy. For example, you can specify the type of Cosmos DB to create. |
245
+
| copy |No |If more than one instance is needed, the number of resources to create. The default mode is parallel. Specify serial mode when you don't want all or the resources to deploy at the same time. For more information, see [Create several instances of resources in Azure Resource Manager](create-multiple-instances.md). |
246
246
| plan | No | Some resources allow values that define the plan to deploy. For example, you can specify the marketplace image for a virtual machine. |
247
247
| properties |No |Resource-specific configuration settings. The values for the properties are the same as the values you provide in the request body for the REST API operation (PUT method) to create the resource. You can also specify a copy array to create several instances of a property. To determine available values, see [template reference](/azure/templates/). |
248
248
| resources |No |Child resources that depend on the resource being defined. Only provide resource types that are permitted by the schema of the parent resource. Dependency on the parent resource isn't implied. You must explicitly define that dependency. See [Set name and type for child resources](child-resource-name-type.md). |
0 commit comments