LavinMQContainerResource.withDataVolume

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

Signature

methodwithDataVolumebuilder
Configures a data volume for the LavinMQ container resource by specifying its name and read-only status.
withDataVolume(
name: string,
isReadOnly?: boolean): LavinMQContainerResource
namestringThe name of the data volume to be attached to the LavinMQ container resource.
isReadOnlybooleanoptional= FalseIndicates whether the data volume should be mounted as read-only. Default is false.
LavinMQContainerResource

Defined on

This method is defined on the following type: