withDataVolume
Method
interface KurrentDBResource { // ... omitted for brevity withDataVolume(name?: string): KurrentDBResource;}Signature
method
withDataVolume builder Adds a named volume for the data folder to a KurrentDB container resource.
withDataVolume(name?: string): KurrentDBResourceParameters
name string optional Returns
KurrentDBResource Applies to
This method applies to the following types: