BicepValueFactoryProxy.conditional

Method
📦 Aspire.Hosting.Azure.Provisioning v17.0.0-preview.1.26567.5
interface BicepValueFactoryProxy {
// ... 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

Defined on

This method is defined on the following type: