withHostPort
Method
interface DbGateContainerResource { // ... omitted for brevity withHostPort(port: number): DbGateContainerResource;}Signature
method
withHostPortbuilderConfigures the host port that the DbGate resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): DbGateContainerResourceParameters
portnumberReturns
DbGateContainerResourceApplies to
This method applies to the following types: