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