Skip to content
Docs Try Aspire

withDataVolume

Function
📦 Aspire.Hosting.Qdrant v13.2.0-preview.1.26159.1
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 function is an extension method on the following types: