ContainerResource.withVolume
Method
interface ContainerResource { // ... omitted for brevity withVolume( target: string, name?: string, isReadOnly?: boolean): ContainerResource;}Signature
method
withVolumebuilderAdds a volume to a container resource.
withVolume( target: string, name?: string, isReadOnly?: boolean): ContainerResourceParameters
targetstringnamestringoptionalisReadOnlybooleanoptional= FalseReturns
ContainerResourceDefined on
This method is defined on the following type: