# QdrantServerResource

- Module: [Aspire.Hosting.Qdrant](/reference/api/typescript/aspire.hosting.qdrant.md)
- Version: `13.2.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface QdrantServerResource
  extends IComputeResource,
    IManifestExpressionProvider,
    IResource,
    IResourceWithArgs,
    IResourceWithConnectionString,
    QdrantServerResource]],
    IResourceWithEndpoints,
    IResourceWithEnvironment,
    IResourceWithProbes,
    IResourceWithWaitSupport,
    IValueProvider,
    IValueWithReferences {
  readonly apiKeyParameter: ParameterResource;
  readonly connectionStringExpression: ReferenceExpression;
  entrypoint: string;
  readonly grpcHost: EndpointReferenceExpression;
  readonly grpcPort: EndpointReferenceExpression;
  readonly httpConnectionStringExpression: ReferenceExpression;
  readonly httpEndpoint: EndpointReference;
  readonly httpHost: EndpointReferenceExpression;
  readonly httpPort: EndpointReferenceExpression;
  readonly httpUriExpression: ReferenceExpression;
  readonly name: string;
  readonly primaryEndpoint: EndpointReference;
  shellExecution: boolean;
  readonly uriExpression: ReferenceExpression;
  withDataBindMount(
      source: string,
      isReadOnly?: boolean): QdrantServerResource;
  withDataVolume(
      name?: string,
      isReadOnly?: boolean): QdrantServerResource;
}
```

## Properties

- `apiKeyParameter`: `ParameterResource` `get` -- Gets the ApiKeyParameter property
- `connectionStringExpression`: `ReferenceExpression` `get` -- Gets the ConnectionStringExpression property
- `entrypoint`: `string` `get - set` -- Gets the Entrypoint property
- `grpcHost`: `EndpointReferenceExpression` `get` -- Gets the GrpcHost property
- `grpcPort`: `EndpointReferenceExpression` `get` -- Gets the GrpcPort property
- `httpConnectionStringExpression`: `ReferenceExpression` `get` -- Gets the HttpConnectionStringExpression property
- `httpEndpoint`: `EndpointReference` `get` -- Gets the HttpEndpoint property
- `httpHost`: `EndpointReferenceExpression` `get` -- Gets the HttpHost property
- `httpPort`: `EndpointReferenceExpression` `get` -- Gets the HttpPort property
- `httpUriExpression`: `ReferenceExpression` `get` -- Gets the HttpUriExpression property
- `name`: `string` `get` -- Gets the Name property
- `primaryEndpoint`: `EndpointReference` `get` -- Gets the PrimaryEndpoint property
- `shellExecution`: `boolean` `get - set` -- Gets the ShellExecution property
- `uriExpression`: `ReferenceExpression` `get` -- Gets the UriExpression property

## Methods

- [withDataBindMount](/reference/api/typescript/aspire.hosting.qdrant/qdrantserverresource/withdatabindmount.md) -- `method` -- Adds a bind mount for the data folder to a Qdrant container resource.
    ```typescript
  withDataBindMount(source: string, isReadOnly?: boolean): QdrantServerResource
  ```
- [withDataVolume](/reference/api/typescript/aspire.hosting.qdrant/qdrantserverresource/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to a Qdrant container resource.
    ```typescript
  withDataVolume(name?: string, isReadOnly?: boolean): QdrantServerResource
  ```
