withDataVolume
Method
interface FlociAzureContainerResource { // ... omitted for brevity withDataVolume( name: string, isReadOnly?: boolean): FlociAzureContainerResource;}Signature
method
withDataVolume builderConfigures a named data volume for persistent Floci Azure state.
withDataVolume( name: string, isReadOnly?: boolean): FlociAzureContainerResourceParameters
namestringThe name of the volume to mount.isReadOnly booleanoptional= FalseWhether the volume should be read-only.Returns
FlociAzureContainerResource Applies to
This method applies to the following types: