BicepValueFactoryProxy.Conditional

Method
📦 Aspire.Hosting.Azure.Provisioning v17.0.0-preview.1.26567.5
type BicepValueFactoryProxy interface {
// ... omitted for brevity
Conditional(
condition BicepValueProxy,
consequent BicepValueProxy,
alternate BicepValueProxy,
) BicepValueProxy
}

Signature

methodConditional
Creates a conditional Bicep expression.
Conditional(
condition BicepValueProxy,
consequent BicepValueProxy,
alternate BicepValueProxy,
) BicepValueProxy
conditionBicepValueProxyThe condition expression.
consequentBicepValueProxyThe value used when the condition is true.
alternateBicepValueProxyThe value used when the condition is false.
BicepValueProxy

A conditional Bicep expression.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: