withVolume
Method
interface ProjectResource { // ... omitted for brevity withVolume( target: string, name: string, env: string, isReadOnly?: boolean): ProjectResource;}Signature
method
withVolume builderAdds a volume to a project resource.
withVolume( target: string, name: string, env: string, isReadOnly?: boolean): ProjectResourceParameters
targetstringnamestringenvstringisReadOnly booleanoptional= FalseReturns
ProjectResource Applies to
This method applies to the following types: