Skip to content
DocsTry Aspire
DocsTry

SeaweedFSContainerResource.withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.SeaweedFS v13.5.0
interface SeaweedFSContainerResource {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): SeaweedFSContainerResource;
}

Signature

methodwithDataVolumebuilder
Adds a named volume for the SeaweedFS data folder.
withDataVolume(
name?: string,
isReadOnly?: boolean): SeaweedFSContainerResource
namestringoptional
isReadOnlybooleanoptional= False
SeaweedFSContainerResource

Defined on

This method is defined on the following type: