Skip to content
Docs Try Aspire
Docs Try

withDataVolume

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

Signature

method withDataVolume builder
Adds a named volume for the data folder to a Qdrant container resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): QdrantServerResource
name string optional
isReadOnly boolean optional = False
QdrantServerResource

Applies to

This method applies to the following types: