Skip to content
DocsTry Aspire
DocsTry

withDataVolume

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

Signature

methodwithDataVolumebuilder
Configures a named data volume for persistent Floci state.
withDataVolume(
name: string,
isReadOnly?: boolean): FlociAwsContainerResource
namestring
isReadOnlybooleanoptional= False
FlociAwsContainerResource

Applies to

This method applies to the following types: