Skip to content
Docs Try Aspire
Docs Try

DbGateContainerResource.withDataVolume

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

Signature

method withDataVolume builder
Adds a named volume for the data folder to a DbGate container resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): DbGateContainerResource
name string optional
isReadOnly boolean optional = False
DbGateContainerResource

Defined on

This method is defined on the following type: