Skip to content
DocsTry Aspire
DocsTry

withPostgresReference

Method
📦 CommunityToolkit.Aspire.Hosting.Posta v13.5.0
interface PostaResource {
// ... omitted for brevity
withPostgresReference(database: PostgresDatabaseResource): PostaResource;
}

Signature

methodwithPostgresReferencebuilder
Configures the PostgreSQL database used by Posta.
withPostgresReference(database: PostgresDatabaseResource): PostaResource
databasePostgresDatabaseResource
PostaResource

Applies to

This method applies to the following types: