Skip to content
DocsTry Aspire
DocsTry

FlociAzureContainerResource.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

Defined on

This method is defined on the following type: