# Aspire.Hosting.Valkey

- Module: `Aspire.Hosting.Valkey`
- Version: `13.4.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `4`
- Types: `1`

## Types

- [ValkeyResource](/reference/api/typescript/aspire.hosting.valkey/valkeyresource.md) -- `handle` - 9 members -- A resource that represents a Valkey resource independent of the hosting model.

## Functions

- [addValkey](/reference/api/typescript/aspire.hosting.valkey/addvalkey.md) -- `method` -- Adds a Valkey container to the application model.
- [withDataBindMount](/reference/api/typescript/aspire.hosting.valkey/withdatabindmount.md) -- `method` -- Adds a bind mount for the data folder to a Valkey container resource and enables Valkey persistence.
- [withDataVolume](/reference/api/typescript/aspire.hosting.valkey/withdatavolume.md) -- `method` -- Adds a named volume for the data folder to a Valkey container resource and enables Valkey persistence.
- [withPersistence](/reference/api/typescript/aspire.hosting.valkey/withpersistence.md) -- `method` -- Configures a Valkey container resource for persistence.
