withDataVolume
Method
interface RavenDBServerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): RavenDBServerResource;}Signature
method
withDataVolume builder Adds a named volume for the data folder to a RavenDB container resource.
withDataVolume( name?: string, isReadOnly?: boolean): RavenDBServerResourceParameters
name string optional isReadOnly boolean optional = False Returns
RavenDBServerResource Applies to
This method applies to the following types: