# Aspire.Hosting.Azure.Functions

- Module: `Aspire.Hosting.Azure.Functions`
- Version: `13.4.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `7`
- Types: `4`

## Types

- [AzureFunctionsProjectResource](/reference/api/typescript/aspire.hosting.azure.functions/azurefunctionsprojectresource.md) -- `handle` - 1 members
- [DurableTaskHubResource](/reference/api/typescript/aspire.hosting.azure.functions/durabletaskhubresource.md) -- `handle` - 3 members -- Represents a Durable Task hub resource. A Task Hub groups durable orchestrations and activities. This resource extends the scheduler connection string with the TaskHub name so that clients can connect to the correct hub.
- [DurableTaskSchedulerEmulatorResource](/reference/api/typescript/aspire.hosting.azure.functions/durabletaskscheduleremulatorresource.md) -- `handle` - 0 members
- [DurableTaskSchedulerResource](/reference/api/typescript/aspire.hosting.azure.functions/durabletaskschedulerresource.md) -- `handle` - 3 members

## Functions

- [addAzureFunctionsProject](/reference/api/typescript/aspire.hosting.azure.functions/addazurefunctionsproject.md) -- `method` -- Adds an Azure Functions project to the distributed application.
- [addDurableTaskScheduler](/reference/api/typescript/aspire.hosting.azure.functions/adddurabletaskscheduler.md) -- `method` -- Adds a Durable Task scheduler resource to the distributed application.
- [addTaskHub](/reference/api/typescript/aspire.hosting.azure.functions/addtaskhub.md) -- `method` -- Adds a Durable Task hub resource associated with the specified scheduler.
- [runAsEmulator](/reference/api/typescript/aspire.hosting.azure.functions/runasemulator.md) -- `method` -- Configures the Durable Task scheduler to run using the local emulator (only in non-publish modes).
- [runAsExisting](/reference/api/typescript/aspire.hosting.azure.functions/runasexisting.md) -- `method` -- Configures the Durable Task scheduler to use an existing scheduler instance from a connection string or parameter resource.
- [withHostStorage](/reference/api/typescript/aspire.hosting.azure.functions/withhoststorage.md) -- `method` -- Configures the Azure Functions project resource to use the specified Azure Storage resource as its host storage.
- [withTaskHubName](/reference/api/typescript/aspire.hosting.azure.functions/withtaskhubname.md) -- `method` -- Sets the Durable Task hub name from a string or parameter resource.
