Aspire.Hosting.Azure.Functions
Official
📦 Aspire.Hosting.Azure.Functionsv17.0.0Import path
apphost/modules/aspire9Functions
7Types
7 types, 9 functions and 5 members
Handles
Enums
Functions
AzureFunctionsAppResource
AzureFunctionsProjectResource
DistributedApplicationBuilder
method
AddAzureFunctionsAppbuilderAdds an Azure Functions app from a source directory to the distributed application.
AddAzureFunctionsApp(name string, appDirectory string, language AzureFunctionsLanguage) AzureFunctionsAppResourcemethod
AddAzureFunctionsProjectbuilderAdds an Azure Functions project to the distributed application.
AddAzureFunctionsProject(name string, projectPath string) AzureFunctionsProjectResourcemethod
AddDurableTaskSchedulerbuilderAdds a Durable Task scheduler resource to the distributed application.
AddDurableTaskScheduler(name string) DurableTaskSchedulerResourceDurableTaskHubResource
DurableTaskSchedulerResource
method
AddTaskHubbuilderAdds a Durable Task hub resource associated with the specified scheduler.
AddTaskHub(name string) DurableTaskHubResourcemethod
RunAsEmulatorbuilderConfigures the Durable Task scheduler to run using the local emulator (only in non-publish modes).
RunAsEmulator(options ...*RunAsEmulatorOptions) DurableTaskSchedulerResourcemethod
RunAsExistingbuilderConfigures the Durable Task scheduler to use an existing scheduler instance from a connection string or parameter resource.
RunAsExisting(connectionString any) DurableTaskSchedulerResource