withDataVolume
Function
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 Applies to
This function is an extension method on the following types: