withDataVolume
Method
interface RabbitMQServerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): RabbitMQServerResource;}Signature
method
withDataVolumebuilderAdds a named volume for the data folder to a RabbitMQ container resource.
withDataVolume( name?: string, isReadOnly?: boolean): RabbitMQServerResourceParameters
namestringoptionalisReadOnlybooleanoptional= FalseReturns
RabbitMQServerResourceApplies to
This method applies to the following types: