Skip to content
DocsTry Aspire
DocsTry

withDataVolume

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

Signature

methodwithDataVolumebuilder
Adds a named volume for Posta's filesystem-backed attachment data.
withDataVolume(
name?: string,
isReadOnly?: boolean): PostaResource
namestringoptional
isReadOnlybooleanoptional= False
PostaResource

Applies to

This method applies to the following types: