Bilješka
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati da se prijavite ili promijenite direktorije.
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati promijeniti direktorije.
This diagnostic occurs when the name specified is a type, but it's being used as a value.
Description
<name> refers to a type but is being used as a value here.
Level
Error
Solution
Use a name of a value.
Examples
The following example raises the diagnostic because bar is a name of a user-defined data type, not a value:
type bar = 'white'
var foo = bar
You can fix the diagnostic by assigning a value to the variable foo:
var bar = 'white'
var foo = bar
Next steps
For more information about Bicep diagnostics, see Bicep core diagnostics.