Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

QdrantServerResource

Handle
📦 Aspire.Hosting.Qdrant v17.0.0

A resource that represents a Qdrant database.

type QdrantServerResource interface {
ExpressionValue
IComputeResource
Resource
ResourceWithArgs
ResourceWithConnectionString
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithWaitSupport
}

Properties

propertyApiKeyParameterParameterResourceget
Gets the parameter that contains the Qdrant API key.
ApiKeyParameter() ParameterResource
propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the Qdrant gRPC endpoint.
ConnectionStringExpression() *ReferenceExpression
propertyGrpcHostEndpointReferenceExpressionget
Gets the host endpoint reference for the gRPC endpoint.
GrpcHost() EndpointReferenceExpression
propertyGrpcPortEndpointReferenceExpressionget
Gets the port endpoint reference for the gRPC endpoint.
GrpcPort() EndpointReferenceExpression
propertyHttpConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the Qdrant HTTP endpoint.
HttpConnectionStringExpression() *ReferenceExpression
propertyHttpEndpointEndpointReferenceget
Gets the HTTP endpoint for the Qdrant database.
HttpEndpoint() EndpointReference
propertyHttpHostEndpointReferenceExpressionget
Gets the host endpoint reference for the HTTP endpoint.
HttpHost() EndpointReferenceExpression
propertyHttpPortEndpointReferenceExpressionget
Gets the port endpoint reference for the HTTP endpoint.
HttpPort() EndpointReferenceExpression
propertyHttpUriExpression*ReferenceExpressionget
Gets the connection URI expression for the Qdrant HTTP endpoint.
HttpUriExpression() *ReferenceExpression
propertyPrimaryEndpointEndpointReferenceget
Gets the gRPC endpoint for the Qdrant database.
PrimaryEndpoint() EndpointReference
propertyResourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)
propertyUriExpression*ReferenceExpressionget
Gets the connection URI expression for the Qdrant gRPC endpoint.
UriExpression() *ReferenceExpression

Methods

methodWithDataBindMountbuilder
Adds a bind mount for the data folder to a Qdrant container resource.
WithDataBindMount(
source string,
options ...*WithDataBindMountOptions,
) QdrantServerResource
sourcestringThe source directory on the host to mount into the container.
options...*WithDataBindMountOptionsOptional settings, described under Options.

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

IsReadOnly*boolA flag that indicates if this is a read-only mount.
QdrantServerResource

The resource builder.

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

methodWithDataVolumebuilder
Adds a named volume for the data folder to a Qdrant container resource.
WithDataVolume(options ...*WithDataVolumeOptions) QdrantServerResource
options...*WithDataVolumeOptionsOptional settings, described under Options.

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

Name*stringThe name of the volume. Defaults to an auto-generated name based on the resource name.
IsReadOnly*boolA flag that indicates if this is a read-only volume.
QdrantServerResource

The resource builder.

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