Skip to content

Commit 4a541bf

Browse files
authored
Merge pull request #277030 from mumian/0603-import-export
Bicep import/export ga
2 parents b3d5023 + f1a7f90 commit 4a541bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: Imports in Bicep
33
description: Describes how to import shared functionality and namespaces in Bicep.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 11/03/2023
6+
ms.date: 06/03/2024
77
---
88

99
# Imports in Bicep
1010

1111
This article describes the syntax you use to export and import shared functionality, as well as namespaces for Bicep extensibility providers.
1212

13-
## Exporting types, variables and functions (Preview)
13+
## Exporting types, variables and functions
1414

1515
The `@export()` decorator is used to indicate that a given statement can be imported by another file. This decorator is only valid on type, variable and function statements. Variable statements marked with `@export()` must be compile-time constants.
1616

@@ -21,7 +21,7 @@ The syntax for exporting functionality for use in other Bicep files is:
2121
<statement_to_export>
2222
```
2323

24-
## Import types, variables and functions (Preview)
24+
## Import types, variables and functions
2525

2626
The syntax for importing functionality from another Bicep file is:
2727

@@ -43,7 +43,7 @@ import * as <alias_name> from '<bicep_file_name>'
4343

4444
You can mix and match the preceding syntaxes. To access imported symbols using the wildcard syntax, you must use the `.` operator: `<alias_name>.<exported_symbol>`.
4545

46-
Only statements that have been [exported](#exporting-types-variables-and-functions-preview) in the file being referenced are available to be imported.
46+
Only statements that have been [exported](#exporting-types-variables-and-functions) in the file being referenced are available to be imported.
4747

4848
Functionality that has been imported from another file can be used without restrictions. For example, imported variables can be used anywhere a variable declared in-file would normally be valid.
4949

0 commit comments

Comments
 (0)