Aspire.Hosting.Azure.Functions
Official
📦 Aspire.Hosting.Azure.Functionsv17.0.09Functions
6Types
6 types and 5 members
Types
Functions
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): DurableTaskSchedulerResourcemethod
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(configureContainer?: (obj: DurableTaskSchedulerEmulatorResource) => Promise<void>): DurableTaskSchedulerResourcemethod
runAsExistingbuilderConfigures the Durable Task scheduler to use an existing scheduler instance from a connection string or parameter resource.
runAsExisting(connectionString: string | ParameterResource): DurableTaskSchedulerResourcemethod
withHostStoragebuilderConfigures the Azure Functions project resource to use the specified Azure Storage resource as its host storage.
withHostStorage(storage: AzureStorageResource): AzureFunctionsProjectResourcemethod
withHostStoragebuilderConfigures the Azure Functions app resource to use the specified Azure Storage resource as its host storage.
withHostStorage(storage: AzureStorageResource): AzureFunctionsAppResourcemethod
withTaskHubNamebuilderSets the Durable Task hub name from a string or parameter resource.
withTaskHubName(taskHubName: string | ParameterResource): DurableTaskHubResource