Skip to content
Docs Try Aspire
Docs Try

RavenDBServerResource.withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.RavenDB v13.4.0
interface RavenDBServerResource {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): RavenDBServerResource;
}

Signature

method withDataVolume builder
Adds a named volume for the data folder to a RavenDB container resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): RavenDBServerResource
name string optional
isReadOnly boolean optional = False
RavenDBServerResource

Defined on

This method is defined on the following type: