Skip to content
DocsTry Aspire
DocsTry

withDataVolume

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

Signature

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

Applies to

This method applies to the following types: