Skip to content
Docs Try Aspire

GarnetResource.withDataBindMount

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

Signature

method withDataBindMount builder
Mounts a host directory as the Garnet data directory.
withDataBindMount(
source: string,
isReadOnly?: boolean): GarnetResource
source string
isReadOnly boolean optional = False
GarnetResource

Defined on

This method is defined on the following type: