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