Skip to content
Docs Try Aspire

withDataVolume

Function
📦 Aspire.Hosting.Milvus v13.2.0-preview.1.26159.1
interface MilvusServerResource {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): MilvusServerResource;
}

Signature

method withDataVolume builder
Adds a persistent data volume to the Milvus server resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): MilvusServerResource
name string optional
isReadOnly boolean optional = False
MilvusServerResource

Applies to

This function is an extension method on the following types: