addListmonk
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addListmonk( name: string, port?: number): ListmonkResource;}Signature
method
addListmonk builderAdds a listmonk container resource to the application model. The default image is and the tag is .
addListmonk( name: string, port?: number): ListmonkResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.portnumberoptionalThe host port for the listmonk HTTP endpoint. If `null`, Aspire will assign a random host port.Returns
ListmonkResource Applies to
This method applies to the following types: