AddAzureFunctionsApp
Method
func (DistributedApplicationBuilder) AddAzureFunctionsApp( name string, appDirectory string, language AzureFunctionsLanguage,) AzureFunctionsAppResourceSignature
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 The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder