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