GarnetResource.withDataVolume
Method
interface GarnetResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): GarnetResource;}Signature
method
withDataVolumebuilderAdds a named volume for the data folder to a Garnet container resource and enables Garnet persistence.
withDataVolume( name?: string, isReadOnly?: boolean): GarnetResourceParameters
namestringoptionalisReadOnlybooleanoptional= FalseReturns
GarnetResourceDefined on
This method is defined on the following type: