Skip to content
Docs Try Aspire

ContainerMountAnnotation Properties

Class Properties 4 members
Represents a mount annotation for a container resource.
Gets a value indicating whether the volume mount is read-only.
public bool IsReadOnly { get; }
Source Section titled Source nullable string?
Gets the source of the bind mount or name if a volume. Can be null if the mount is an anonymous volume.
public string? Source { get; }
Gets the target of the mount.
public string Target { get; }
Gets the type of the mount.
public ContainerMountType Type { get; }