Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithPostgreSQL

Method
📦 CommunityToolkit.Aspire.Hosting.Umami v13.6.1
func (UmamiResource) WithPostgreSQL(database PostgresDatabaseResource) UmamiResource

Signature

methodWithPostgreSQLbuilder
Configures PostgreSQL as the storage backend for Umami
WithPostgreSQL(database PostgresDatabaseResource) UmamiResource
databasePostgresDatabaseResourceThe PostgreSQL database resource builder.
UmamiResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: