Skip to content
Docs Try Aspire

RedisInsightResource.withDataVolume

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

Signature

method withDataVolume builder
Adds a data volume for Redis Insight
withDataVolume(name?: string): RedisInsightResource
name string optional
RedisInsightResource

Defined on

This method is defined on the following type: