Share via


AzureBicepResourceExtensions.GetOutput Method

Definition

Gets a reference to a output from a bicep template.

public static Aspire.Hosting.Azure.BicepOutputReference GetOutput (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureBicepResource> builder, string name);
static member GetOutput : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureBicepResource> * string -> Aspire.Hosting.Azure.BicepOutputReference
<Extension()>
Public Function GetOutput (builder As IResourceBuilder(Of AzureBicepResource), name As String) As BicepOutputReference

Parameters

builder
IResourceBuilder<AzureBicepResource>

The resource builder.

name
String

Name of the output.

Returns

A BicepOutputReference that represents the output.

Applies to