Skip to content
Docs Try Aspire
Docs Try

LavinMQContainerResource.withDataVolume

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

Signature

method withDataVolume builder
Configures a data volume for the LavinMQ container resource by specifying its name and read-only status.
withDataVolume(
name: string,
isReadOnly?: boolean): LavinMQContainerResource
name string
isReadOnly boolean optional = False
LavinMQContainerResource

Defined on

This method is defined on the following type: