Skip to content
DocsTry Aspire
DocsTry

addBicepTemplate

Method
📦 Aspire.Hosting.Azure v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addBicepTemplate(
name: string,
bicepFile: string): AzureBicepResource;
}

Signature

methodaddBicepTemplatebuilder
Adds an Azure Bicep resource to the application model.
addBicepTemplate(
name: string,
bicepFile: string): AzureBicepResource
namestring
bicepFilestring
AzureBicepResource

Applies to

This method applies to the following types: