VolumeSnapshot Constructors
Record Constructors 1 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
Source string? The name of the volume. Can be null if the mount is an anonymous volume. Target string The target of the mount. MountType string Gets the mount type, such as VolumeMountType.Bind or VolumeMountType.Volume IsReadOnly bool Whether the volume mount is read-only or not.