Skip to content
Docs Try Aspire
Docs Try

RedisInsightResource.withDataVolume

Method
📦 Aspire.Hosting.Redis v13.4.0
interface RedisInsightResource {
// ... omitted for brevity
withDataVolume(name?: string): RedisInsightResource;
}

Signature

method withDataVolume builder
Adds a named volume for the data folder to a Redis Insight container resource.
withDataVolume(name?: string): RedisInsightResource
name string optional
RedisInsightResource

Defined on

This method is defined on the following type: