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