MilvusServerResource.withDataVolume

Method
📦 Aspire.Hosting.Milvus v17.0.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
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.
MilvusServerResource

Defined on

This method is defined on the following type: