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