Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureBicepResource

Handle
📦 Aspire.Hosting.Azure v17.0.0
type AzureBicepResource interface {
AzureResource
Resource
}

Methods

methodGetOutput
Gets a reference to an output from a bicep template.
GetOutput(name string) BicepOutputReference
namestringName of the output.
BicepOutputReference

A BicepOutputReference that represents the output.

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

methodWithParameterbuilder
Adds a Bicep parameter
WithParameter(
name string,
options ...*WithParameterOptions,
) AzureBicepResource
namestring
options...*WithParameterOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithParameterOptions argument.

Valueany
AzureBicepResource

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