# SeqResource

- Module: [Aspire.Hosting.Seq](/reference/api/go/aspire.hosting.seq.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

An Aspire resource that is a Seq server.

## Definition

```go
type SeqResource interface {
    ExpressionValue
    IComputeResource
    Resource
    ResourceWithArgs
    ResourceWithConnectionString
    ResourceWithEndpoints
    ResourceWithEnvironment
    ResourceWithWaitSupport
}
```

## Embeds

- `ExpressionValue`
- `IComputeResource`
- `Resource`
- `ResourceWithArgs`
- `ResourceWithConnectionString`
- `ResourceWithEndpoints`
- `ResourceWithEnvironment`
- `ResourceWithWaitSupport`

## Properties

- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the connection string expression for the Seq server.
- `Host`: `EndpointReferenceExpression` `get` -- Gets the host endpoint reference for this resource.
- `Port`: `EndpointReferenceExpression` `get` -- Gets the port endpoint reference for this resource.
- `PrimaryEndpoint`: `EndpointReference` `get` -- Gets the primary endpoint for the Seq server.
- `ResourceTypeDisplayName`: `string` `get` -- Gets the ResourceTypeDisplayName property
- `UriExpression`: `*ReferenceExpression` `get` -- Gets the connection URI expression for the Seq server.

## Methods

- [WithDataBindMount](/reference/api/go/aspire.hosting.seq/seqresource/withdatabindmount.md) -- `method` -- Adds a bind mount for the data folder to a Seq container resource.
  ```go
  WithDataBindMount(source string, options ...*WithDataBindMountOptions) SeqResource
  ```
- [WithDataVolume](/reference/api/go/aspire.hosting.seq/seqresource/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to a Seq container resource.
  ```go
  WithDataVolume(options ...*WithDataVolumeOptions) SeqResource
  ```
