withDataVolume
Method
interface MilvusServerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): MilvusServerResource;}Signature
method
withDataVolume builder Adds a named volume for the data folder to a Milvus container resource.
withDataVolume( name?: string, isReadOnly?: boolean): MilvusServerResourceParameters
name string optional isReadOnly boolean optional = False Returns
MilvusServerResource Applies to
This method applies to the following types: