withDataVolume
Method
interface LavinMQContainerResource { // ... omitted for brevity withDataVolume( name: string, isReadOnly?: boolean): LavinMQContainerResource;}Signature
method
withDataVolumebuilderConfigures a data volume for the LavinMQ container resource by specifying its name and read-only status.
withDataVolume( name: string, isReadOnly?: boolean): LavinMQContainerResourceParameters
namestringisReadOnlybooleanoptional= FalseReturns
LavinMQContainerResourceApplies to
This method applies to the following types: