Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ListmonkResource.WithUploadsVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
type ListmonkResource interface {
// ... omitted for brevity
WithUploadsVolume(options ...*WithUploadsVolumeOptions) ListmonkResource
}

Signature

methodWithUploadsVolumebuilder
Adds a named volume for listmonk media uploads.
WithUploadsVolume(options ...*WithUploadsVolumeOptions) ListmonkResource
options...*WithUploadsVolumeOptionsOptional settings, described under Options.

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

Name*stringThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
ListmonkResource

The IResourceBuilder.

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

Defined on

This method is defined on the following type: