Skip to content
Docs Try Aspire
Docs Try

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

Applies to

This method applies to the following types: