Skip to content
Docs Try Aspire
Docs Try

ContainerMountAnnotation

Handle
📦 Aspire.Hosting v13.4.0
interface ContainerMountAnnotation extends IResourceAnnotation {
readonly isReadOnly: boolean;
readonly source: string;
readonly target: string;
readonly type: ContainerMountType;
}

Properties

property isReadOnly boolean get
Gets a value indicating whether the volume mount is read-only.
property source string get
Gets the source of the bind mount or name if a volume. Can be `null` if the mount is an anonymous volume.
property target string get
Gets the target of the mount.
property type ContainerMountType get
Gets the type of the mount.