Skip to content
DocsTry Aspire
DocsTry

RedisInsightResource.withDataVolume

Method
📦 Aspire.Hosting.Redis v13.4.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: