Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureAppConfigurationEmulatorResource

Handle
📦 Aspire.Hosting.Azure.AppConfiguration v17.0.0
type AzureAppConfigurationEmulatorResource interface {
IComputeResource
Resource
ResourceWithArgs
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithWaitSupport
}

Methods

methodWithDataBindMountbuilder
Adds a bind mount for the storage of an Azure App Configuration emulator resource.
WithDataBindMount(options ...*WithDataBindMountOptions) AzureAppConfigurationEmulatorResource
options...*WithDataBindMountOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDataBindMountOptions argument.

Path*stringRelative path to the AppHost where emulator storage is persisted between runs. Defaults to the path '.aace'
AzureAppConfigurationEmulatorResource

A builder for the AzureAppConfigurationEmulatorResource.

Returns a handle; failures surface later via Err().

methodWithDataVolumebuilder
Adds a named volume for the data folder to an Azure App Configuration emulator resource.
WithDataVolume(options ...*WithDataVolumeOptions) AzureAppConfigurationEmulatorResource
options...*WithDataVolumeOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDataVolumeOptions argument.

Name*stringThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
AzureAppConfigurationEmulatorResource

A builder for the AzureAppConfigurationEmulatorResource.

Returns a handle; failures surface later via Err().

methodWithHostPortbuilder
Configures the host port for the Azure App Configuration emulator is exposed on instead of using randomly assigned port.
WithHostPort(port *float64) AzureAppConfigurationEmulatorResource
port*float64The port to bind on the host. If null is used, a random port will be assigned.
AzureAppConfigurationEmulatorResource

The resource builder.

Returns a handle; failures surface later via Err().