Skip to content
DocsTry Aspire
DocsTry

ContainerMountAnnotation Properties

ClassProperties4 members
Represents a mount annotation for a container resource.
Gets a value indicating whether the volume mount is read-only.
public bool IsReadOnly { get; }
SourceSection titled Sourcenullablestring?
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; }