FlociAzureContainerResource.withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
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
namestringThe name of the volume to mount.
isReadOnlybooleanoptional= FalseWhether the volume should be read-only.
FlociAzureContainerResource

Defined on

This method is defined on the following type: