withDataVolume
Method
interface PostaResource { // ... omitted for brevity withDataVolume( name?: string, isReadOnly?: boolean): PostaResource;}Signature
method
withDataVolume builderAdds a named volume for Posta's filesystem-backed attachment data.
withDataVolume( name?: string, isReadOnly?: boolean): PostaResourceParameters
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.isReadOnly booleanoptional= FalseIndicates whether the volume should be read-only.Returns
PostaResource Applies to
This method applies to the following types: