Skip to content
Docs Try Aspire
Docs Try

withDataBindMount

Method
📦 Aspire.Hosting.Azure.Redis v13.2.0
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

Applies to

This method applies to the following types: