# AzureAppConfigurationEmulatorResource

- Module: [Aspire.Hosting.Azure.AppConfiguration](/reference/api/typescript/aspire.hosting.azure.appconfiguration.md)
- Version: `13.4.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface AzureAppConfigurationEmulatorResource
  extends IComputeResource,
    IResource,
    IResourceWithArgs,
    IResourceWithEndpoints,
    IResourceWithEnvironment,
    IResourceWithProbes,
    IResourceWithWaitSupport {
  withDataBindMount(path?: string): AzureAppConfigurationEmulatorResource;
  withDataVolume(name?: string): AzureAppConfigurationEmulatorResource;
  withHostPort(port: number): AzureAppConfigurationEmulatorResource;
}
```

## Methods

- [withDataBindMount](/reference/api/typescript/aspire.hosting.azure.appconfiguration/azureappconfigurationemulatorresource/withdatabindmount.md) -- `method` -- Adds a bind mount for the storage of an Azure App Configuration emulator resource.
    ```typescript
  withDataBindMount(path?: string): AzureAppConfigurationEmulatorResource
  ```
- [withDataVolume](/reference/api/typescript/aspire.hosting.azure.appconfiguration/azureappconfigurationemulatorresource/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to an Azure App Configuration emulator resource.
    ```typescript
  withDataVolume(name?: string): AzureAppConfigurationEmulatorResource
  ```
- [withHostPort](/reference/api/typescript/aspire.hosting.azure.appconfiguration/azureappconfigurationemulatorresource/withhostport.md) -- `method` -- Configures the host port for the Azure App Configuration emulator is exposed on instead of using randomly assigned port.
    ```typescript
  withHostPort(port: number): AzureAppConfigurationEmulatorResource
  ```
