Skip to content
DocsTry Aspire
DocsTry

RavenDBServerResource.withDataVolume

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

Signature

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

Defined on

This method is defined on the following type: