Skip to content

Commit 2a1ed68

Browse files
Merge pull request #212906 from mumian/0928-parameters-limit
add limits
2 parents a86b7ea + b965380 commit 2a1ed68

File tree

9 files changed

+26
-18
lines changed

9 files changed

+26
-18
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
title: Outputs in Bicep
33
description: Describes how to define output values in Bicep
44
ms.topic: conceptual
5-
ms.date: 09/16/2022
5+
ms.date: 09/28/2022
66
---
77

88
# Outputs in Bicep
99

10-
This article describes how to define output values in a Bicep file. You use outputs when you need to return values from the deployed resources.
10+
This article describes how to define output values in a Bicep file. You use outputs when you need to return values from the deployed resources. You are limited to 64 outputs in a Bicep file. For more information, see [Template limits](../templates/best-practices.md#template-limits).
1111

1212
## Define output values
1313

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes how to define parameters in a Bicep file.
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 09/06/2022
7+
ms.date: 09/28/2022
88
---
99

1010
# Parameters in Bicep
@@ -15,7 +15,7 @@ Resource Manager resolves parameter values before starting the deployment operat
1515

1616
Each parameter must be set to one of the [data types](data-types.md).
1717

18-
You are limited to 256 parameters. For more information, see [Template limits](../templates/best-practices.md#template-limits).
18+
You are limited to 256 parameters in a Bicep file. For more information, see [Template limits](../templates/best-practices.md#template-limits).
1919

2020
For parameter best practices, see [Parameters](./best-practices.md#parameters).
2121

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
title: Declare resources in Bicep
33
description: Describes how to declare resources to deploy in Bicep.
44
ms.topic: conceptual
5-
ms.date: 02/04/2022
5+
ms.date: 09/28/2022
66
---
77

88
# Resource declaration in Bicep
99

10-
This article describes the syntax you use to add a resource to your Bicep file.
10+
This article describes the syntax you use to add a resource to your Bicep file. You are limited to 800 resources in a Bicep file. For more information, see [Template limits](../templates/best-practices.md#template-limits).
1111

1212
## Declaration
1313

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes how to define variables in Bicep
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 11/12/2021
7+
ms.date: 09/28/2022
88
---
99

1010
# Variables in Bicep
@@ -13,6 +13,8 @@ This article describes how to define and use variables in your Bicep file. You u
1313

1414
Resource Manager resolves variables before starting the deployment operations. Wherever the variable is used in the Bicep file, Resource Manager replaces it with the resolved value.
1515

16+
You are limited to 256 variables in a Bicep file. For more information, see [Template limits](../templates/best-practices.md#template-limits).
17+
1618
## Define variable
1719

1820
The syntax for defining a variable is:

articles/azure-resource-manager/templates/outputs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Outputs in templates
33
description: Describes how to define output values in an Azure Resource Manager template (ARM template).
44
ms.topic: conceptual
5-
ms.date: 09/16/2022
5+
ms.date: 09/28/2022
66
ms.custom: devx-track-azurepowershell
77
---
88

@@ -15,6 +15,8 @@ The format of each output value must resolve to one of the [data types](data-typ
1515
> [!TIP]
1616
> We recommend [Bicep](../bicep/overview.md) because it offers the same capabilities as ARM templates and the syntax is easier to use. To learn more, see [outputs](../bicep/outputs.md).
1717
18+
You are limited to 64 outputs in a template. For more information, see [Template limits](./best-practices.md#template-limits).
19+
1820
## Define output values
1921

2022
The following example shows how to return a property from a deployed resource.

articles/azure-resource-manager/templates/parameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Parameters in templates
33
description: Describes how to define parameters in an Azure Resource Manager template (ARM template).
44
ms.topic: conceptual
5-
ms.date: 09/06/2022
5+
ms.date: 09/28/2022
66
---
77

88
# Parameters in ARM templates
@@ -16,9 +16,9 @@ Each parameter must be set to one of the [data types](data-types.md).
1616
> [!TIP]
1717
> We recommend [Bicep](../bicep/overview.md) because it offers the same capabilities as ARM templates and the syntax is easier to use. To learn more, see [parameters](../bicep/parameters.md).
1818
19-
You are limited to 256 parameters. For more information, see [Template limits](./best-practices.md#template-limits).
19+
You are limited to 256 parameters in a template. For more information, see [Template limits](./best-practices.md#template-limits).
2020

21-
For parameter best practices, see [Parameters](./best-practices.md#parameters).
21+
For parameter best practices, see [Parameters](./best-practices.md#parameters).
2222

2323
## Minimal declaration
2424

articles/azure-resource-manager/templates/resource-declaration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Declare resources in templates
33
description: Describes how to declare resources to deploy in an Azure Resource Manager template (ARM template).
44
ms.topic: conceptual
5-
ms.date: 01/19/2022
5+
ms.date: 09/28/2022
66
---
77

88
# Resource declaration in ARM templates
@@ -12,6 +12,8 @@ To deploy a resource through an Azure Resource Manager template (ARM template),
1212
> [!TIP]
1313
> We recommend [Bicep](../bicep/overview.md) because it offers the same capabilities as ARM templates and the syntax is easier to use. To learn more, see [resource declaration](../bicep/resource-declaration.md).
1414
15+
You are limited to 800 resources in a template. For more information, see [Template limits](./best-practices.md#template-limits).
16+
1517
## Set resource type and version
1618

1719
When adding a resource to your template, start by setting the resource type and API version. These values determine the other properties that are available for the resource.

articles/azure-resource-manager/templates/syntax.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Template structure and syntax
33
description: Describes the structure and properties of Azure Resource Manager templates (ARM templates) using declarative JSON syntax.
44
ms.topic: conceptual
5-
ms.date: 07/18/2022
5+
ms.date: 09/28/2022
66
---
77

88
# Understand the structure and syntax of ARM templates
@@ -48,7 +48,7 @@ Each element has properties you can set. This article describes the sections of
4848

4949
## Parameters
5050

51-
In the `parameters` section of the template, you specify which values you can input when deploying the resources. You're limited to 256 parameters in a template. You can reduce the number of parameters by using objects that contain multiple properties.
51+
In the `parameters` section of the template, you specify which values you can input when deploying the resources. You're limited to [256 parameters](../management/azure-subscription-service-limits.md#general-limits) in a template. You can reduce the number of parameters by using objects that contain multiple properties.
5252

5353
The available properties for a parameter are:
5454

@@ -87,7 +87,7 @@ In Bicep, see [parameters](../bicep/file.md#parameters).
8787

8888
## Variables
8989

90-
In the `variables` section, you construct values that can be used throughout your template. You don't need to define variables, but they often simplify your template by reducing complex expressions. The format of each variable matches one of the [data types](data-types.md).
90+
In the `variables` section, you construct values that can be used throughout your template. You don't need to define variables, but they often simplify your template by reducing complex expressions. The format of each variable matches one of the [data types](data-types.md). You are limited to [256 variables](../management/azure-subscription-service-limits.md#general-limits) in a template.
9191

9292
The following example shows the available options for defining a variable:
9393

@@ -171,7 +171,7 @@ In Bicep, user-defined functions aren't supported. Bicep does support a variety
171171

172172
## Resources
173173

174-
In the `resources` section, you define the resources that are deployed or updated.
174+
In the `resources` section, you define the resources that are deployed or updated. You are limited to [800 resources](../management/azure-subscription-service-limits.md#general-limits) in a template.
175175

176176
You define resources with the following structure:
177177

@@ -259,7 +259,7 @@ In Bicep, see [resources](../bicep/file.md#resources).
259259

260260
## Outputs
261261

262-
In the `outputs` section, you specify values that are returned from deployment. Typically, you return values from resources that were deployed.
262+
In the `outputs` section, you specify values that are returned from deployment. Typically, you return values from resources that were deployed. You are limited to [64 outputs](../management/azure-subscription-service-limits.md#general-limits) in a template.
263263

264264
The following example shows the structure of an output definition:
265265

articles/azure-resource-manager/templates/variables.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Variables in templates
33
description: Describes how to define variables in an Azure Resource Manager template (ARM template).
44
ms.topic: conceptual
5-
ms.date: 01/19/2022
5+
ms.date: 09/28/2022
66
---
77

88
# Variables in ARM templates
@@ -14,6 +14,8 @@ Resource Manager resolves variables before starting the deployment operations. W
1414
> [!TIP]
1515
> We recommend [Bicep](../bicep/overview.md) because it offers the same capabilities as ARM templates and the syntax is easier to use. To learn more, see [variables](../bicep/variables.md).
1616
17+
You are limited to 256 variables in a template. For more information, see [Template limits](./best-practices.md#template-limits).
18+
1719
## Define variable
1820

1921
When defining a variable, you don't specify a [data type](data-types.md) for the variable. Instead provide a value or template expression. The variable type is inferred from the resolved value. The following example sets a variable to a string.

0 commit comments

Comments
 (0)