Skip to content
DocsTry Aspire
DocsTry

FlociGcpContainerResource.withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.5.0
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
namestring
isReadOnlybooleanoptional= False
FlociGcpContainerResource

Defined on

This method is defined on the following type: