withHostPort
Method
interface RedPandaConsoleContainerResource { // ... omitted for brevity withHostPort(port: number): RedPandaConsoleContainerResource;}Signature
method
withHostPort builderConfigures the host port that the Redpanda Console resource is exposed on instead of using a randomly assigned port.
withHostPort(port: number): RedPandaConsoleContainerResourceParameters
portnumberThe port to bind on the host. If `null` a random port is assigned.Returns
RedPandaConsoleContainerResource Applies to
This method applies to the following types: