Share via


MilvusBuilderExtensions.WithConfigurationBindMount Method

Definition

Adds a bind mount for the configuration of a Milvus container resource.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Milvus.MilvusServerResource> WithConfigurationBindMount (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Milvus.MilvusServerResource> builder, string configurationFilePath);
static member WithConfigurationBindMount : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Milvus.MilvusServerResource> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Milvus.MilvusServerResource>
<Extension()>
Public Function WithConfigurationBindMount (builder As IResourceBuilder(Of MilvusServerResource), configurationFilePath As String) As IResourceBuilder(Of MilvusServerResource)

Parameters

builder
IResourceBuilder<MilvusServerResource>

The resource builder.

configurationFilePath
String

The source directory on the host to mount into the container.

Returns

The IResourceBuilder<T>.

Applies to