RedPandaConsoleContainerResource.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 Defined on
This method is defined on the following type: