Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddQdrant

Method
📦 Aspire.Hosting.Qdrant v17.0.0
func (DistributedApplicationBuilder) AddQdrant(
name string,
options ...*AddQdrantOptions,
) QdrantServerResource

Signature

methodAddQdrantbuilder
Adds a Qdrant resource to the application. A container is used for local development.
AddQdrant(
name string,
options ...*AddQdrantOptions,
) QdrantServerResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency
options...*AddQdrantOptionsOptional settings, described under Options.

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

ApiKey*ParameterResourceThe parameter used to provide the API Key for the Qdrant resource. If null a random key will be generated as {name}-Key.
GrpcPort*float64The host port of gRPC endpoint of Qdrant database.
HttpPort*float64The host port of HTTP endpoint of Qdrant database.
QdrantServerResource

The resource builder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder