Skip to content

Commit e62189f

Browse files
committed
incorporate feedback
1 parent d8919ad commit e62189f

File tree

1 file changed

+4
-4
lines changed
  • articles/azure-resource-manager/bicep

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Bicep is a declarative language, which means the elements can appear in any orde
1919
A Bicep file has the following elements.
2020

2121
```bicep
22-
metadata <metadata-name> = {}
22+
metadata <metadata-name> = ANY
2323
2424
targetScope = '<scope>'
2525
@@ -45,7 +45,7 @@ output <output-name> <output-data-type> = <output-value>
4545
The following example shows an implementation of these elements.
4646

4747
```bicep
48-
metadata bicepDescription = {
48+
metadata description = {
4949
description: 'Creates a storage account and a web app'
5050
}
5151
@@ -82,7 +82,7 @@ module webModule './webApp.bicep' = {
8282

8383
## Metadata
8484

85-
Metadata in Bicep is an untyped object that can be included in Bicep files. It allows you to provide supplementary information about your Bicep files, including details like its name, description, author, creation date, and more.
85+
Metadata in Bicep is an untyped value that can be included in Bicep files. It allows you to provide supplementary information about your Bicep files, including details like its name, description, author, creation date, and more.
8686

8787
When assigning identifiers for metadata, [`param`](#parameters), [`var`](#variables), [`resource`](#resources), [`module`](#modules), and [`output`](#outputs), it's important to note that they share the same namespace as [decorators](./parameters.md#decorators) and [Bicep functions](./bicep-functions.md). Therefore, using the same identifier for metadata and a decorator (or a Bicep function) can cause confusion. It's advisable to choose a unique identifier that doesn't conflict with a decorator or a function. For instance, instead of using **description** as the metadata identifier, you could use **bicepDescription** to differentiate it from the **@description** decorator in the preceding example.
8888

@@ -121,7 +121,7 @@ For more information, see [Parameters in Bicep](./parameters.md).
121121

122122
## Parameter decorators
123123

124-
You can add one or more decorators for each parameter. These decorators describe the parameter and define constraints for the values that are passed in. The following example shows one decorator but many others are available.
124+
You can add one or more decorators for each parameter. These decorators describe the parameter and define constraints for the values that are passed in. The following example shows one decorator but many others are available.
125125

126126
```bicep
127127
@allowed([

0 commit comments

Comments
 (0)