ValkeyResource.withDataVolume
Method
interface ValkeyResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): ValkeyResource;}Signature
method
withDataVolume builder Adds a data volume for Valkey and enables persistence
withDataVolume( name?: string, isReadOnly?: boolean): ValkeyResourceParameters
name string optional isReadOnly boolean optional = False Returns
ValkeyResource Defined on
This method is defined on the following type: