withDataBindMount
Method
interface NatsServerResource { // ... omitted for brevity withDataBindMount( source: string, isReadOnly?: boolean): NatsServerResource;}Signature
method
withDataBindMount builder Adds a bind mount for the data folder to a NATS container resource.
withDataBindMount( source: string, isReadOnly?: boolean): NatsServerResourceParameters
source string isReadOnly boolean optional = False Returns
NatsServerResource Applies to
This method applies to the following types: