Skip to content
Docs Try Aspire
Docs Try

withDataVolume

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

Signature

method withDataVolume builder
Adds a named volume for the data folder to a ActiveMQ container resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): ActiveMQServerResourceBase
name string optional
isReadOnly boolean optional = False
ActiveMQServerResourceBase

Applies to

This method applies to the following types: