Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

RedisInsightResource.withDataVolume

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

Signature

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

Defined on

This method is defined on the following type: