withDataVolume
Method
interface ClickHouseServerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): ClickHouseServerResource;}Signature
method
withDataVolume builderAdds a named volume for the data folder to a ClickHouse container resource.
withDataVolume( name?: string, isReadOnly?: boolean): ClickHouseServerResourceParameters
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.isReadOnly booleanoptional= FalseA flag that indicates if this is a read-only volume.Returns
ClickHouseServerResource Applies to
This method applies to the following types: