addQdrant
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addQdrant( name: string, apiKey?: ParameterResource, grpcPort?: number, httpPort?: number): QdrantServerResource;}Signature
method
addQdrant builderAdds a Qdrant resource to the application. A container is used for local development.
addQdrant( name: string, apiKey?: ParameterResource, grpcPort?: number, httpPort?: number): QdrantServerResourceParameters
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 API Key for the Qdrant resource. If `null` a random key will be generated as {name}-Key.grpcPort numberoptionalThe host port of gRPC endpoint of Qdrant database.httpPort numberoptionalThe host port of HTTP endpoint of Qdrant database.Returns
QdrantServerResource Applies to
This method applies to the following types: