# AzureAppConfigurationEmulatorResource

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

## Definition

```go
type AzureAppConfigurationEmulatorResource interface {
    IComputeResource
    Resource
    ResourceWithArgs
    ResourceWithEndpoints
    ResourceWithEnvironment
    ResourceWithWaitSupport
}
```

## Embeds

- `IComputeResource`
- `Resource`
- `ResourceWithArgs`
- `ResourceWithEndpoints`
- `ResourceWithEnvironment`
- `ResourceWithWaitSupport`

## Methods

- [WithDataBindMount](/reference/api/go/aspire.hosting.azure.appconfiguration/azureappconfigurationemulatorresource/withdatabindmount.md) -- `method` -- Adds a bind mount for the storage of an Azure App Configuration emulator resource.
  ```go
  WithDataBindMount(options ...*WithDataBindMountOptions) AzureAppConfigurationEmulatorResource
  ```
- [WithDataVolume](/reference/api/go/aspire.hosting.azure.appconfiguration/azureappconfigurationemulatorresource/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to an Azure App Configuration emulator resource.
  ```go
  WithDataVolume(options ...*WithDataVolumeOptions) AzureAppConfigurationEmulatorResource
  ```
- [WithHostPort](/reference/api/go/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.
  ```go
  WithHostPort(port *float64) AzureAppConfigurationEmulatorResource
  ```
