addMilvus
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addMilvus( name: string, apiKey?: ParameterResource, grpcPort?: number): MilvusServerResource;}Signature
method
addMilvus builderAdds a Milvus container resource to the application model.
addMilvus( name: string, apiKey?: ParameterResource, grpcPort?: number): MilvusServerResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependencyapiKey ParameterResource optionalThe parameter used to provide the auth key/token user for the Milvus resource.grpcPort numberoptionalThe host port of gRPC endpoint of Milvus database.Returns
MilvusServerResource Applies to
This method applies to the following types: