Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddListmonk

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
func (DistributedApplicationBuilder) AddListmonk(
name string,
options ...*AddListmonkOptions,
) ListmonkResource

Signature

methodAddListmonkbuilder
Adds a listmonk container resource to the application model. The default image is and the tag is .
AddListmonk(
name string,
options ...*AddListmonkOptions,
) ListmonkResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddListmonkOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddListmonkOptions argument.

Port*float64The host port for the listmonk HTTP endpoint. If null, Aspire will assign a random host port.
ListmonkResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder