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
I'm just looking at the ObjectPropertyFlags on various types and I feel like most of them are relatively self-explanatory (although if you've got time I'd love a description of all of them), but I'm curious about DeployTimeConstant -- what does that signify?
In our runtime, expressions are evaluated at the beginning of the deployment and during the deployment of each individual resource. The latter part is used to evaluate functions like listKeys() or reference() because the return value may depend on resources that were deployed by the same template.
If a property of a resource has the DeployTimeConstant flag, it means that expressions containing those functions cannot be assigned to the property. In other words, the expression has to evaluate upfront without dependencies on other resources and remains a constant during the deployment of the resource.
I'm just looking at the
ObjectPropertyFlags
on various types and I feel like most of them are relatively self-explanatory (although if you've got time I'd love a description of all of them), but I'm curious aboutDeployTimeConstant
-- what does that signify?For reference I'm talking about this enum:
bicep-types-az/src/Bicep.SerializedTypes/Concrete/ObjectType.cs
Lines 17 to 29 in 4148b8d
The text was updated successfully, but these errors were encountered: