VolumeSnapshot
Record sealed net10.0
A snapshot of a volume, mounted to a container.
namespace Aspire.Hosting.ApplicationModel;
public sealed record VolumeSnapshot : System.IEquatable<Aspire.Hosting.ApplicationModel.VolumeSnapshot>{ // ...} IEquatable<VolumeSnapshot>
13 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesIsReadOnlyget; initboolWhether the volume mount is read-only or not.
MountTypeget; initstringGets the mount type, such as
VolumeMountType.Bind or VolumeMountType.VolumeSourceget; initstring?The name of the volume. Can be
null if the mount is an anonymous volume.Targetget; initstringThe target of the mount.
Methods8
Section titled Methods<Clone>$Deconstruct(string?, string, string, bool)Equals(object?)boolDetermines whether the specified object is equal to the current object.
Equals(VolumeSnapshot?)boolIndicates whether the current object is equal to another object of the same type.
GetHashCodeintServes as the default hash function.
op_Equality(VolumeSnapshot?, VolumeSnapshot?)staticboolop_Inequality(VolumeSnapshot?, VolumeSnapshot?)staticboolToStringstringReturns a string that represents the current object.