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