Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureEventHubsResource.RunAsEmulator

Method
📦 Aspire.Hosting.Azure.EventHubs v17.0.0
type AzureEventHubsResource interface {
// ... omitted for brevity
RunAsEmulator(options ...*RunAsEmulatorOptions) AzureEventHubsResource
}

Signature

methodRunAsEmulatorbuilder
Configures the Azure Event Hubs resource to run with the local emulator
RunAsEmulator(options ...*RunAsEmulatorOptions) AzureEventHubsResource
options...*RunAsEmulatorOptionsOptional settings, described under Options.

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

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

The resource builder.

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

Defined on

This method is defined on the following type: