withHostPort
Method
interface AzureServiceBusEmulatorResource { // ... omitted for brevity withHostPort(port: number): AzureServiceBusEmulatorResource;}Signature
method
withHostPortbuilderConfigures the host port for the Azure Service Bus emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureServiceBusEmulatorResourceParameters
portnumberReturns
AzureServiceBusEmulatorResourceApplies to
This method applies to the following types: