Skip to content
Docs Try Aspire

PostgresServerResource.withDataBindMount

Method
📦 Aspire.Hosting.PostgreSQL v13.2.0-preview.1.26159.1
interface PostgresServerResource {
// ... omitted for brevity
withDataBindMount(
source: string,
isReadOnly?: boolean): PostgresServerResource;
}

Signature

method withDataBindMount builder
Adds a data bind mount for PostgreSQL
withDataBindMount(
source: string,
isReadOnly?: boolean): PostgresServerResource
source string
isReadOnly boolean optional = False
PostgresServerResource

Defined on

This method is defined on the following type: