AzureEventHubsEmulatorResource

Handle
📦 Aspire.Hosting.Azure.EventHubs v17.0.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
pathstringPath to the file on the AppHost where the emulator configuration is located.
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
portnumberThe port to bind on the host. If `null` is used, a random port will be assigned.
AzureEventHubsEmulatorResource