Skip to content
Docs Try Aspire

withEnvironmentFromOutput

Function
📦 Aspire.Hosting.Azure.ServiceBus v13.2.0-preview.1.26159.1
interface ContainerResource {
// ... omitted for brevity
withEnvironmentFromOutput(
name: string,
bicepOutputReference: BicepOutputReference): IResourceWithEnvironment;
}

Signature

method withEnvironmentFromOutput builder
Sets an environment variable from a Bicep output reference
withEnvironmentFromOutput(
name: string,
bicepOutputReference: BicepOutputReference): IResourceWithEnvironment
name string
bicepOutputReference BicepOutputReference
IResourceWithEnvironment

Applies to

This function is an extension method on the following types: