# CommunityToolkit.Aspire.Hosting.Listmonk

- Module: `CommunityToolkit.Aspire.Hosting.Listmonk`
- Version: `13.6.1`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)
- Functions: `16`
- Types: `2`

## Handles

- [ListmonkResource](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/listmonkresource.md) -- `handle` - 20 members -- A resource that represents a listmonk instance.
- [PostgresDatabaseResource](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/postgresdatabaseresource.md) -- `handle` - 0 members

## Functions

- [AddListmonk](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/addlistmonk.md) -- `method` - on `DistributedApplicationBuilder` -- Adds a listmonk container resource to the application model. The default image is and the tag is .
- [WithAdminCredentials](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withadmincredentials.md) -- `method` - on `ListmonkResource` -- Configures the first-run listmonk Super Admin credentials.
- [WithAdminPassword](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withadminpassword.md) -- `method` - on `ListmonkResource` -- Configures the first-run listmonk Super Admin password.
- [WithAdminUser](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withadminuser.md) -- `method` - on `ListmonkResource` -- Configures the first-run listmonk Super Admin username.
- [WithAppAddress](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withappaddress.md) -- `method` - on `ListmonkResource` -- Configures the listmonk web server address.
- [WithDatabaseMaxIdleConnections](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withdatabasemaxidleconnections.md) -- `method` - on `ListmonkResource` -- Configures the maximum number of idle PostgreSQL connections.
- [WithDatabaseMaxLifetime](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withdatabasemaxlifetime.md) -- `method` - on `ListmonkResource` -- Configures the maximum lifetime for PostgreSQL connections.
- [WithDatabaseMaxOpenConnections](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withdatabasemaxopenconnections.md) -- `method` - on `ListmonkResource` -- Configures the maximum number of open PostgreSQL connections.
- [WithDatabaseParameters](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withdatabaseparameters.md) -- `method` - on `ListmonkResource` -- Configures additional PostgreSQL DSN parameters.
- [WithDatabaseSslMode](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withdatabasesslmode.md) -- `method` - on `ListmonkResource` -- Configures the PostgreSQL SSL mode used by listmonk.
- [WithGroupId](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withgroupid.md) -- `method` - on `ListmonkResource` -- Configures the group ID used by the listmonk container entrypoint.
- [WithReference](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withreference.md) -- `method` - on `ListmonkResource` -- References a `PostgresDatabaseResource` as the PostgreSQL database for the listmonk resource.
- [WithTimeZone](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withtimezone.md) -- `method` - on `ListmonkResource` -- Configures the time zone used by the listmonk container.
- [WithUploadsBindMount](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withuploadsbindmount.md) -- `method` - on `ListmonkResource` -- Adds a bind mount for listmonk media uploads.
- [WithUploadsVolume](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withuploadsvolume.md) -- `method` - on `ListmonkResource` -- Adds a named volume for listmonk media uploads.
- [WithUserId](/reference/api/go/communitytoolkit.aspire.hosting.listmonk/withuserid.md) -- `method` - on `ListmonkResource` -- Configures the user ID used by the listmonk container entrypoint.
