withPostgresReference

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

Signature

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

Applies to

This method applies to the following types: