Skip to content
DocsTry Aspire
DocsTry

withDataVolume

Method
📦 Aspire.Hosting.Milvus v13.4.0
interface MilvusServerResource {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): MilvusServerResource;
}

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to a Milvus container resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): MilvusServerResource
namestringoptional
isReadOnlybooleanoptional= False
MilvusServerResource

Applies to

This method applies to the following types: