# QdrantServerResource Properties

- Package: [Aspire.Hosting.Qdrant](/reference/api/csharp/aspire.hosting.qdrant.md)
- Type: [QdrantServerResource](/reference/api/csharp/aspire.hosting.qdrant/qdrantserverresource.md)
- Kind: `Properties`
- Members: `11`

A resource that represents a Qdrant database.

## ApiKeyParameter

- Name: `ApiKeyParameter`
- Modifiers: `get`
- Returns: `ParameterResource`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L32)

Gets the parameter that contains the Qdrant API key.

```csharp
public ParameterResource ApiKeyParameter { get; }
```

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L68-L69)

Gets the connection string expression for the Qdrant gRPC endpoint.

```csharp
public ReferenceExpression ConnectionStringExpression { get; }
```

## GrpcHost

- Name: `GrpcHost`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L42)

Gets the host endpoint reference for the gRPC endpoint.

```csharp
public EndpointReferenceExpression GrpcHost { get; }
```

## GrpcPort

- Name: `GrpcPort`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L47)

Gets the port endpoint reference for the gRPC endpoint.

```csharp
public EndpointReferenceExpression GrpcPort { get; }
```

## HttpConnectionStringExpression

- Name: `HttpConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L83-L84)

Gets the connection string expression for the Qdrant HTTP endpoint.

```csharp
public ReferenceExpression HttpConnectionStringExpression { get; }
```

## HttpEndpoint

- Name: `HttpEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L52)

Gets the HTTP endpoint for the Qdrant database.

```csharp
public EndpointReference HttpEndpoint { get; }
```

## HttpHost

- Name: `HttpHost`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L57)

Gets the host endpoint reference for the HTTP endpoint.

```csharp
public EndpointReferenceExpression HttpHost { get; }
```

## HttpPort

- Name: `HttpPort`
- Modifiers: `get`
- Returns: `EndpointReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L62)

Gets the port endpoint reference for the HTTP endpoint.

```csharp
public EndpointReferenceExpression HttpPort { get; }
```

## HttpUriExpression

- Name: `HttpUriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L92)

Gets the connection URI expression for the Qdrant HTTP endpoint.

```csharp
public ReferenceExpression HttpUriExpression { get; }
```

## Remarks

Format: `http://{host}:{port}`. The scheme reflects the endpoint configuration and may be `https` when TLS is enabled.

## PrimaryEndpoint

- Name: `PrimaryEndpoint`
- Modifiers: `get`
- Returns: `EndpointReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L37)

Gets the gRPC endpoint for the Qdrant database.

```csharp
public EndpointReference PrimaryEndpoint { get; }
```

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Qdrant/QdrantServerResource.cs#L77)

Gets the connection URI expression for the Qdrant gRPC endpoint.

```csharp
public ReferenceExpression UriExpression { get; }
```

## Remarks

Format: `http://{host}:{port}`.
