Skip to content
Docs Try Aspire

RedisResource.withDataBindMount

Method
📦 Aspire.Hosting.Azure.Redis v13.2.0-preview.1.26159.1
interface RedisResource {
// ... omitted for brevity
withDataBindMount(
source: string,
isReadOnly?: boolean): RedisResource;
}

Signature

method withDataBindMount builder
Adds a data bind mount with persistence
withDataBindMount(
source: string,
isReadOnly?: boolean): RedisResource
source string
isReadOnly boolean optional = False
RedisResource

Defined on

This method is defined on the following type: