withDataVolume
Method
interface MeilisearchResource { // ... omitted for brevity withDataVolume(name?: string): MeilisearchResource;}Signature
method
withDataVolume builderAdds a named volume for the data folder to a Meilisearch container resource.
withDataVolume(name?: string): MeilisearchResourceParameters
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.Returns
MeilisearchResource Applies to
This method applies to the following types: