Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: