Skip to content
DocsTry Aspire
DocsTry

withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.RustFs v13.5.0
interface RustFsResource {
// ... omitted for brevity
withDataVolume(name?: string): RustFsResource;
}

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to a RustFs container resource.
withDataVolume(name?: string): RustFsResource
namestringoptional
RustFsResource

Applies to

This method applies to the following types: