Skip to content

Commit aa92ad0

Browse files
committed
update
1 parent 848647d commit aa92ad0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/azure-resource-manager/bicep/user-defined-data-types.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,18 +232,18 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-04-01' = {
232232

233233
Decorators are written in the format `@expression` and are placed above the declarations of the user-defined data type. The following table shows the available decorators for user-defined data types.
234234

235-
| Decorator | Argument | Description |
235+
| Decorator | Apply to | Argument | Description |
236236
| --------- | ----------- | ------- |
237-
| [description](#description) | string | Provide descriptions for the user-defined data type. |
238-
| [discriminator](#discriminator) | string | Use this decorator to ensure the correct subclass is identified and managed. |
239-
| [export](#export) | none | Indicates that the user-defined data type is available for import by another Bicep file. |
237+
| [description](#description) | all |string | Provide descriptions for the user-defined data type. |
238+
| [discriminator](#discriminator) | object | string | Use this decorator to ensure the correct subclass is identified and managed. |
239+
| [export](#export) | all | none | Indicates that the user-defined data type is available for import by another Bicep file. |
240240
| [maxLength](#length-constraints) | array, string | int | The maximum length for string and array data types. The value is inclusive. |
241241
| [maxValue](#integer-constraints) | int | int | The maximum value for the integer data types. This value is inclusive. |
242242
| [metadata](#metadata) | all | object | Custom properties to apply to the data types. Can include a description property that is equivalent to the description decorator. |
243243
| [minLength](#length-constraints) | array, string | int | The minimum length for string and array data types. The value is inclusive. |
244244
| [minValue](#integer-constraints) | int | int | The minimum value for the integer data types. This value is inclusive. |
245-
| [sealed](#sealed) | none | Elevate [BCP089](./diagnostics/bcp089.md) from a warning to an error when a property name of a use-define data type is likely a typo. For more information, see [Elevate error level](#elevate-error-level).|
246-
| [secure](#secure-parameters) | string, object | none | Marks the types as secure. The value for a secure type isn't saved to the deployment history and isn't logged. For more information, see [Secure strings and objects](data-types.md#secure-strings-and-objects). |
245+
| [sealed](#sealed) | object | none | Elevate [BCP089](./diagnostics/bcp089.md) from a warning to an error when a property name of a use-define data type is likely a typo. For more information, see [Elevate error level](#elevate-error-level).|
246+
| [secure](#secure-types) | string, object | none | Marks the types as secure. The value for a secure type isn't saved to the deployment history and isn't logged. For more information, see [Secure strings and objects](data-types.md#secure-strings-and-objects). |
247247

248248
Decorators are in the [sys namespace](bicep-functions.md#namespaces-for-functions). If you need to differentiate a decorator from another item with the same name, preface the decorator with `sys`. For example, if your Bicep file includes a variable named `description`, you must add the sys namespace when using the **description** decorator.
249249

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Decorators are written in the format `@expression` and are placed above function
110110
| --------- | ----------- | ------- |
111111
| [description](#description) | string | Provide descriptions for the function. |
112112
| [export](#export) | none | Indicates that the function is available for import by another Bicep file. |
113-
| [metadata](#metadata) | all | object | Custom properties to apply to the function. Can include a description property that is equivalent to the description decorator. |
113+
| [metadata](#metadata) | object | Custom properties to apply to the function. Can include a description property that is equivalent to the description decorator. |
114114

115115
Decorators are in the [sys namespace](bicep-functions.md#namespaces-for-functions). If you need to differentiate a decorator from another item with the same name, preface the decorator with `sys`. For example, if your Bicep file includes a variable named `description`, you must add the sys namespace when using the **description** decorator.
116116

0 commit comments

Comments
 (0)