Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: