addAzureFunctionsApp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addAzureFunctionsApp( name: string, appDirectory: string, language: AzureFunctionsLanguage): AzureFunctionsAppResource;}Signature
method
addAzureFunctionsApp builderAdds an Azure Functions app from a source directory to the distributed application.
addAzureFunctionsApp( name: string, appDirectory: string, language: AzureFunctionsLanguage): AzureFunctionsAppResourceParameters
namestringThe name to be associated with the Azure Functions app. This name will be used for service discovery when referenced in a dependency.appDirectory stringThe path to the directory containing the Azure Functions app.languageAzureFunctionsLanguage The authoring language used by the Azure Functions app.Returns
AzureFunctionsAppResource Applies to
This method applies to the following types: