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