Skip to content
Docs Try Aspire

AzureEventHubsEmulatorResource

Handle TypeScript
📦 Aspire.Hosting.Azure.EventHubs v13.2.0-preview.1.26159.1
interface AzureEventHubsEmulatorResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
withConfigurationFile(path: string): AzureEventHubsEmulatorResource;
withHostPort(port: number): AzureEventHubsEmulatorResource;
}

Methods

method withConfigurationFile builder
Sets the emulator configuration file path
withConfigurationFile(path: string): AzureEventHubsEmulatorResource
path string
AzureEventHubsEmulatorResource
method withHostPort builder
Sets the host port for the Event Hubs emulator endpoint
withHostPort(port: number): AzureEventHubsEmulatorResource
port number
AzureEventHubsEmulatorResource