withDataVolume
Method
interface SeaweedFSContainerResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): SeaweedFSContainerResource;}Signature
method
withDataVolume builderAdds a named volume for the SeaweedFS data folder.
withDataVolume( name?: string, isReadOnly?: boolean): SeaweedFSContainerResourceParameters
namestringoptionalisReadOnly booleanoptional= FalseReturns
SeaweedFSContainerResource Applies to
This method applies to the following types: