withReference

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
interface ListmonkResource {
// ... omitted for brevity
withReference(database: PostgresDatabaseResource): ListmonkResource;
}

Signature

methodwithReferencebuilder
References a `PostgresDatabaseResource` as the PostgreSQL database for the listmonk resource.
withReference(database: PostgresDatabaseResource): ListmonkResource
databasePostgresDatabaseResourceThe PostgreSQL database resource builder.
ListmonkResource

Applies to

This method applies to the following types: