Skip to content
Docs Try Aspire

withDataVolume

Function
📦 Aspire.Hosting.RabbitMQ v13.2.0-preview.1.26159.1
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 function is an extension method on the following types: