Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This diagnostic occurs when you reference a property that isn't defined in the data type or the user-defined data type.
The type <type-name> does not contain property <property-name>.
Warning / Error
The following example raises the diagnostic object doesn't contain a property called bar:
type foo = object.bar
You can fix the diagnostic by removing the property:
type foo = object
For more information about Bicep diagnostics, see Bicep core diagnostics.