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