Skip to content
Docs Try Aspire
Docs Try

SolrResource.withDataVolume

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

Signature

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

Defined on

This method is defined on the following type: