# Aspire.Hosting.Azure.Functions

- Module: `Aspire.Hosting.Azure.Functions`
- Version: `17.0.0`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)
- Functions: `9`
- Types: `7`

## Handles

- [AzureFunctionsAppResource](/reference/api/go/aspire.hosting.azure.functions/azurefunctionsappresource.md) -- `handle` - 4 members -- Represents an Azure Functions app resource that is launched from a source directory.
- [AzureFunctionsProjectResource](/reference/api/go/aspire.hosting.azure.functions/azurefunctionsprojectresource.md) -- `handle` - 1 members
- [AzureStorageResource](/reference/api/go/aspire.hosting.azure.functions/azurestorageresource.md) -- `handle` - 0 members
- [DurableTaskHubResource](/reference/api/go/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/go/aspire.hosting.azure.functions/durabletaskscheduleremulatorresource.md) -- `handle` - 0 members
- [DurableTaskSchedulerResource](/reference/api/go/aspire.hosting.azure.functions/durabletaskschedulerresource.md) -- `handle` - 3 members

## Enums

- [AzureFunctionsLanguage](/reference/api/go/aspire.hosting.azure.functions/azurefunctionslanguage.md) -- `enum` - 2 values -- Specifies the authoring language used by an Azure Functions app.

## Functions

- [WithHostStorage](/reference/api/go/aspire.hosting.azure.functions/withhoststorage-azurefunctionsappresource-azurestorageresource.md) -- `method` - on `AzureFunctionsAppResource` -- Configures the Azure Functions app resource to use the specified Azure Storage resource as its host storage.
- [WithHostStorage](/reference/api/go/aspire.hosting.azure.functions/withhoststorage-azurefunctionsprojectresource-azurestorageresource.md) -- `method` - on `AzureFunctionsProjectResource` -- Configures the Azure Functions project resource to use the specified Azure Storage resource as its host storage.
- [AddAzureFunctionsApp](/reference/api/go/aspire.hosting.azure.functions/addazurefunctionsapp.md) -- `method` - on `DistributedApplicationBuilder` -- Adds an Azure Functions app from a source directory to the distributed application.
- [AddAzureFunctionsProject](/reference/api/go/aspire.hosting.azure.functions/addazurefunctionsproject.md) -- `method` - on `DistributedApplicationBuilder` -- Adds an Azure Functions project to the distributed application.
- [AddDurableTaskScheduler](/reference/api/go/aspire.hosting.azure.functions/adddurabletaskscheduler.md) -- `method` - on `DistributedApplicationBuilder` -- Adds a Durable Task scheduler resource to the distributed application.
- [WithTaskHubName](/reference/api/go/aspire.hosting.azure.functions/withtaskhubname.md) -- `method` - on `DurableTaskHubResource` -- Sets the Durable Task hub name from a string or parameter resource.
- [AddTaskHub](/reference/api/go/aspire.hosting.azure.functions/addtaskhub.md) -- `method` - on `DurableTaskSchedulerResource` -- Adds a Durable Task hub resource associated with the specified scheduler.
- [RunAsEmulator](/reference/api/go/aspire.hosting.azure.functions/runasemulator.md) -- `method` - on `DurableTaskSchedulerResource` -- Configures the Durable Task scheduler to run using the local emulator (only in non-publish modes).
- [RunAsExisting](/reference/api/go/aspire.hosting.azure.functions/runasexisting.md) -- `method` - on `DurableTaskSchedulerResource` -- Configures the Durable Task scheduler to use an existing scheduler instance from a connection string or parameter resource.
