Watch Aspire live streamsDocsTry Aspire

AzureBicepResource

Handle
📦 Aspire.Hosting.Azure v13.6.0
interface AzureBicepResource
extends IAzureResource,
IResource,
IResourceWithParameters {
getOutput(name: string): BicepOutputReference;
withParameter(
name: string,
value?: string | string[] | ParameterResource | IResourceWithConnectionString | BicepOutputReference | ReferenceExpression | EndpointReference): AzureBicepResource;
}

Methods

methodgetOutput
Gets a reference to an output from a bicep template.
getOutput(name: string): BicepOutputReference
namestring
BicepOutputReference
methodwithParameterbuilder
Adds a Bicep parameter
withParameter(
name: string,
value?: string | string[] | ParameterResource | IResourceWithConnectionString | BicepOutputReference | ReferenceExpression | EndpointReference): AzureBicepResource
namestring
valuestring | string[] | ParameterResource | IResourceWithConnectionString | BicepOutputReference | ReferenceExpression | EndpointReferenceoptional
AzureBicepResource