withDataVolume
Method
interface OpenWebUIResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): OpenWebUIResource;}Signature
method
withDataVolume builderAdds a data volume to the Open WebUI container.
withDataVolume( name?: string, isReadOnly?: boolean): OpenWebUIResourceParameters
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.isReadOnly booleanoptional= FalseA flag that indicates if this is a read-only volume.Returns
OpenWebUIResource Applies to
This method applies to the following types: