Aspire.Hosting.Azure.Functions
Official
📦 Aspire.Hosting.Azure.Functionsv13.4.07Functions
4Types
4 types and 2 members
Types
Functions
method
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: ParameterResource): DurableTaskSchedulerResourcemethod
withHostStoragebuilderConfigures the Azure Functions project resource to use the specified Azure Storage resource as its host storage.
withHostStorage(storage: AzureStorageResource): AzureFunctionsProjectResourcemethod
withTaskHubNamebuilderSets the Durable Task hub name from a string or parameter resource.
withTaskHubName(taskHubName: ParameterResource): DurableTaskHubResource