You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main.bicep(195,18) : Warning BCP036: The property "minCapacity" expected a value of type "int | null" but the provided value is of type "string". If this is a resource type definition inaccuracy, report it using https://aka.ms/bicep-type-issues. [https://aka.ms/bicep/core-diagnostics#BCP036]
Resource Type
Microsoft.Sql/servers/databases
Api Version
2023-05-01-preview
Issue Type
Inaccurate property type(s)
Other Notes
The property type is indicated as json('decimal-as-string') in https://learn.microsoft.com/en-us/azure/templates/microsoft.sql/servers/databases?pivots=deployment-language-bicep.
I have it defined as '0.5', and I have the warning
Bicep Repro
main.bicep extract:
main.bicepparam extract:
Confirm
The text was updated successfully, but these errors were encountered: