withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.ActiveMQ v13.6.1
interface ActiveMQServerResourceBase {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): ActiveMQServerResourceBase;
}

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to a ActiveMQ container resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): ActiveMQServerResourceBase
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
isReadOnlybooleanoptional= FalseA flag that indicates if this is a read-only volume.
ActiveMQServerResourceBase

Applies to

This method applies to the following types: