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