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 nonexistent property of a type.
Description
Cannot access properties of type <type-name>. A <type-name> type is required.
Level
Error
Examples
The following example raises the diagnostic because string.bar isn't defined:
type foo = string.bar
You can fix the diagnostic by removing the reference:
type foo = string
Next steps
For more information about Bicep diagnostics, see Bicep core diagnostics.