Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddMilvus

Method
📦 Aspire.Hosting.Milvus v17.0.0
func (DistributedApplicationBuilder) AddMilvus(
name string,
options ...*AddMilvusOptions,
) MilvusServerResource

Signature

methodAddMilvusbuilder
Adds a Milvus container resource to the application model.
AddMilvus(
name string,
options ...*AddMilvusOptions,
) MilvusServerResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency
options...*AddMilvusOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddMilvusOptions argument.

ApiKey*ParameterResourceThe parameter used to provide the auth key/token user for the Milvus resource.
GrpcPort*float64The host port of gRPC endpoint of Milvus database.
MilvusServerResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder