withDataVolume
Method
interface RabbitMQServerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): RabbitMQServerResource;}Signature
method
withDataVolume builder Adds a named volume for the data folder to a RabbitMQ container resource.
withDataVolume( name?: string, isReadOnly?: boolean): RabbitMQServerResourceParameters
name string optional isReadOnly boolean optional = False Returns
RabbitMQServerResource Applies to
This method applies to the following types: