Skip to content

Commit feae8e2

Browse files
committed
update
1 parent 5d3a7c5 commit feae8e2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

articles/azure-resource-manager/bicep/user-defined-functions.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,7 @@ The output from the preceding example is:
9999
| ---- | ---- | ----- |
100100
| elements | positiveInt | 3 |
101101

102-
As of [Bicep CLI version 0.30.X](https://github.com/Azure/bicep/releases/tag/v0.30.3), user-defined functions can access variables defined in the same Bicep file.
103-
104-
## Example: Accessing variables in a user-defined function
105-
106-
The following example demonstrates how a user-defined function can reference a variable:
102+
As of [Bicep CLI version 0.30.X](https://github.com/Azure/bicep/releases/tag/v0.30.3), user-defined functions can access variables defined in the same Bicep file. The following example demonstrates how a user-defined function can reference a variable:
107103

108104
```bicep
109105
var greetingPrefix = 'Hello'
@@ -145,8 +141,7 @@ The output from the preceding example is:
145141
| ------------ | ------ | --------------- |
146142
| resourceName | String | Contoso-storage |
147143

148-
> [!NOTE]
149-
> For more details on importing variables, see [Export variables, types, and functions](./bicep-import.md#export-variables-types-and-functions).
144+
For more information on importing variables, see [Export variables, types, and functions](./bicep-import.md#export-variables-types-and-functions).
150145

151146
## Use decorators
152147

0 commit comments

Comments
 (0)