Skip to content

Commit 11bdaed

Browse files
(AzureCXP) MicrosoftDocs/azure-docs#106362
1 parent f4f107d commit 11bdaed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ The valid type expressions include:
8181
8282
Each property in an object consists of key and value. The key and value are separated by a colon `:`. The key may be any string (values that would not be a valid identifier must be enclosed in quotes), and the value may be any type syntax expression.
8383
84-
Properties are required unless they have an optionality marker `?` between the property name and the colon. For example, the `sku` property in the following example is optional:
84+
Properties are required unless they have an optionality marker `?` after the property value. For example, the `sku` property in the following example is optional:
8585
8686
```bicep
8787
type storageAccountConfigType = {
8888
name: string
89-
sku?: string
89+
sku: string?
9090
}
9191
```
9292
@@ -97,7 +97,7 @@ The valid type expressions include:
9797
```bicep
9898
type myObjectType = {
9999
stringProp: string
100-
recursiveProp?: myObjectType
100+
recursiveProp: myObjectType?
101101
}
102102
```
103103

0 commit comments

Comments
 (0)