Skip to content
DocsTry Aspire
DocsTry

withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.LavinMQ v13.4.0
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
namestring
isReadOnlybooleanoptional= False
LavinMQContainerResource

Applies to

This method applies to the following types: