Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

RunAsEmulator

Method
📦 Aspire.Hosting.Azure.Storage v17.0.0
func (AzureStorageResource) RunAsEmulator(options ...*RunAsEmulatorOptions) AzureStorageResource

Signature

methodRunAsEmulatorbuilder
Configures the Azure Storage resource to be emulated using Azurite
RunAsEmulator(options ...*RunAsEmulatorOptions) AzureStorageResource
options...*RunAsEmulatorOptionsOptional settings, described under Options.

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

ConfigureContainerfunc(obj AzureStorageEmulatorResource)callbackCallback that exposes underlying container used for emulation to allow for customization.
AzureStorageResource

The resource builder.

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

Applies to

This method applies to the following types: