AzureEventHubsEmulatorResource
Handle
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): AzureEventHubsEmulatorResourceParameters
pathstringPath to the file on the AppHost where the emulator configuration is located.Returns
AzureEventHubsEmulatorResource Configures the host port for the Azure Event Hubs emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureEventHubsEmulatorResourceParameters
portnumberThe port to bind on the host. If `null` is used, a random port will be assigned.Returns
AzureEventHubsEmulatorResource