Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithLogVolume

Method
📦 CommunityToolkit.Aspire.Hosting.RavenDB v13.6.1
func (RavenDBServerResource) WithLogVolume(options ...*WithLogVolumeOptions) RavenDBServerResource

Signature

methodWithLogVolumebuilder
Adds a named volume for the logs folder to a RavenDB container resource.
WithLogVolume(options ...*WithLogVolumeOptions) RavenDBServerResource
options...*WithLogVolumeOptionsOptional settings, described under Options.

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

Name*stringOptional name for the volume. Defaults to a generated name if not provided.
IsReadOnly*boolIndicates whether the volume should be read-only. Defaults to false.
RavenDBServerResource

The IResourceBuilder for the RavenDB server resource.

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

Applies to

This method applies to the following types: