# AzureAppConfigurationEmulatorResource

- Module: [Aspire.Hosting.Azure.AppConfiguration](/reference/api/typescript/aspire.hosting.azure.appconfiguration.md)
- Version: `13.2.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 data bind mount for the App Configuration emulator
    ```typescript
  withDataBindMount(path?: string): AzureAppConfigurationEmulatorResource
  ```
- [withDataVolume](/reference/api/typescript/aspire.hosting.azure.appconfiguration/azureappconfigurationemulatorresource/withdatavolume.md) -- `method` -- Adds a data volume for the App Configuration emulator
    ```typescript
  withDataVolume(name?: string): AzureAppConfigurationEmulatorResource
  ```
- [withHostPort](/reference/api/typescript/aspire.hosting.azure.appconfiguration/azureappconfigurationemulatorresource/withhostport.md) -- `method` -- Sets the host port for the App Configuration emulator
    ```typescript
  withHostPort(port: number): AzureAppConfigurationEmulatorResource
  ```
