withDataVolume
Function
interface MongoDBServerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): MongoDBServerResource;}Signature
method
withDataVolume builder Adds a named volume for the MongoDB data folder
withDataVolume( name?: string, isReadOnly?: boolean): MongoDBServerResourceParameters
name string optional isReadOnly boolean optional = False Returns
MongoDBServerResource Applies to
This function is an extension method on the following types: