Skip to content
DocsTry Aspire
DocsTry

PostaResource.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

Defined on

This method is defined on the following type: