PostaResource.withDataVolume

Method
📦 CommunityToolkit.Aspire.Hosting.Posta v13.6.1
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
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
isReadOnlybooleanoptional= FalseIndicates whether the volume should be read-only.
PostaResource

Defined on

This method is defined on the following type: