AzureServiceBusEmulatorResource.withHostPort
Method
interface AzureServiceBusEmulatorResource { // ... omitted for brevity withHostPort(port: number): AzureServiceBusEmulatorResource;}Signature
method
withHostPort builderConfigures the host port for the Azure Service Bus emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureServiceBusEmulatorResourceParameters
portnumberThe port to bind on the host. If `null` is used, a random port will be assigned.Returns
AzureServiceBusEmulatorResource Defined on
This method is defined on the following type: