VolumeSnapshot Constructors
RecordConstructors1 member
A snapshot of a volume, mounted to a container.
Constructor(string?, string, string, bool)Section titled Constructor(string?, string, string, bool) A snapshot of a volume, mounted to a container.
public record VolumeSnapshot{ public VolumeSnapshot( string? Source, string Target, string MountType, bool IsReadOnly) { // ... }}Parameters
Sourcestring?The name of the volume. Can be null if the mount is an anonymous volume.TargetstringThe target of the mount.MountTypestringGets the mount type, such as VolumeMountType.Bind or VolumeMountType.VolumeIsReadOnlyboolWhether the volume mount is read-only or not.