Skip to content
DocsTry Aspire
DocsTry

AzureEventHubsEmulatorResource

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

Methods

Adds a bind mount for the configuration file of an Azure Event Hubs emulator resource.
withConfigurationFile(path: string): AzureEventHubsEmulatorResource
pathstring
AzureEventHubsEmulatorResource
methodwithHostPortbuilder
Configures the host port for the Azure Event Hubs emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureEventHubsEmulatorResource
portnumber
AzureEventHubsEmulatorResource