addQdrant

Method
📦 Aspire.Hosting.Qdrant v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addQdrant(
name: string,
apiKey?: ParameterResource,
grpcPort?: number,
httpPort?: number): QdrantServerResource;
}

Signature

methodaddQdrantbuilder
Adds a Qdrant resource to the application. A container is used for local development.
addQdrant(
name: string,
apiKey?: ParameterResource,
grpcPort?: number,
httpPort?: number): QdrantServerResource
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 API Key for the Qdrant resource. If `null` a random key will be generated as {name}-Key.
grpcPortnumberoptionalThe host port of gRPC endpoint of Qdrant database.
httpPortnumberoptionalThe host port of HTTP endpoint of Qdrant database.
QdrantServerResource

Applies to

This method applies to the following types: