withDataVolume
Function
interface GarnetResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): GarnetResource;}Signature
method
withDataVolume builder Adds a persistent data volume to the Garnet resource.
withDataVolume( name?: string, isReadOnly?: boolean): GarnetResourceParameters
name string optional isReadOnly boolean optional = False Returns
GarnetResource Applies to
This function is an extension method on the following types: