# Aspire.Hosting.Azure.AppConfiguration

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

## Handles

- [AzureAppConfigurationEmulatorResource](/reference/api/go/aspire.hosting.azure.appconfiguration/azureappconfigurationemulatorresource.md) -- `handle` - 3 members
- [AzureAppConfigurationResource](/reference/api/go/aspire.hosting.azure.appconfiguration/azureappconfigurationresource.md) -- `handle` - 1 members
- [AzureBicepResource](/reference/api/go/aspire.hosting.azure.appconfiguration/azurebicepresource.md) -- `handle` - 0 members
- [AzureEnvironmentResource](/reference/api/go/aspire.hosting.azure.appconfiguration/azureenvironmentresource.md) -- `handle` - 0 members
- [AzureProvisioningResource](/reference/api/go/aspire.hosting.azure.appconfiguration/azureprovisioningresource.md) -- `handle` - 0 members
- [AzureUserAssignedIdentityResource](/reference/api/go/aspire.hosting.azure.appconfiguration/azureuserassignedidentityresource.md) -- `handle` - 0 members

## Enums

- [AzureAppConfigurationRole](/reference/api/go/aspire.hosting.azure.appconfiguration/azureappconfigurationrole.md) -- `enum` - 2 values -- Represents Azure App Configuration roles that are compatible with the Aspire Type System (ATS).

## Functions

- [WithDataBindMount](/reference/api/go/aspire.hosting.azure.appconfiguration/withdatabindmount.md) -- `method` - on `AzureAppConfigurationEmulatorResource` -- Adds a bind mount for the storage of an Azure App Configuration emulator resource.
- [WithDataVolume](/reference/api/go/aspire.hosting.azure.appconfiguration/withdatavolume.md) -- `method` - on `AzureAppConfigurationEmulatorResource` -- Adds a named volume for the data folder to an Azure App Configuration emulator resource.
- [WithHostPort](/reference/api/go/aspire.hosting.azure.appconfiguration/withhostport.md) -- `method` - on `AzureAppConfigurationEmulatorResource` -- Configures the host port for the Azure App Configuration emulator is exposed on instead of using randomly assigned port.
- [RunAsEmulator](/reference/api/go/aspire.hosting.azure.appconfiguration/runasemulator.md) -- `method` - on `AzureAppConfigurationResource` -- Configures Azure App Configuration to run with the local emulator
- [AddAzureAppConfiguration](/reference/api/go/aspire.hosting.azure.appconfiguration/addazureappconfiguration.md) -- `method` - on `DistributedApplicationBuilder` -- Adds an Azure App Configuration resource to the application model.
- [WithAppConfigurationRoleAssignments](/reference/api/go/aspire.hosting.azure.appconfiguration/withappconfigurationroleassignments.md) -- `method` - on `Resource` -- Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure App Configuration resource. This replaces the default role assignments for the resource.
