LogtoResource.WithDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.6.1
type LogtoResource interface {
// ... omitted for brevity
WithDataVolume(options ...*WithDataVolumeOptions) LogtoResource
}

Signature

methodWithDataVolumebuilder
Configures the Logto resource with a data volume, allowing persistent storage.
WithDataVolume(options ...*WithDataVolumeOptions) LogtoResource
options...*WithDataVolumeOptionsOptional settings, described under Options.

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

Name*stringThe optional name of the data volume. If not provided, a default name is generated.
LogtoResource

The resource builder configured with the specified data volume.

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

Defined on

This method is defined on the following type: