withDataVolume
Method
interface LavinMQContainerResource { // ... omitted for brevity withDataVolume( name: string, isReadOnly?: boolean): LavinMQContainerResource;}Signature
method
withDataVolume builderConfigures a data volume for the LavinMQ container resource by specifying its name and read-only status.
withDataVolume( name: string, isReadOnly?: boolean): LavinMQContainerResourceParameters
namestringThe name of the data volume to be attached to the LavinMQ container resource.isReadOnly booleanoptional= FalseIndicates whether the data volume should be mounted as read-only. Default is false.Returns
LavinMQContainerResource Applies to
This method applies to the following types: