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
ContainerResourceApplies to
This method applies to the following types: