Skip to content
DocsTry Aspire
DocsTry

SolrResource.withDataVolume

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

Signature

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

Defined on

This method is defined on the following type: