Bicep diagnostic code - BCP052
This diagnostic occurs when you reference a property that isn't defined in the data type or the user-defined data type.
Description
The type <type-name> does not contain property <property-name>.
Level
Warning / Error
Examples
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
Next steps
For more information about Bicep diagnostics, see Bicep core diagnostics.