共用方式為


VolumeSnapshot Class

Definition

A snapshot of a volume, mounted to a container.

public sealed class VolumeSnapshot : IEquatable<Aspire.Hosting.ApplicationModel.VolumeSnapshot>
type VolumeSnapshot = class
    interface IEquatable<VolumeSnapshot>
Public NotInheritable Class VolumeSnapshot
Implements IEquatable(Of VolumeSnapshot)
Inheritance
VolumeSnapshot
Implements

Constructors

VolumeSnapshot(String, String, String, Boolean)

A snapshot of a volume, mounted to a container.

Properties

IsReadOnly

Whether the volume mount is read-only or not.

MountType

Gets the mount type, such as Aspire.Hosting.Dcp.Model.VolumeMountType.Bind or Aspire.Hosting.Dcp.Model.VolumeMountType.Volume

Source

The name of the volume. Can be null if the mount is an anonymous volume.

Target

The target of the mount.

Methods

<Clone>$()
Deconstruct(String, String, String, Boolean)
Equals(Object)
Equals(VolumeSnapshot)
GetHashCode()
ToString()

Operators

Equality(VolumeSnapshot, VolumeSnapshot)
Inequality(VolumeSnapshot, VolumeSnapshot)

Applies to