withDataVolume

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

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to a Qdrant container resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): QdrantServerResource
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the resource name.
isReadOnlybooleanoptional= FalseA flag that indicates if this is a read-only volume.
QdrantServerResource

Applies to

This method applies to the following types: