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