withDataVolume
Method
interface RavenDBServerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): RavenDBServerResource;}Signature
method
withDataVolumebuilderAdds a named volume for the data folder to a RavenDB container resource.
withDataVolume( name?: string, isReadOnly?: boolean): RavenDBServerResourceParameters
namestringoptionalisReadOnlybooleanoptional= FalseReturns
RavenDBServerResourceApplies to
This method applies to the following types: