addBicepTemplate
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addBicepTemplate( name: string, bicepFile: string): AzureBicepResource;}Signature
method
addBicepTemplate builderAdds an Azure Bicep resource to the application model.
addBicepTemplate( name: string, bicepFile: string): AzureBicepResourceParameters
namestringThe name of the resource. This name will be used as the deployment name.bicepFile stringThe path to the bicep file on disk. This path is relative to the apphost's project directory.Returns
AzureBicepResource Applies to
This method applies to the following types: