Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithUploadsVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
func (ListmonkResource) 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().

Applies to

This method applies to the following types: