withDataVolume

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

Signature

methodwithDataVolumebuilder
Configures a named data volume for persistent Floci GCP state.
withDataVolume(
name: string,
isReadOnly?: boolean): FlociGcpContainerResource
namestringThe name of the volume to mount.
isReadOnlybooleanoptional= FalseWhether the volume should be read-only.
FlociGcpContainerResource

Applies to

This method applies to the following types: