# Aspire.Hosting.Garnet

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

## Types

- [GarnetResource](/reference/api/typescript/aspire.hosting.garnet/garnetresource.md) -- `handle` - 14 members

## Functions

- [addGarnet](/reference/api/typescript/aspire.hosting.garnet/addgarnet.md) -- `method` -- Adds a Garnet container resource to the application model.
- [withDataBindMount](/reference/api/typescript/aspire.hosting.garnet/withdatabindmount.md) -- `method` -- Mounts a host directory as the Garnet data directory.
- [withDataVolume](/reference/api/typescript/aspire.hosting.garnet/withdatavolume.md) -- `method` -- Adds a persistent data volume to the Garnet resource.
- [withPersistence](/reference/api/typescript/aspire.hosting.garnet/withpersistence.md) -- `method` -- Configures snapshot persistence for the Garnet resource.
