addMilvus

Method
📦 Aspire.Hosting.Milvus v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addMilvus(
name: string,
apiKey?: ParameterResource,
grpcPort?: number): MilvusServerResource;
}

Signature

methodaddMilvusbuilder
Adds a Milvus container resource to the application model.
addMilvus(
name: string,
apiKey?: ParameterResource,
grpcPort?: number): MilvusServerResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency
apiKeyParameterResourceoptionalThe parameter used to provide the auth key/token user for the Milvus resource.
grpcPortnumberoptionalThe host port of gRPC endpoint of Milvus database.
MilvusServerResource

Applies to

This method applies to the following types: