withDataVolume
Method
interface RedPandaServerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): RedPandaServerResource;}Signature
method
withDataVolume builderAdds a named volume for the data folder to a Redpanda container resource.
withDataVolume( name?: string, isReadOnly?: boolean): RedPandaServerResourceParameters
namestringoptionalisReadOnly booleanoptional= FalseReturns
RedPandaServerResource Applies to
This method applies to the following types: