RustFsResource.withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.RustFs v13.6.1
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
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
RustFsResource

Defined on

This method is defined on the following type: