Skip to content
Docs Try Aspire
Docs Try

withDataVolume

Method
📦 Aspire.Hosting.RabbitMQ v13.3.0
interface RabbitMQServerResource {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): RabbitMQServerResource;
}

Signature

method withDataVolume builder
Adds a data volume to the RabbitMQ container
withDataVolume(
name?: string,
isReadOnly?: boolean): RabbitMQServerResource
name string optional
isReadOnly boolean optional = False
RabbitMQServerResource

Applies to

This method applies to the following types: